#include "gui/core/static_registry.hpp"Go to the source code of this file.
Macros | |
| #define | REGISTER_WIDGET3(type, id, key) |
| Registers a widget. More... | |
| #define | REGISTER_WIDGET(id) |
| Wrapper for REGISTER_WIDGET3. More... | |
| #define REGISTER_WIDGET | ( | id | ) |
Wrapper for REGISTER_WIDGET3.
"Calls" REGISTER_WIDGET3(id_definition, id, nullptr)
Definition at line 61 of file register_widget.hpp.
| #define REGISTER_WIDGET3 | ( | type, | |
| id, | |||
| key | |||
| ) |
Registers a widget.
Call this function to register a widget. Use this macro in the implementation, inside the gui2 namespace.
See gui2::register_widget 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 35 of file register_widget.hpp.