diff options
Diffstat (limited to 'include/cru/ui/controls')
| -rw-r--r-- | include/cru/ui/controls/Control.h | 3 | ||||
| -rw-r--r-- | include/cru/ui/controls/ControlHost.h | 3 | ||||
| -rw-r--r-- | include/cru/ui/controls/TextHostControlService.h | 3 | ||||
| -rw-r--r-- | include/cru/ui/controls/Window.h | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h index c82956b5..8cd7a375 100644 --- a/include/cru/ui/controls/Control.h +++ b/include/cru/ui/controls/Control.h @@ -23,7 +23,8 @@ class CRU_UI_API Control : public Object, public SelfResolvable<Control> { friend class ControlHost; - CRU_DEFINE_CLASS_LOG_TAG("cru::ui::controls::Control") + private: + constexpr static auto kLogTag = "cru::ui::controls::Control"; protected: explicit Control(std::string name); diff --git a/include/cru/ui/controls/ControlHost.h b/include/cru/ui/controls/ControlHost.h index fffbbb34..5e8d678b 100644 --- a/include/cru/ui/controls/ControlHost.h +++ b/include/cru/ui/controls/ControlHost.h @@ -10,7 +10,8 @@ namespace cru::ui::controls { class CRU_UI_API ControlHost : public Object { - CRU_DEFINE_CLASS_LOG_TAG("cru::ui::controls::ControlHost") + private: + constexpr static auto kLogTag = "cru::ui::controls::ControlHost"; friend Control; public: diff --git a/include/cru/ui/controls/TextHostControlService.h b/include/cru/ui/controls/TextHostControlService.h index 1430a215..14910b57 100644 --- a/include/cru/ui/controls/TextHostControlService.h +++ b/include/cru/ui/controls/TextHostControlService.h @@ -70,7 +70,8 @@ class TextControlMovePattern { }; class CRU_UI_API TextHostControlService : public Object { - CRU_DEFINE_CLASS_LOG_TAG("cru::ui::controls::TextControlService") + private: + constexpr static auto kLogTag = "cru::ui::controls::TextControlService"; public: TextHostControlService(Control* control); diff --git a/include/cru/ui/controls/Window.h b/include/cru/ui/controls/Window.h index 2c650c41..131d68a8 100644 --- a/include/cru/ui/controls/Window.h +++ b/include/cru/ui/controls/Window.h @@ -15,7 +15,8 @@ namespace cru::ui::controls { class CRU_UI_API Window : public LayoutControl<render::StackLayoutRenderObject> { - CRU_DEFINE_CLASS_LOG_TAG("cru::ui::controls::Window") + private: + constexpr static auto kLogTag = "cru::ui::controls::Window"; friend Control; public: |
