diff options
Diffstat (limited to 'include/cru/ui')
-rw-r--r-- | include/cru/ui/ThemeResourceDictionary.h | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/Control.h | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/TextHostControlService.h | 2 | ||||
-rw-r--r-- | include/cru/ui/helper/ClickDetector.h | 2 | ||||
-rw-r--r-- | include/cru/ui/helper/ShortcutHub.h | 2 | ||||
-rw-r--r-- | include/cru/ui/host/WindowHost.h | 2 | ||||
-rw-r--r-- | include/cru/ui/mapper/style/StyleRuleMapper.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/BorderRenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/FlexLayoutRenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/RenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/SingleChildRenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/StackLayoutRenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/TextRenderObject.h | 2 | ||||
-rw-r--r-- | include/cru/ui/render/TreeRenderObject.h | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/include/cru/ui/ThemeResourceDictionary.h b/include/cru/ui/ThemeResourceDictionary.h index c3fcfde2..2ddb4a90 100644 --- a/include/cru/ui/ThemeResourceDictionary.h +++ b/include/cru/ui/ThemeResourceDictionary.h @@ -24,7 +24,7 @@ class CRU_UI_API BadThemeResourceException : public Exception { }; class CRU_UI_API ThemeResourceDictionary : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"ThemeResources"); + CRU_DEFINE_CLASS_LOG_TAG("ThemeResources"); public: static std::unique_ptr<ThemeResourceDictionary> FromFile( diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h index 790f4a3a..f6603bbc 100644 --- a/include/cru/ui/controls/Control.h +++ b/include/cru/ui/controls/Control.h @@ -23,7 +23,7 @@ class CRU_UI_API Control : public Object, public DeleteLaterImpl { friend class RootControl; - CRU_DEFINE_CLASS_LOG_TAG(u"Control") + CRU_DEFINE_CLASS_LOG_TAG("Control") protected: Control(); diff --git a/include/cru/ui/controls/TextHostControlService.h b/include/cru/ui/controls/TextHostControlService.h index 7efd7760..95f7a067 100644 --- a/include/cru/ui/controls/TextHostControlService.h +++ b/include/cru/ui/controls/TextHostControlService.h @@ -77,7 +77,7 @@ class TextControlMovePattern : public Object { }; class CRU_UI_API TextHostControlService : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"TextControlService") + CRU_DEFINE_CLASS_LOG_TAG("TextControlService") public: TextHostControlService(Control* control); diff --git a/include/cru/ui/helper/ClickDetector.h b/include/cru/ui/helper/ClickDetector.h index 5e30d9c3..ec63b92a 100644 --- a/include/cru/ui/helper/ClickDetector.h +++ b/include/cru/ui/helper/ClickDetector.h @@ -41,7 +41,7 @@ enum class ClickState { }; class ClickDetector : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"ClickDetector") + CRU_DEFINE_CLASS_LOG_TAG("ClickDetector") public: explicit ClickDetector(controls::Control* control); diff --git a/include/cru/ui/helper/ShortcutHub.h b/include/cru/ui/helper/ShortcutHub.h index 341e76da..19d8c8c9 100644 --- a/include/cru/ui/helper/ShortcutHub.h +++ b/include/cru/ui/helper/ShortcutHub.h @@ -94,7 +94,7 @@ struct ShortcutInfo { }; class CRU_UI_API ShortcutHub : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"ShortcutHub") + CRU_DEFINE_CLASS_LOG_TAG("ShortcutHub") public: ShortcutHub() = default; diff --git a/include/cru/ui/host/WindowHost.h b/include/cru/ui/host/WindowHost.h index 23229036..e2391125 100644 --- a/include/cru/ui/host/WindowHost.h +++ b/include/cru/ui/host/WindowHost.h @@ -19,7 +19,7 @@ struct AfterLayoutEventArgs {}; // The bridge between control tree and native window. class CRU_UI_API WindowHost : public Object, public SelfResolvable<WindowHost> { friend controls::Control; - CRU_DEFINE_CLASS_LOG_TAG(u"WindowHost") + CRU_DEFINE_CLASS_LOG_TAG("WindowHost") private: static int event_handling_depth_; diff --git a/include/cru/ui/mapper/style/StyleRuleMapper.h b/include/cru/ui/mapper/style/StyleRuleMapper.h index 7430274c..12fcb85b 100644 --- a/include/cru/ui/mapper/style/StyleRuleMapper.h +++ b/include/cru/ui/mapper/style/StyleRuleMapper.h @@ -7,7 +7,7 @@ namespace cru::ui::mapper::style { class CRU_UI_API StyleRuleMapper : public BasicClonablePtrMapper<ui::style::StyleRule> { - CRU_DEFINE_CLASS_LOG_TAG(u"StyleRuleMapper") + CRU_DEFINE_CLASS_LOG_TAG("StyleRuleMapper") public: CRU_DEFAULT_CONSTRUCTOR_DESTRUCTOR(StyleRuleMapper) diff --git a/include/cru/ui/render/BorderRenderObject.h b/include/cru/ui/render/BorderRenderObject.h index 9f3cff4a..7bfa4290 100644 --- a/include/cru/ui/render/BorderRenderObject.h +++ b/include/cru/ui/render/BorderRenderObject.h @@ -6,7 +6,7 @@ namespace cru::ui::render { class CRU_UI_API BorderRenderObject : public SingleChildRenderObject { - CRU_DEFINE_CLASS_LOG_TAG(u"BorderRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("BorderRenderObject") public: BorderRenderObject(); diff --git a/include/cru/ui/render/FlexLayoutRenderObject.h b/include/cru/ui/render/FlexLayoutRenderObject.h index 4effacb1..6c65ace3 100644 --- a/include/cru/ui/render/FlexLayoutRenderObject.h +++ b/include/cru/ui/render/FlexLayoutRenderObject.h @@ -93,7 +93,7 @@ struct FlexChildLayoutData { // class CRU_UI_API FlexLayoutRenderObject : public LayoutRenderObject<FlexChildLayoutData> { - CRU_DEFINE_CLASS_LOG_TAG(u"FlexLayoutRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("FlexLayoutRenderObject") public: FlexLayoutRenderObject() = default; diff --git a/include/cru/ui/render/RenderObject.h b/include/cru/ui/render/RenderObject.h index 7ab62446..80fa2e10 100644 --- a/include/cru/ui/render/RenderObject.h +++ b/include/cru/ui/render/RenderObject.h @@ -59,7 +59,7 @@ struct BoxConstraint { * content_rect) override; */ class CRU_UI_API RenderObject : public Object { - CRU_DEFINE_CLASS_LOG_TAG(u"RenderObject") + CRU_DEFINE_CLASS_LOG_TAG("RenderObject") protected: RenderObject() = default; diff --git a/include/cru/ui/render/SingleChildRenderObject.h b/include/cru/ui/render/SingleChildRenderObject.h index a98465f0..85442eda 100644 --- a/include/cru/ui/render/SingleChildRenderObject.h +++ b/include/cru/ui/render/SingleChildRenderObject.h @@ -3,7 +3,7 @@ namespace cru::ui::render { class CRU_UI_API SingleChildRenderObject : public RenderObject { - CRU_DEFINE_CLASS_LOG_TAG(u"SingleChildRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("SingleChildRenderObject") public: SingleChildRenderObject() = default; diff --git a/include/cru/ui/render/StackLayoutRenderObject.h b/include/cru/ui/render/StackLayoutRenderObject.h index 4da63ea2..515e8f43 100644 --- a/include/cru/ui/render/StackLayoutRenderObject.h +++ b/include/cru/ui/render/StackLayoutRenderObject.h @@ -28,7 +28,7 @@ struct StackChildLayoutData { // to min size. class CRU_UI_API StackLayoutRenderObject : public LayoutRenderObject<StackChildLayoutData> { - CRU_DEFINE_CLASS_LOG_TAG(u"StackLayoutRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("StackLayoutRenderObject") public: StackLayoutRenderObject() = default; diff --git a/include/cru/ui/render/TextRenderObject.h b/include/cru/ui/render/TextRenderObject.h index 0cb3623d..72958f6f 100644 --- a/include/cru/ui/render/TextRenderObject.h +++ b/include/cru/ui/render/TextRenderObject.h @@ -19,7 +19,7 @@ namespace cru::ui::render { // If the result layout box is bigger than actual text box, then text is center // aligned. class CRU_UI_API TextRenderObject : public RenderObject { - CRU_DEFINE_CLASS_LOG_TAG(u"TextRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("TextRenderObject") public: constexpr static float default_caret_width = 2; diff --git a/include/cru/ui/render/TreeRenderObject.h b/include/cru/ui/render/TreeRenderObject.h index 8c589d7a..ef40f4d0 100644 --- a/include/cru/ui/render/TreeRenderObject.h +++ b/include/cru/ui/render/TreeRenderObject.h @@ -49,7 +49,7 @@ class CRU_UI_API TreeRenderObjectItem : public Object { }; class CRU_UI_API TreeRenderObject : public RenderObject { - CRU_DEFINE_CLASS_LOG_TAG(u"TreeRenderObject") + CRU_DEFINE_CLASS_LOG_TAG("TreeRenderObject") public: TreeRenderObject(); |