#include <application.h>
Public Member Functions | |
Application () | |
Protected Member Functions | |
virtual void | run () |
Applications are the central point of mxgui level 2, this part of the library allows multiple applications to run concurrently and share the same display. Applications are classes that derive from Application and override the run() member function.
mxgui::Application::Application | ( | ) |
Constructor
virtual void mxgui::Application::run | ( | ) | [protected, virtual] |
Applications that do not override this member function will get the default event loop that will call the callbacks registered during the Application's constructor. Appications that override this member function should implement a message loop themselves. Also, within tht message loop unused events should be passed to dispatchEvent(), or event callbacks won't be fired.