19 |
#include "pgspinnerbox.h" |
#include "pgspinnerbox.h" |
20 |
#include "pglog.h" |
#include "pglog.h" |
21 |
#include "pgmenubar.h" |
#include "pgmenubar.h" |
22 |
|
#include "pgtheme.h" |
23 |
|
|
24 |
#define RESX 800 |
#define RESX 800 |
25 |
#define RESY 600 |
#define RESY 600 |
26 |
|
|
27 |
PARAGUI_CALLBACK(handle_exit) { |
bool handle_exit(PG_Pointer clientdata) { |
28 |
PG_Application* app = (PG_Application*)clientdata; |
PG_Application* app = (PG_Application*)clientdata; |
29 |
app->Quit(); |
app->Quit(); |
30 |
return true; |
return true; |
101 |
container.Show(); |
container.Show(); |
102 |
|
|
103 |
PG_LogMSG("app ready after %i ms", SDL_GetTicks() - start_ticks); |
PG_LogMSG("app ready after %i ms", SDL_GetTicks() - start_ticks); |
104 |
app.ShowCursor(PG_CURSOR_SOFTWARE); |
app.ShowCursor(PG_Application::SOFTWARE); |
105 |
|
|
106 |
// Enter main loop |
// Enter main loop |
107 |
app.Run(); |
app.Run(); |