From 4ff2894cf2b8d89ab938be082d9cd491a3294417 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Fri, 9 Aug 2024 15:37:31 +0000 Subject: [PATCH] Add comments --- client/gui/CIntObject.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/gui/CIntObject.h b/client/gui/CIntObject.h index 59db2b597..fe4907b74 100644 --- a/client/gui/CIntObject.h +++ b/client/gui/CIntObject.h @@ -220,5 +220,8 @@ public: ~ObjectConstruction(); }; +/// If used, all UI widgets created inside this scope will be added to children of 'this' #define OBJECT_CONSTRUCTION ObjectConstruction obj__i(this) + +/// If used, all UI widgets created inside this scope will be added to children of provided object #define OBJECT_CONSTRUCTION_TARGETED(obj) ObjectConstruction obj__i(obj)