2011-02-24 09:25:20 +00:00
|
|
|
struct pFont;
|
|
|
|
struct pWindow;
|
|
|
|
struct pMenu;
|
|
|
|
struct pLayout;
|
|
|
|
struct pWidget;
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
struct pFont {
|
|
|
|
static Geometry geometry(const string &description, const string &text);
|
|
|
|
|
|
|
|
static HFONT create(const string &description);
|
|
|
|
static void free(HFONT hfont);
|
|
|
|
static Geometry geometry(HFONT hfont, const string &text);
|
|
|
|
};
|
|
|
|
|
2011-02-24 09:25:20 +00:00
|
|
|
struct pObject {
|
2011-09-05 03:48:23 +00:00
|
|
|
Object &object;
|
|
|
|
uintptr_t id;
|
2011-02-24 09:25:20 +00:00
|
|
|
bool locked;
|
|
|
|
static array<pObject*> objects;
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
pObject(Object &object);
|
2011-02-24 09:25:20 +00:00
|
|
|
static pObject* find(unsigned id);
|
2011-09-05 03:48:23 +00:00
|
|
|
virtual ~pObject() {}
|
|
|
|
|
|
|
|
void constructor() {}
|
|
|
|
void destructor() {}
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pOS : public pObject {
|
2011-02-27 09:05:10 +00:00
|
|
|
static Geometry availableGeometry();
|
|
|
|
static Geometry desktopGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
static string fileLoad(Window &parent, const string &path, const lstring &filter);
|
|
|
|
static string fileSave(Window &parent, const string &path, const lstring &filter);
|
|
|
|
static string folderSelect(Window &parent, const string &path);
|
|
|
|
static void main();
|
2011-02-27 09:05:10 +00:00
|
|
|
static bool pendingEvents();
|
|
|
|
static void processEvents();
|
2011-02-24 09:25:20 +00:00
|
|
|
static void quit();
|
|
|
|
|
|
|
|
static void initialize();
|
|
|
|
};
|
|
|
|
|
2011-06-05 03:45:04 +00:00
|
|
|
struct pTimer : public pObject {
|
|
|
|
Timer &timer;
|
|
|
|
UINT_PTR htimer;
|
|
|
|
|
|
|
|
void setEnabled(bool enabled);
|
|
|
|
void setInterval(unsigned milliseconds);
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
pTimer(Timer &timer) : pObject(timer), timer(timer) {}
|
2011-06-05 03:45:04 +00:00
|
|
|
void constructor();
|
|
|
|
};
|
|
|
|
|
2011-02-24 09:25:20 +00:00
|
|
|
struct pMessageWindow : public pObject {
|
|
|
|
static MessageWindow::Response information(Window &parent, const string &text, MessageWindow::Buttons buttons);
|
|
|
|
static MessageWindow::Response question(Window &parent, const string &text, MessageWindow::Buttons buttons);
|
|
|
|
static MessageWindow::Response warning(Window &parent, const string &text, MessageWindow::Buttons buttons);
|
|
|
|
static MessageWindow::Response critical(Window &parent, const string &text, MessageWindow::Buttons buttons);
|
|
|
|
};
|
|
|
|
|
|
|
|
struct pWindow : public pObject {
|
|
|
|
Window &window;
|
|
|
|
HWND hwnd;
|
|
|
|
HMENU hmenu;
|
|
|
|
HWND hstatus;
|
2011-09-05 03:48:23 +00:00
|
|
|
HFONT hstatusfont;
|
2011-02-24 09:25:20 +00:00
|
|
|
HBRUSH brush;
|
|
|
|
COLORREF brushColor;
|
|
|
|
|
|
|
|
void append(Layout &layout);
|
|
|
|
void append(Menu &menu);
|
|
|
|
void append(Widget &widget);
|
2011-08-06 14:03:52 +00:00
|
|
|
Color backgroundColor();
|
2011-02-24 09:25:20 +00:00
|
|
|
bool focused();
|
2011-02-27 09:05:10 +00:00
|
|
|
Geometry frameMargin();
|
2011-02-24 09:25:20 +00:00
|
|
|
Geometry geometry();
|
2011-09-05 03:48:23 +00:00
|
|
|
void remove(Layout &layout);
|
|
|
|
void remove(Menu &menu);
|
|
|
|
void remove(Widget &widget);
|
2011-08-06 14:03:52 +00:00
|
|
|
void setBackgroundColor(const Color &color);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setFocused();
|
|
|
|
void setFullScreen(bool fullScreen);
|
|
|
|
void setGeometry(const Geometry &geometry);
|
2011-09-05 03:48:23 +00:00
|
|
|
void setMenuFont(const string &font);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setMenuVisible(bool visible);
|
|
|
|
void setResizable(bool resizable);
|
2011-09-05 03:48:23 +00:00
|
|
|
void setStatusFont(const string &font);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setStatusText(const string &text);
|
|
|
|
void setStatusVisible(bool visible);
|
|
|
|
void setTitle(const string &text);
|
|
|
|
void setVisible(bool visible);
|
2011-09-05 03:48:23 +00:00
|
|
|
void setWidgetFont(const string &font);
|
2011-02-24 09:25:20 +00:00
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
pWindow(Window &window) : pObject(window), window(window) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
2011-02-24 09:25:20 +00:00
|
|
|
void updateMenu();
|
|
|
|
};
|
|
|
|
|
|
|
|
struct pAction : public pObject {
|
|
|
|
Action &action;
|
2011-09-05 03:48:23 +00:00
|
|
|
Menu *parentMenu;
|
2011-02-24 09:25:20 +00:00
|
|
|
Window *parentWindow;
|
|
|
|
|
|
|
|
void setEnabled(bool enabled);
|
|
|
|
void setVisible(bool visible);
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
pAction(Action &action) : pObject(action), action(action) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
|
|
|
};
|
|
|
|
|
|
|
|
struct pMenu : public pAction {
|
|
|
|
Menu &menu;
|
|
|
|
HMENU hmenu;
|
|
|
|
|
|
|
|
void append(Action &action);
|
2011-09-05 03:48:23 +00:00
|
|
|
void remove(Action &action);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setText(const string &text);
|
|
|
|
|
|
|
|
pMenu(Menu &menu) : pAction(menu), menu(menu) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void update(Window &parentWindow, Menu *parentMenu = 0);
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
struct pSeparator : public pAction {
|
|
|
|
Separator &separator;
|
2011-02-24 09:25:20 +00:00
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
pSeparator(Separator &separator) : pAction(separator), separator(separator) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
struct pItem : public pAction {
|
|
|
|
Item &item;
|
2011-02-24 09:25:20 +00:00
|
|
|
|
|
|
|
void setText(const string &text);
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
pItem(Item &item) : pAction(item), item(item) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
struct pCheckItem : public pAction {
|
|
|
|
CheckItem &checkItem;
|
2011-02-24 09:25:20 +00:00
|
|
|
|
|
|
|
bool checked();
|
|
|
|
void setChecked(bool checked);
|
|
|
|
void setText(const string &text);
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
pCheckItem(CheckItem &checkItem) : pAction(checkItem), checkItem(checkItem) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
struct pRadioItem : public pAction {
|
|
|
|
RadioItem &radioItem;
|
2011-02-24 09:25:20 +00:00
|
|
|
|
|
|
|
bool checked();
|
|
|
|
void setChecked();
|
2011-02-27 09:05:10 +00:00
|
|
|
void setGroup(const reference_array<RadioItem&> &group);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setText(const string &text);
|
|
|
|
|
2011-02-27 09:05:10 +00:00
|
|
|
pRadioItem(RadioItem &radioItem) : pAction(radioItem), radioItem(radioItem) {}
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
struct pSizable : public pObject {
|
|
|
|
Sizable &sizable;
|
|
|
|
|
|
|
|
pSizable(Sizable &sizable) : pObject(sizable), sizable(sizable) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
struct pLayout : public pSizable {
|
|
|
|
Layout &layout;
|
|
|
|
|
|
|
|
pLayout(Layout &layout) : pSizable(layout), layout(layout) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
struct pWidget : public pSizable {
|
2011-02-24 09:25:20 +00:00
|
|
|
Widget &widget;
|
2011-09-05 03:48:23 +00:00
|
|
|
Window *parentWindow;
|
2011-02-24 09:25:20 +00:00
|
|
|
HWND hwnd;
|
2011-09-05 03:48:23 +00:00
|
|
|
HFONT hfont;
|
2011-02-24 09:25:20 +00:00
|
|
|
|
|
|
|
bool enabled();
|
2011-03-22 12:56:49 +00:00
|
|
|
virtual Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setEnabled(bool enabled);
|
|
|
|
void setFocused();
|
2011-09-05 03:48:23 +00:00
|
|
|
void setFont(const string &font);
|
2011-02-24 09:27:21 +00:00
|
|
|
virtual void setGeometry(const Geometry &geometry);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setVisible(bool visible);
|
|
|
|
|
2011-09-05 03:48:23 +00:00
|
|
|
pWidget(Widget &widget) : pSizable(widget), widget(widget) { parentWindow = &Window::None; }
|
2011-02-24 09:25:20 +00:00
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
virtual void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setDefaultFont();
|
2011-09-05 03:48:23 +00:00
|
|
|
void synchronize();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pButton : public pWidget {
|
|
|
|
Button &button;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setText(const string &text);
|
|
|
|
|
|
|
|
pButton(Button &button) : pWidget(button), button(button) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-03-26 11:31:07 +00:00
|
|
|
struct pCanvas : public pWidget {
|
|
|
|
Canvas &canvas;
|
2011-11-04 11:57:54 +00:00
|
|
|
uint32_t *data;
|
2011-03-26 11:31:07 +00:00
|
|
|
|
2011-11-04 11:57:54 +00:00
|
|
|
void setSize(const Size &size);
|
2011-03-26 11:31:07 +00:00
|
|
|
void update();
|
|
|
|
|
|
|
|
pCanvas(Canvas &canvas) : pWidget(canvas), canvas(canvas) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-12-12 10:59:53 +00:00
|
|
|
void paint();
|
2011-03-26 11:31:07 +00:00
|
|
|
};
|
|
|
|
|
2011-02-24 09:25:20 +00:00
|
|
|
struct pCheckBox : public pWidget {
|
|
|
|
CheckBox &checkBox;
|
|
|
|
|
|
|
|
bool checked();
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setChecked(bool checked);
|
|
|
|
void setText(const string &text);
|
|
|
|
|
|
|
|
pCheckBox(CheckBox &checkBox) : pWidget(checkBox), checkBox(checkBox) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pComboBox : public pWidget {
|
|
|
|
ComboBox &comboBox;
|
|
|
|
|
|
|
|
void append(const string &text);
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void reset();
|
|
|
|
unsigned selection();
|
|
|
|
void setSelection(unsigned row);
|
|
|
|
|
|
|
|
pComboBox(ComboBox &comboBox) : pWidget(comboBox), comboBox(comboBox) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:27:21 +00:00
|
|
|
void setGeometry(const Geometry &geometry);
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pHexEdit : public pWidget {
|
|
|
|
HexEdit &hexEdit;
|
|
|
|
LRESULT CALLBACK (*windowProc)(HWND, UINT, LPARAM, WPARAM);
|
|
|
|
|
|
|
|
void setColumns(unsigned columns);
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setOffset(unsigned offset);
|
|
|
|
void setRows(unsigned rows);
|
|
|
|
void update();
|
|
|
|
|
|
|
|
pHexEdit(HexEdit &hexEdit) : pWidget(hexEdit), hexEdit(hexEdit) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
bool keyPress(unsigned key);
|
|
|
|
};
|
|
|
|
|
2011-08-06 14:03:52 +00:00
|
|
|
struct pHorizontalScrollBar : public pWidget {
|
|
|
|
HorizontalScrollBar &horizontalScrollBar;
|
|
|
|
|
|
|
|
Geometry minimumGeometry();
|
|
|
|
unsigned position();
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
|
|
|
pHorizontalScrollBar(HorizontalScrollBar &horizontalScrollBar) : pWidget(horizontalScrollBar), horizontalScrollBar(horizontalScrollBar) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-08-06 14:03:52 +00:00
|
|
|
};
|
|
|
|
|
2011-02-24 09:25:20 +00:00
|
|
|
struct pHorizontalSlider : public pWidget {
|
|
|
|
HorizontalSlider &horizontalSlider;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
unsigned position();
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
|
|
|
pHorizontalSlider(HorizontalSlider &horizontalSlider) : pWidget(horizontalSlider), horizontalSlider(horizontalSlider) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pLabel : public pWidget {
|
|
|
|
Label &label;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setText(const string &text);
|
|
|
|
|
|
|
|
pLabel(Label &label) : pWidget(label), label(label) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pLineEdit : public pWidget {
|
|
|
|
LineEdit &lineEdit;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setEditable(bool editable);
|
|
|
|
void setText(const string &text);
|
|
|
|
string text();
|
|
|
|
|
|
|
|
pLineEdit(LineEdit &lineEdit) : pWidget(lineEdit), lineEdit(lineEdit) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pListView : public pWidget {
|
|
|
|
ListView &listView;
|
|
|
|
bool lostFocus;
|
|
|
|
|
|
|
|
void append(const lstring &text);
|
2011-02-27 09:05:10 +00:00
|
|
|
void autoSizeColumns();
|
2011-02-24 09:25:20 +00:00
|
|
|
bool checked(unsigned row);
|
|
|
|
void modify(unsigned row, const lstring &text);
|
|
|
|
void reset();
|
2011-02-27 09:05:10 +00:00
|
|
|
bool selected();
|
|
|
|
unsigned selection();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setCheckable(bool checkable);
|
|
|
|
void setChecked(unsigned row, bool checked);
|
|
|
|
void setHeaderText(const lstring &text);
|
|
|
|
void setHeaderVisible(bool visible);
|
2011-02-27 09:05:10 +00:00
|
|
|
void setSelected(bool selected);
|
2011-02-24 09:25:20 +00:00
|
|
|
void setSelection(unsigned row);
|
|
|
|
|
|
|
|
pListView(ListView &listView) : pWidget(listView), listView(listView) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:27:21 +00:00
|
|
|
void setGeometry(const Geometry &geometry);
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pProgressBar : public pWidget {
|
|
|
|
ProgressBar &progressBar;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
|
|
|
pProgressBar(ProgressBar &progressBar) : pWidget(progressBar), progressBar(progressBar) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pRadioBox : public pWidget {
|
|
|
|
RadioBox &radioBox;
|
|
|
|
|
|
|
|
bool checked();
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
void setChecked();
|
|
|
|
void setGroup(const reference_array<RadioBox&> &group);
|
|
|
|
void setText(const string &text);
|
|
|
|
|
|
|
|
pRadioBox(RadioBox &radioBox) : pWidget(radioBox), radioBox(radioBox) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pTextEdit : public pWidget {
|
|
|
|
TextEdit &textEdit;
|
|
|
|
|
|
|
|
void setCursorPosition(unsigned position);
|
|
|
|
void setEditable(bool editable);
|
|
|
|
void setText(const string &text);
|
|
|
|
void setWordWrap(bool wordWrap);
|
|
|
|
string text();
|
|
|
|
|
|
|
|
pTextEdit(TextEdit &textEdit) : pWidget(textEdit), textEdit(textEdit) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
2011-08-06 14:03:52 +00:00
|
|
|
struct pVerticalScrollBar : public pWidget {
|
|
|
|
VerticalScrollBar &verticalScrollBar;
|
|
|
|
|
|
|
|
Geometry minimumGeometry();
|
|
|
|
unsigned position();
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
|
|
|
pVerticalScrollBar(VerticalScrollBar &verticalScrollBar) : pWidget(verticalScrollBar), verticalScrollBar(verticalScrollBar) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-08-06 14:03:52 +00:00
|
|
|
};
|
|
|
|
|
2011-02-24 09:25:20 +00:00
|
|
|
struct pVerticalSlider : public pWidget {
|
|
|
|
VerticalSlider &verticalSlider;
|
|
|
|
|
2011-03-22 12:56:49 +00:00
|
|
|
Geometry minimumGeometry();
|
2011-02-24 09:25:20 +00:00
|
|
|
unsigned position();
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
|
|
|
pVerticalSlider(VerticalSlider &verticalSlider) : pWidget(verticalSlider), verticalSlider(verticalSlider) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pViewport : public pWidget {
|
|
|
|
Viewport &viewport;
|
|
|
|
|
|
|
|
uintptr_t handle();
|
|
|
|
|
|
|
|
pViewport(Viewport &viewport) : pWidget(viewport), viewport(viewport) {}
|
|
|
|
void constructor();
|
2011-09-05 03:48:23 +00:00
|
|
|
void destructor();
|
|
|
|
void orphan();
|
2011-02-24 09:25:20 +00:00
|
|
|
};
|