introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)

svn-id: r11052
This commit is contained in:
Max Horn 2003-11-02 14:50:53 +00:00
parent 70a1d43815
commit e9ae86bb76
17 changed files with 125 additions and 75 deletions

View file

@ -25,7 +25,7 @@
#include "newgui.h"
ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h)
ListWidget::ListWidget(GuiObject *boss, int x, int y, int w, int h)
: Widget(boss, x, y, w - kScrollBarWidth, h), CommandSender(boss) {
_flags = WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS | WIDGET_WANT_TICKLE;
_type = kListWidget;