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:
parent
70a1d43815
commit
e9ae86bb76
17 changed files with 125 additions and 75 deletions
|
@ -271,7 +271,7 @@ void PopUpDialog::drawMenuEntry(int entry, bool hilite) {
|
|||
// PopUpWidget
|
||||
//
|
||||
|
||||
PopUpWidget::PopUpWidget(Dialog *boss, int x, int y, int w, int h)
|
||||
PopUpWidget::PopUpWidget(GuiObject *boss, int x, int y, int w, int h)
|
||||
: Widget(boss, x, y - 1, w, h + 2), CommandSender(boss) {
|
||||
_flags = WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS;
|
||||
_type = 'POPU';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue