2 #ifndef _LGI_APPLICATION_ 3 #define _LGI_APPLICATION_
bool quit_request
Definition: application.hpp:26
Application(std::string name)
Definition: window.hpp:145
static Application * Get()
#define LGI_DISPATCH_EVENTS_FULL
Definition: window.hpp:16
Definition: application.hpp:9
std::vector< BaseWindow * > windows
Definition: application.hpp:25
virtual void OnMessage(BaseWindow *window, Layer *layer, Widget *widget, MessageEvent *event)
void Run(int mode=LGI_DISPATCH_EVENTS_FULL)
static void Set(Application *app)
std::string name
Definition: application.hpp:24
Definition: application.hpp:15
Definition: events.hpp:238
void AddWindow(BaseWindow *window)
virtual int CustomEventsDispatch()
static Application * instance
Definition: application.hpp:23