7 |
#include "pgbutton.h" |
#include "pgbutton.h" |
8 |
#include "pglabel.h" |
#include "pglabel.h" |
9 |
#include "pgcheckbutton.h" |
#include "pgcheckbutton.h" |
10 |
|
#include "pgtheme.h" |
11 |
|
|
12 |
#include <ctime> |
#include <ctime> |
13 |
|
|
187 |
|
|
188 |
app.LoadLayout("dblbuffer.xml"); |
app.LoadLayout("dblbuffer.xml"); |
189 |
app.SetCursor(app.GetTheme()->FindSurface("Pointer", "Pointer", "normal")); |
app.SetCursor(app.GetTheme()->FindSurface("Pointer", "Pointer", "normal")); |
190 |
app.ShowCursor(PG_CURSOR_SOFTWARE); |
app.ShowCursor(PG_Application::SOFTWARE); |
191 |
// get a pointer to the "quit" button |
// get a pointer to the "quit" button |
192 |
PG_Button* btn = static_cast<PG_Button*>(app.GetWidgetByName("quit")); |
PG_Button* btn = static_cast<PG_Button*>(app.GetWidgetByName("quit")); |
193 |
btn->sigClick.connect(slot(handle_quit)); |
btn->sigClick.connect(slot(handle_quit)); |