#include <stdlib.h>#include <wx/wx.h>#include <wx/image.h>#include <wx/process.h>#include <wx/txtstrm.h>#include <wx/msgdlg.h>#include <wx/dcbuffer.h>#include <wx/splash.h>#include <windows.h>#include <SDL/SDL.h>#include <wxdialogs/MainDialog.h>#include <wxdialogs/DisplayDialog.h>#include <wxdialogs/ServerSDialog.h>#include <wxdialogs/TrueTypeFont.h>#include <scorched/ScorchedParams.h>#include <graph/OptionsDisplay.h>#include <common/Defines.h>Go to the source code of this file.
Classes | |
| class | ScorchedProcess |
| class | MainFrame |
| struct | MainFrame::ImageData |
Defines | |
| #define | WIN32_LEAN_AND_MEAN |
Enumerations | |
| enum | { ID_MAIN_TIMER } |
Functions | |
| wxString | convertString (const std::string &input) |
| void | addTitleToWindow (wxWindow *parent, wxSizer *sizer, const char *fileName, int buttonId) |
| void | runScorched3D (const char *text, bool server) |
| wxButton * | addButtonToWindow (int id, const char *text, const char *bitmapName, wxWindow *parent, wxSizer *sizer, wxObjectRefData *data) |
| void | showMainDialog () |
| wxFrame * | getMainDialog () |
Variables | |
| char | scorched3dAppName [128] |
| static wxFrame * | mainDialog = 0 |
| bool | wxWindowExit = false |
| static SDL_mutex * | messageMutex_ = 0 |
| static std::string | messageString_ |
| static int | exitCode_ = 0 |
| bool | newVersion |
| #define WIN32_LEAN_AND_MEAN |
Definition at line 29 of file MainDialog.cpp.
| anonymous enum |
| wxButton* addButtonToWindow | ( | int | id, | |
| const char * | text, | |||
| const char * | bitmapName, | |||
| wxWindow * | parent, | |||
| wxSizer * | sizer, | |||
| wxObjectRefData * | data | |||
| ) |
Definition at line 183 of file MainDialog.cpp.
| void addTitleToWindow | ( | wxWindow * | parent, | |
| wxSizer * | sizer, | |||
| const char * | fileName, | |||
| int | buttonId | |||
| ) |
Definition at line 55 of file MainDialog.cpp.
| wxString convertString | ( | const std::string & | input | ) |
Definition at line 49 of file MainDialog.cpp.
Referenced by SettingsFrame::createLandPanel(), OptionEntrySetterUtil::createOtherSetter(), DisplayFrame::DisplayFrame(), KeyFrame::KeyFrame(), MainFrame::MainFrame(), DisplayFrame::onExportMod(), DisplayFrame::onImportMod(), DisplayFrame::refreshScreen(), ServerSFrame::ServerSFrame(), SettingsFrame::SettingsFrame(), showMainDialog(), and ServerSFrame::TransferDataToWindow().
| wxFrame* getMainDialog | ( | ) |
| void runScorched3D | ( | const char * | text, | |
| bool | server | |||
| ) |
Definition at line 142 of file MainDialog.cpp.
Referenced by MainFrame::onSingleButton(), and showServerSDialog().
| void showMainDialog | ( | ) |
int exitCode_ = 0 [static] |
Definition at line 76 of file MainDialog.cpp.
Referenced by ScorchedProcess::OnTerminate(), and MainFrame::onTimer().
wxFrame* mainDialog = 0 [static] |
SDL_mutex* messageMutex_ = 0 [static] |
Definition at line 74 of file MainDialog.cpp.
Referenced by MainFrame::MainFrame(), ScorchedProcess::OnTerminate(), and MainFrame::onTimer().
std::string messageString_ [static] |
Definition at line 75 of file MainDialog.cpp.
Referenced by ScorchedProcess::OnTerminate(), and MainFrame::onTimer().
| bool newVersion |
| char scorched3dAppName[128] |
| bool wxWindowExit = false |
1.5.3