Public Member Functions | |
UI_manager () | |
Constructor - creates new object. | |
virtual | ~UI_manager () |
Destructor. | |
virtual void | update_UI () |
Update user interface. | |
void | add (UI_updater *updater) |
Add updater to this container, if it't not yet contained. | |
void | remove (UI_updater *updater) |
Remove updater from this container. | |
void | clear () |
Remove all contained UI_updaters. |
wxPg::UI_manager::UI_manager | ( | ) |
Constructor - creates new object.
virtual wxPg::UI_manager::~UI_manager | ( | ) | [virtual] |
Destructor.
virtual void wxPg::UI_manager::update_UI | ( | ) | [virtual] |
Update user interface.
Calls update_UI() for all contained UI_updaters.
Implements wxPg::UI_updater.
void wxPg::UI_manager::add | ( | UI_updater * | updater | ) |
Add updater to this container, if it't not yet contained.
It's safe to call this method multiple times with same argument - same UI_updater only once will be added.
updater | - an UI_updater to add. |
void wxPg::UI_manager::remove | ( | UI_updater * | updater | ) |
Remove updater from this container.
Nothing happens, if updater is not contained by this container.
updater | - an UI_updater to remove. |
void wxPg::UI_manager::clear | ( | ) |
Remove all contained UI_updaters.