o More widgets fot alternative constructors
o Cleanup of launcher dialog o Implemented useWithPrefix keyword svn-id: r21131
This commit is contained in:
parent
d7bc756edc
commit
fc84c7fc1d
7 changed files with 54 additions and 40 deletions
|
@ -45,6 +45,12 @@ Dialog::Dialog(int x, int y, int w, int h)
|
|||
_drawingHints = THEME_HINT_FIRST_DRAW | THEME_HINT_SAVE_BACKGROUND;
|
||||
}
|
||||
|
||||
Dialog::Dialog(String name)
|
||||
: GuiObject(name),
|
||||
_mouseWidget(0), _focusedWidget(0), _dragWidget(0), _visible(false), _drawingHints(0) {
|
||||
_drawingHints = THEME_HINT_FIRST_DRAW | THEME_HINT_SAVE_BACKGROUND;
|
||||
}
|
||||
|
||||
Dialog::~Dialog() {
|
||||
delete _firstWidget;
|
||||
_firstWidget = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue