o More widgets fot alternative constructors

o Cleanup of launcher dialog
o Implemented useWithPrefix keyword

svn-id: r21131
This commit is contained in:
Eugene Sandulenko 2006-03-07 19:02:42 +00:00
parent d7bc756edc
commit fc84c7fc1d
7 changed files with 54 additions and 40 deletions

View file

@ -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;