aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-12-05 20:33:50 +0800
committerYuqian Yang <crupest@crupest.life>2025-12-05 20:33:50 +0800
commit5edaa008efabb1b97446bed2f6b542cf01eb3c70 (patch)
tree96472d1b554634b0bafdd4d8d7ce22321a0e179d /include/cru/ui/controls
parent8dcca49f42627400773dcc707ebaa757cbeef37b (diff)
downloadcru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.tar.gz
cru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.tar.bz2
cru-5edaa008efabb1b97446bed2f6b542cf01eb3c70.zip
Remove CRU_DEFINE_CLASS_LOG_TAG.
Diffstat (limited to 'include/cru/ui/controls')
-rw-r--r--include/cru/ui/controls/Control.h3
-rw-r--r--include/cru/ui/controls/ControlHost.h3
-rw-r--r--include/cru/ui/controls/TextHostControlService.h3
-rw-r--r--include/cru/ui/controls/Window.h3
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: