#include <SaveDialog.h>

Public Member Functions | |
| virtual void | buttonDown (unsigned int id) |
| virtual void | display () |
Static Public Member Functions | |
| static SaveDialog * | instance () |
Protected Attributes | |
| unsigned int | okId_ |
| unsigned int | cancelId_ |
| GLWTextBox * | textBox_ |
Static Protected Attributes | |
| static SaveDialog * | instance_ = 0 |
Private Member Functions | |
| SaveDialog () | |
| virtual | ~SaveDialog () |
Definition at line 28 of file SaveDialog.h.
| SaveDialog::SaveDialog | ( | ) | [private] |
Definition at line 43 of file SaveDialog.cpp.
References GLWPanel::addWidget(), GLWPanel::AlignRight, GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWidget::getId(), GLWPanel::GLWPanel(), LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, okId_, GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, GLWPanel::SpaceTop, and textBox_.
| SaveDialog::~SaveDialog | ( | ) | [private, virtual] |
Definition at line 71 of file SaveDialog.cpp.
| SaveDialog * SaveDialog::instance | ( | ) | [static] |
Definition at line 34 of file SaveDialog.cpp.
References instance_.
Referenced by ClientWindowSetup::addCommonComponents(), QuitDialog::buttonDown(), and TankMenus::PlayerMenu::menuSelection().
| void SaveDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 84 of file SaveDialog.cpp.
References cancelId_, S3D::formatStringBuffer(), S3D::getSaveFile(), GLWTextBox::getText(), GLWWindowManager::hideWindow(), GLWidget::id_, GLWWindowManager::instance(), ScorchedClient::instance(), LANG_RESOURCE, LANG_RESOURCE_1, okId_, ClientSave::saveClient(), ChannelManager::showText(), and textBox_.
| void SaveDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 76 of file SaveDialog.cpp.
References GLWPanel::display(), S3D::formatStringBuffer(), LANG_STRING, GLWTextBox::setText(), and textBox_.
unsigned int SaveDialog::okId_ [protected] |
unsigned int SaveDialog::cancelId_ [protected] |
SaveDialog * SaveDialog::instance_ = 0 [static, protected] |
GLWTextBox* SaveDialog::textBox_ [protected] |
Definition at line 39 of file SaveDialog.h.
Referenced by buttonDown(), display(), and SaveDialog().
1.5.3