2 |
#include <pgbutton.h> |
#include <pgbutton.h> |
3 |
#include <pgwidgetlist.h> |
#include <pgwidgetlist.h> |
4 |
#include <pglabel.h> |
#include <pglabel.h> |
5 |
|
#include <iostream> |
6 |
|
|
7 |
bool exit_handler(PG_Pointer clientdata) { |
bool exit_handler(PG_Pointer clientdata) { |
8 |
PG_Application* app = (PG_Application*) clientdata; |
PG_Application* app = (PG_Application*) clientdata; |
48 |
myButton.Show(); |
myButton.Show(); |
49 |
|
|
50 |
PG_WidgetList list(NULL,PG_Rect(10,10,150,150)); |
PG_WidgetList list(NULL,PG_Rect(10,10,150,150)); |
51 |
list.EnableScrollBar(true, PG_SB_VERTICAL); |
list.EnableScrollBar(true, PG_ScrollBar::VERTICAL); |
52 |
list.SetTransparency(0); |
list.SetTransparency(0); |
53 |
list.Show(); |
list.Show(); |
54 |
|
|