Go to the source code of this file.
Macros | |
#define | REGISTER_WIDGET3(type, id, key) |
Registers a widget. More... | |
#define | REGISTER_WIDGET(id) REGISTER_WIDGET3(t##id##_definition, id, _4) |
Wrapper for REGISTER_WIDGET3. More... | |
#define REGISTER_WIDGET | ( | id | ) | REGISTER_WIDGET3(t##id##_definition, id, _4) |
Wrapper for REGISTER_WIDGET3.
"Calls" REGISTER_WIDGET3(tid_definition, id, _4)
Definition at line 68 of file register_widget.hpp.
Registers a widget.
Call this function to register a widget. Use this macro in the implementation, inside the gui2 namespace.
See gui2::load_widget_definitions for more information.
type | Class type of the window to register. |
id | Id of the widget |
key | The id to load if differs from id. |
Definition at line 33 of file register_widget.hpp.