1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Add comments

This commit is contained in:
Ivan Savenko 2024-08-09 15:37:31 +00:00
parent 9fba3d97f1
commit 4ff2894cf2

View File

@ -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)