#include <omgui/dllimpexp.h>
#include <omgui/api-prototypes.h>
Go to the source code of this file.
Namespaces | |
| namespace | omgui |
| namespace | omgui::factory |
Defines | |
| #define | DECLARE_WIDGET_FACTORY(type) omgui::api::type *create_widget_implementation(omgui::type *wrapper); |
| Implementation widget factory function prototype. | |
| #define | IMPLEMENT_WIDGET_FACTORY(type, port) |
| Helper macro for implementing widget factory functions. | |
Functions | |
| int | omgui::factory::get_unique_object_id () |
| #define DECLARE_WIDGET_FACTORY | ( | type | ) | omgui::api::type *create_widget_implementation(omgui::type *wrapper); |
Implementation widget factory function prototype.
This template is left undefined in this header. Implementations are responsible for defining implementations for each overload.
| #define IMPLEMENT_WIDGET_FACTORY | ( | type, | |||
| port | ) |
Value:
namespace omgui { \ namespace factory { \ omgui::api::type *create_widget_implementation(omgui::type * wrapper) \ { return new omgui::port::type(wrapper); } \ } \ }
| type | Name of the api widget class that will be constructed. "Button" | |
| port | Port implementing this factory. "win32" |