My Project
|
Main interface class. Provides access to create/remove/update elements. More...
#include "interface/interface.h"
Public Member Functions | |
BaseInterface () | |
~BaseInterface () | |
Button * | button (int ID) |
Combobox * | combobox (int ID) |
Editfield * | editfield (int ID) |
void | remove (int ID) |
Main interface class. Provides access to create/remove/update elements.
Contains list of all interface elemets.
Example of creating and removing button with ID = 1111:
Definition at line 138 of file interface.h.
BaseInterface::BaseInterface | ( | ) |
Empty constructor. No action.
Definition at line 24 of file interface.cpp.
BaseInterface::~BaseInterface | ( | ) |
Destructor. Removes all interface items and dealocates memory. (Cleans interfaceCtrlsList)
Definition at line 29 of file interface.cpp.
Button * BaseInterface::button | ( | int | ID | ) |
Provides access to button with unique ID
[in] | ID | unique ID of button |
Definition at line 39 of file interface.cpp.
Combobox * BaseInterface::combobox | ( | int | ID | ) |
Provides access to combobox with unique ID
[in] | ID | unique ID of combobox |
Definition at line 56 of file interface.cpp.
Editfield * BaseInterface::editfield | ( | int | ID | ) |
Provides access to editfield with unique ID
[in] | ID | unique ID of editfield |
Definition at line 73 of file interface.cpp.
void BaseInterface::remove | ( | int | ID | ) |
Will destroy item with requested ID and free memory
Definition at line 90 of file interface.cpp.