Dali-Text: Keyboard Shortcuts
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / font-run.h
index a787558..8190fcd 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_TOOLKIT_TEXT_FONT_RUN_H__
-#define __DALI_TOOLKIT_TEXT_FONT_RUN_H__
+#ifndef DALI_TOOLKIT_TEXT_FONT_RUN_H
+#define DALI_TOOLKIT_TEXT_FONT_RUN_H
 
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,9 +18,6 @@
  *
  */
 
-// EXTERNAL INCLUDES
-#include <dali/devel-api/text-abstraction/font-list.h>
-
 // INTERNAL INCLUDES
 #include <dali-toolkit/internal/text/character-run.h>
 
@@ -38,10 +35,10 @@ namespace Text
  */
 struct FontRun
 {
-  CharacterRun characterRun;      ///< The initial character index and the number of characters of the run.
-  FontId       fontId;            ///< Font id of the run.
-  bool         softwareItalic:1;    ///< Whether font needs software support to draw italic style
-  bool         softwareBold:1;      ///< Whether font needs software support to draw bold style
+  CharacterRun characterRun;       ///< The initial character index and the number of characters of the run.
+  FontId       fontId;             ///< Font id of the run.
+  bool         isItalicRequired:1; ///< Whether the italic style is required.
+  bool         isBoldRequired:1;   ///< Whether the bold style is required.
 };
 
 } // namespace Text
@@ -50,4 +47,4 @@ struct FontRun
 
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_TEXT_FONT_RUN_H__
+#endif // DALI_TOOLKIT_TEXT_FONT_RUN_H