Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <modaldialog.h>
Public Member Functions | |
virtual void | initControls (void) |
virtual bool | processWindowCommand (const EventCommandId &command, Control *control) |
class SimplePicker * | getPicker () |
![]() | |
virtual void | init (const std::string &title) |
virtual void | run (void) |
QuestionDialog () | |
virtual | ~QuestionDialog (void) |
![]() | |
virtual void | setCallback (ModalDialogCallback *cb, const std::string &id) |
virtual void | init (void) |
void | modalFinished (void) |
ModalDialog () | |
virtual | ~ModalDialog (void) |
![]() | |
virtual void | draw (void) |
virtual Window * | window (void) |
virtual void | setWindow (Window *w) |
WindowController () | |
virtual | ~WindowController (void) |
Static Protected Member Functions | |
static void | CreateControlsForListWindow (Window *w) |
Additional Inherited Members | |
![]() | |
bool | m_deleteWindow |
Definition at line 129 of file modaldialog.h.
|
staticprotected |
Definition at line 160 of file modaldialog.cpp.
References Window::addControl(), BOLD_STROKE, CENTER_JUSTIFY, GUI_CLEAR(), GUI_OPAQUE_BLACK(), GUI_OPAQUE_MEDIUM_GRAY(), GUI_OPAQUE_WHITE(), SaturatedColor(), Scroller::setButtonColor(), Scroller::setColor(), Window::setColor(), Control::setColor(), NewButton::setCommand(), NewButton::setDownColor(), NewButton::setDownTextColor(), StaticDisplay::setFont(), Control::setFont(), NewButton::setHighlightColor(), Picker::setHighlightColor(), Picker::setHighlightTextColor(), Control::setId(), StaticDisplay::setJustification(), NewButton::setLabel(), StaticDisplay::setMultiLine(), Control::setOutlineColor(), Window::setOutlineColor(), Window::setOutlineWidth(), Control::setRect(), Scroller::setRect(), StaticDisplay::setRect(), Picker::setScroller(), Picker::setSelectionColor(), Window::setSizeAndCenter(), Scroller::setTextColor(), StaticDisplay::setTextColor(), Control::setTextColor(), Picker::setTextMargins(), Window::setTexture(), and Scroller::setThumbColor().
Referenced by initControls().
SimplePicker * ListQuestionDialog::getPicker | ( | ) |
Definition at line 355 of file modaldialog.cpp.
References Window::findControlById(), and WindowController::window().
Referenced by showListQuestion().
|
inlinevirtual |
Implements QuestionDialog.
Definition at line 133 of file modaldialog.h.
References CreateControlsForListWindow(), and WindowController::window().
|
virtual |
Reimplemented from ModalDialog.
Reimplemented in UpgradeOperationMountDialog.
Definition at line 328 of file modaldialog.cpp.
References Window::findControlById(), ModalDialog::m_result, ModalDialog::modalFinished(), ModalDialog::processWindowCommand(), Picker::selectedItem(), and WindowController::window().
Referenced by UpgradeOperationMountDialog::processWindowCommand().