├── .gitignore ├── AUTHORS ├── COPYING ├── Makefile.am ├── README ├── bin └── easyrpg-editor-wx ├── configure.ac ├── share ├── icons │ └── hicolor │ │ ├── 128x128 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 16x16 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 192x192 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 22x22 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 24x24 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 32x32 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 36x36 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 48x48 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 64x64 │ │ └── apps │ │ │ └── easyrpg.png │ │ ├── 72x72 │ │ └── apps │ │ │ └── easyrpg.png │ │ └── 96x96 │ │ └── apps │ │ └── easyrpg.png └── toolbar │ ├── 11scale.png │ ├── 12scale.png │ ├── 14scale.png │ ├── 18scale.png │ ├── close.png │ ├── database.png │ ├── eventlayer.png │ ├── fullscreen.png │ ├── help.png │ ├── lowerlayer.png │ ├── makegamedisk.png │ ├── material.png │ ├── music.png │ ├── new.png │ ├── open.png │ ├── playtest.png │ ├── revert.png │ ├── save.png │ ├── title.png │ └── upperlayer.png ├── src ├── DialogDb.cpp ├── DialogDb.h ├── DialogDbLearnSkill.cpp ├── DialogDbLearnSkill.h ├── DialogDbMaxNumber.cpp ├── DialogDbMaxNumber.h ├── DialogDbSelectAnyGraphic.cpp ├── DialogDbSelectAnyGraphic.h ├── DialogEvt.cpp ├── DialogEvt.h ├── DialogEvtCmd.cpp ├── DialogEvtCmd.h ├── DialogEvtCmdActorFaceGraphic.cpp ├── DialogEvtCmdActorFaceGraphic.h ├── DialogEvtCmdActorGraphic.cpp ├── DialogEvtCmdActorGraphic.h ├── DialogEvtCmdActorName.cpp ├── DialogEvtCmdActorName.h ├── DialogEvtCmdActorNameInput.cpp ├── DialogEvtCmdActorNameInput.h ├── DialogEvtCmdActorTitle.cpp ├── DialogEvtCmdActorTitle.h ├── DialogEvtCmdActorTransparency.cpp ├── DialogEvtCmdActorTransparency.h ├── DialogEvtCmdAnimation.cpp ├── DialogEvtCmdAnimation.h ├── DialogEvtCmdBattle.cpp ├── DialogEvtCmdBattle.h ├── DialogEvtCmdBlankScreen.cpp ├── DialogEvtCmdBlankScreen.h ├── DialogEvtCmdCallEvent.cpp ├── DialogEvtCmdCallEvent.h ├── DialogEvtCmdChangeEscapePlace.cpp ├── DialogEvtCmdChangeEscapePlace.h ├── DialogEvtCmdChangeLevel.cpp ├── DialogEvtCmdChangeLevel.h ├── DialogEvtCmdChangeVehiclePosition.cpp ├── DialogEvtCmdChangeVehiclePosition.h ├── DialogEvtCmdChoice.cpp ├── DialogEvtCmdChoice.h ├── DialogEvtCmdCommerce.cpp ├── DialogEvtCmdCommerce.h ├── DialogEvtCmdConditions.cpp ├── DialogEvtCmdConditions.h ├── DialogEvtCmdDamage.cpp ├── DialogEvtCmdDamage.h ├── DialogEvtCmdDeletePicture.cpp ├── DialogEvtCmdDeletePicture.h ├── DialogEvtCmdEncounterRate.cpp ├── DialogEvtCmdEncounterRate.h ├── DialogEvtCmdEquipment.cpp ├── DialogEvtCmdEquipment.h ├── DialogEvtCmdEscapePermissions.cpp ├── DialogEvtCmdEscapePermissions.h ├── DialogEvtCmdEventMovement.cpp ├── DialogEvtCmdEventMovement.h ├── DialogEvtCmdEventPosition.cpp ├── DialogEvtCmdEventPosition.h ├── DialogEvtCmdExperience.cpp ├── DialogEvtCmdExperience.h ├── DialogEvtCmdFaceGraphic.cpp ├── DialogEvtCmdFaceGraphic.h ├── DialogEvtCmdFadeMusic.cpp ├── DialogEvtCmdFadeMusic.h ├── DialogEvtCmdFlashCharacter.cpp ├── DialogEvtCmdFlashCharacter.h ├── DialogEvtCmdFlashScreen.cpp ├── DialogEvtCmdFlashScreen.h ├── DialogEvtCmdGetPositionID.cpp ├── DialogEvtCmdGetPositionID.h ├── DialogEvtCmdGetTerrainID.cpp ├── DialogEvtCmdGetTerrainID.h ├── DialogEvtCmdGoToLabel.cpp ├── DialogEvtCmdGoToLabel.h ├── DialogEvtCmdGoToMemorizedPlace.cpp ├── DialogEvtCmdGoToMemorizedPlace.h ├── DialogEvtCmdHP.cpp ├── DialogEvtCmdHP.h ├── DialogEvtCmdInn.cpp ├── DialogEvtCmdInn.h ├── DialogEvtCmdItem.cpp ├── DialogEvtCmdItem.h ├── DialogEvtCmdKeyAssignment.cpp ├── DialogEvtCmdKeyAssignment.h ├── DialogEvtCmdLabel.cpp ├── DialogEvtCmdLabel.h ├── DialogEvtCmdMP.cpp ├── DialogEvtCmdMP.h ├── DialogEvtCmdMemorizePlace.cpp ├── DialogEvtCmdMemorizePlace.h ├── DialogEvtCmdMessage.cpp ├── DialogEvtCmdMessage.h ├── DialogEvtCmdMessageOptions.cpp ├── DialogEvtCmdMessageOptions.h ├── DialogEvtCmdMoney.cpp ├── DialogEvtCmdMoney.h ├── DialogEvtCmdMovePicture.cpp ├── DialogEvtCmdMovePicture.h ├── DialogEvtCmdMoveScreen.cpp ├── DialogEvtCmdMoveScreen.h ├── DialogEvtCmdNotes.cpp ├── DialogEvtCmdNotes.h ├── DialogEvtCmdNumberInput.cpp ├── DialogEvtCmdNumberInput.h ├── DialogEvtCmdPanorama.cpp ├── DialogEvtCmdPanorama.h ├── DialogEvtCmdParameter.cpp ├── DialogEvtCmdParameter.h ├── DialogEvtCmdParty.cpp ├── DialogEvtCmdParty.h ├── DialogEvtCmdPicture.cpp ├── DialogEvtCmdPicture.h ├── DialogEvtCmdPlayMusic.cpp ├── DialogEvtCmdPlayMusic.h ├── DialogEvtCmdPlaySound.cpp ├── DialogEvtCmdPlaySound.h ├── DialogEvtCmdPlayVideo.cpp ├── DialogEvtCmdPlayVideo.h ├── DialogEvtCmdRecover.cpp ├── DialogEvtCmdRecover.h ├── DialogEvtCmdSavePermissions.cpp ├── DialogEvtCmdSavePermissions.h ├── DialogEvtCmdShake.cpp ├── DialogEvtCmdShake.h ├── DialogEvtCmdShowScreen.cpp ├── DialogEvtCmdShowScreen.h ├── DialogEvtCmdSkill.cpp ├── DialogEvtCmdSkill.h ├── DialogEvtCmdState.cpp ├── DialogEvtCmdState.h ├── DialogEvtCmdSwapEvents.cpp ├── DialogEvtCmdSwapEvents.h ├── DialogEvtCmdSwitch.cpp ├── DialogEvtCmdSwitch.h ├── DialogEvtCmdSystemGraphic.cpp ├── DialogEvtCmdSystemGraphic.h ├── DialogEvtCmdSystemMenuPermissions.cpp ├── DialogEvtCmdSystemMenuPermissions.h ├── DialogEvtCmdSystemMusic.cpp ├── DialogEvtCmdSystemMusic.h ├── DialogEvtCmdSystemSound.cpp ├── DialogEvtCmdSystemSound.h ├── DialogEvtCmdTeleport.cpp ├── DialogEvtCmdTeleport.h ├── DialogEvtCmdTeleportPermissions.cpp ├── DialogEvtCmdTeleportPermissions.h ├── DialogEvtCmdTeleportPlace.cpp ├── DialogEvtCmdTeleportPlace.h ├── DialogEvtCmdTile.cpp ├── DialogEvtCmdTile.h ├── DialogEvtCmdTileset.cpp ├── DialogEvtCmdTileset.h ├── DialogEvtCmdTimer.cpp ├── DialogEvtCmdTimer.h ├── DialogEvtCmdTone.cpp ├── DialogEvtCmdTone.h ├── DialogEvtCmdTransition.cpp ├── DialogEvtCmdTransition.h ├── DialogEvtCmdVariable.cpp ├── DialogEvtCmdVariable.h ├── DialogEvtCmdVehicleGraphic.cpp ├── DialogEvtCmdVehicleGraphic.h ├── DialogEvtCmdWait.cpp ├── DialogEvtCmdWait.h ├── DialogEvtCmdWeather.cpp ├── DialogEvtCmdWeather.h ├── DialogMap.cpp ├── DialogMap.h ├── DialogMaterial.cpp ├── DialogMaterial.h ├── FrameEditor.cpp ├── FrameEditor.h ├── easyrpg.xpm └── main.cpp ├── win32 ├── easyrpg.ico └── easyrpg.rc └── wxglade └── easyrpg.wxg /.gitignore: -------------------------------------------------------------------------------- 1 | /Makefile.in 2 | /Makefile 3 | /aclocal.m4 4 | /autom4te.cache/ 5 | /compile 6 | /config.h 7 | /config.h.in 8 | /config.log 9 | /config.status 10 | /configure 11 | /depcomp 12 | /install-sh 13 | /missing 14 | /src/.deps/ 15 | /src/.dirstamp 16 | /src/*.o 17 | /stamp-h1 18 | *~ 19 | /easyrpg-editor-wx* 20 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | EasyRPG editor authors: 2 | 3 | Francisco de la Peña (fdelapena) 4 | Aitor García (kyrosfalc) 5 | hermanosvalor (hermanosvalor) -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | EasyRPG Editor-wx 2 | ================= 3 | 4 | EasyRPG Editor-wx is a legacy role playing game editor tool. 5 | 6 | EasyRPG Editor-wx is part of the EasyRPG Project. More information is 7 | available at the project website: 8 | 9 | https://easy-rpg.org/ 10 | 11 | 12 | Documentation 13 | ------------- 14 | 15 | Documentation is available at the documentation wiki: 16 | 17 | https://easy-rpg.org/wiki/ 18 | 19 | 20 | Requirements 21 | ------------ 22 | 23 | wxWidgets development libraries, version 2 or 3. 24 | 25 | 26 | Development 27 | ----------- 28 | 29 | EasyRPG Editor-wx development is hosted by GitHub. 30 | Source code is available in Git repositories. 31 | 32 | https://github.com/EasyRPG/Editor-wx 33 | 34 | 35 | License 36 | ------- 37 | 38 | EasyRPG Editor-wx is free software. See the file COPYING for copying 39 | conditions. 40 | -------------------------------------------------------------------------------- /bin/easyrpg-editor-wx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/bin/easyrpg-editor-wx -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- 1 | # -*- Autoconf -*- 2 | # Process this file with autoconf to produce a configure script. 3 | 4 | AC_PREREQ([2.69]) 5 | AC_INIT([easyrpg-editor-wx],[0.1],[https://github.com/EasyRPG/Editor-wx/issues]) 6 | 7 | AM_INIT_AUTOMAKE([1.11.4 foreign subdir-objects -Wall -Werror]) 8 | AM_MAINTAINER_MODE([enable]) 9 | AM_SILENT_RULES([yes]) 10 | 11 | AC_CONFIG_SRCDIR([src/main.cpp]) 12 | AC_CONFIG_HEADERS([config.h]) 13 | 14 | # Checks for programs. 15 | AC_PROG_CXX 16 | 17 | # Checks for libraries. 18 | AM_OPTIONS_WXCONFIG 19 | reqwx=2.4.0 20 | AM_PATH_WXCONFIG($reqwx, wxWin=1) 21 | if test "$wxWin" != 1; then 22 | AC_MSG_ERROR([ 23 | wxWidgets must be installed on your system. 24 | 25 | Please check that wx-config is in path, the directory 26 | where wxWidgets libraries are installed (returned by 27 | 'wx-config --libs' or 'wx-config --static --libs' command) 28 | is in LD_LIBRARY_PATH or equivalent variable and 29 | wxWidgets version is $reqwx or above. 30 | ]) 31 | fi 32 | 33 | CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" 34 | CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" 35 | CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" 36 | LIBS="$LIBS $WX_LIBS" 37 | 38 | # Checks for header files. 39 | 40 | # Checks for typedefs, structures, and compiler characteristics. 41 | AC_CHECK_HEADER_STDBOOL 42 | 43 | # Checks for library functions. 44 | 45 | AC_CONFIG_FILES([Makefile]) 46 | AC_OUTPUT 47 | -------------------------------------------------------------------------------- /share/icons/hicolor/128x128/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/128x128/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/16x16/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/16x16/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/192x192/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/192x192/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/22x22/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/22x22/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/24x24/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/24x24/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/32x32/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/32x32/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/36x36/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/36x36/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/48x48/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/48x48/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/64x64/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/64x64/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/72x72/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/72x72/apps/easyrpg.png -------------------------------------------------------------------------------- /share/icons/hicolor/96x96/apps/easyrpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/icons/hicolor/96x96/apps/easyrpg.png -------------------------------------------------------------------------------- /share/toolbar/11scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/11scale.png -------------------------------------------------------------------------------- /share/toolbar/12scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/12scale.png -------------------------------------------------------------------------------- /share/toolbar/14scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/14scale.png -------------------------------------------------------------------------------- /share/toolbar/18scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/18scale.png -------------------------------------------------------------------------------- /share/toolbar/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/close.png -------------------------------------------------------------------------------- /share/toolbar/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/database.png -------------------------------------------------------------------------------- /share/toolbar/eventlayer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/eventlayer.png -------------------------------------------------------------------------------- /share/toolbar/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/fullscreen.png -------------------------------------------------------------------------------- /share/toolbar/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/help.png -------------------------------------------------------------------------------- /share/toolbar/lowerlayer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/lowerlayer.png -------------------------------------------------------------------------------- /share/toolbar/makegamedisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/makegamedisk.png -------------------------------------------------------------------------------- /share/toolbar/material.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/material.png -------------------------------------------------------------------------------- /share/toolbar/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/music.png -------------------------------------------------------------------------------- /share/toolbar/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/new.png -------------------------------------------------------------------------------- /share/toolbar/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/open.png -------------------------------------------------------------------------------- /share/toolbar/playtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/playtest.png -------------------------------------------------------------------------------- /share/toolbar/revert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/revert.png -------------------------------------------------------------------------------- /share/toolbar/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/save.png -------------------------------------------------------------------------------- /share/toolbar/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/title.png -------------------------------------------------------------------------------- /share/toolbar/upperlayer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/share/toolbar/upperlayer.png -------------------------------------------------------------------------------- /src/DialogDbLearnSkill.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogDbLearnSkill.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogDbLearnSkill::DialogDbLearnSkill(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE) 21 | { 22 | // begin wxGlade: DialogDbLearnSkill::DialogDbLearnSkill 23 | SzLevel_staticbox = new wxStaticBox(this, wxID_ANY, _("Level")); 24 | szSkill_staticbox = new wxStaticBox(this, wxID_ANY, _("Skill")); 25 | const wxString chSkill_choices[] = { 26 | _(""), 27 | }; 28 | chSkill = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, chSkill_choices); 29 | spinLevel = new wxSpinCtrl(this, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 50); 30 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 31 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 32 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 33 | 34 | set_properties(); 35 | do_layout(); 36 | // end wxGlade 37 | } 38 | 39 | 40 | void DialogDbLearnSkill::set_properties() 41 | { 42 | // begin wxGlade: DialogDbLearnSkill::set_properties 43 | SetTitle(_("Learn a skill...")); 44 | chSkill->SetMinSize(wxSize(50, -1)); 45 | chSkill->SetSelection(0); 46 | spinLevel->SetMinSize(wxSize(50, -1)); 47 | btnOK->SetDefault(); 48 | // end wxGlade 49 | } 50 | 51 | 52 | void DialogDbLearnSkill::do_layout() 53 | { 54 | // begin wxGlade: DialogDbLearnSkill::do_layout 55 | wxBoxSizer* szDbLearnSkill = new wxBoxSizer(wxVERTICAL); 56 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 57 | wxBoxSizer* szTop = new wxBoxSizer(wxHORIZONTAL); 58 | SzLevel_staticbox->Lower(); 59 | wxStaticBoxSizer* SzLevel = new wxStaticBoxSizer(SzLevel_staticbox, wxHORIZONTAL); 60 | szSkill_staticbox->Lower(); 61 | wxStaticBoxSizer* szSkill = new wxStaticBoxSizer(szSkill_staticbox, wxHORIZONTAL); 62 | szSkill->Add(chSkill, 1, wxALIGN_CENTER_VERTICAL, 0); 63 | szTop->Add(szSkill, 2, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 64 | SzLevel->Add(spinLevel, 1, wxALIGN_CENTER_VERTICAL, 0); 65 | szTop->Add(SzLevel, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 66 | szDbLearnSkill->Add(szTop, 1, wxEXPAND, 0); 67 | szBottom->Add(btnOK, 0, wxALL, 1); 68 | szBottom->Add(btnCancel, 0, wxALL, 1); 69 | szBottom->Add(btnHelp, 0, wxALL, 1); 70 | szDbLearnSkill->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 71 | SetSizer(szDbLearnSkill); 72 | szDbLearnSkill->Fit(this); 73 | Layout(); 74 | // end wxGlade 75 | } 76 | 77 | -------------------------------------------------------------------------------- /src/DialogDbLearnSkill.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGDBLEARNSKILL_H 13 | #define DIALOGDBLEARNSKILL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogDbLearnSkill: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogDbLearnSkill::ids 35 | // end wxGlade 36 | 37 | DialogDbLearnSkill(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogDbLearnSkill::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogDbLearnSkill::attributes 47 | wxStaticBox* SzLevel_staticbox; 48 | wxStaticBox* szSkill_staticbox; 49 | wxChoice* chSkill; 50 | wxSpinCtrl* spinLevel; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGDBLEARNSKILL_H 59 | -------------------------------------------------------------------------------- /src/DialogDbMaxNumber.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogDbMaxNumber.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogDbMaxNumber::DialogDbMaxNumber(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogDbMaxNumber::DialogDbMaxNumber 23 | stMaxNumber = new wxStaticText(this, wxID_ANY, _("Max number:")); 24 | spinMaxNumber = new wxSpinCtrl(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 5000); 25 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 26 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 27 | 28 | set_properties(); 29 | do_layout(); 30 | // end wxGlade 31 | } 32 | 33 | 34 | void DialogDbMaxNumber::set_properties() 35 | { 36 | // begin wxGlade: DialogDbMaxNumber::set_properties 37 | SetTitle(_("Max number")); 38 | spinMaxNumber->SetMinSize(wxSize(50, -1)); 39 | btnOK->SetDefault(); 40 | // end wxGlade 41 | } 42 | 43 | 44 | void DialogDbMaxNumber::do_layout() 45 | { 46 | // begin wxGlade: DialogDbMaxNumber::do_layout 47 | wxBoxSizer* szMaxNumber = new wxBoxSizer(wxVERTICAL); 48 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 49 | wxBoxSizer* szTop = new wxBoxSizer(wxHORIZONTAL); 50 | szTop->Add(stMaxNumber, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 1); 51 | szTop->Add(spinMaxNumber, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 1); 52 | szMaxNumber->Add(szTop, 1, wxBOTTOM|wxEXPAND, 1); 53 | szBottom->Add(btnOK, 0, wxALL, 1); 54 | szBottom->Add(btnCancel, 0, wxALL, 1); 55 | szMaxNumber->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 56 | SetSizer(szMaxNumber); 57 | szMaxNumber->Fit(this); 58 | Layout(); 59 | // end wxGlade 60 | } 61 | 62 | -------------------------------------------------------------------------------- /src/DialogDbMaxNumber.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGDBMAXNUMBER_H 13 | #define DIALOGDBMAXNUMBER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogDbMaxNumber: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogDbMaxNumber::ids 35 | // end wxGlade 36 | 37 | DialogDbMaxNumber(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogDbMaxNumber::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogDbMaxNumber::attributes 47 | wxStaticText* stMaxNumber; 48 | wxSpinCtrl* spinMaxNumber; 49 | wxButton* btnOK; 50 | wxButton* btnCancel; 51 | // end wxGlade 52 | }; // wxGlade: end class 53 | 54 | 55 | #endif // DIALOGDBMAXNUMBER_H 56 | -------------------------------------------------------------------------------- /src/DialogDbSelectAnyGraphic.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogDbSelectAnyGraphic.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogDbSelectAnyGraphic::DialogDbSelectAnyGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE) 21 | { 22 | // begin wxGlade: DialogDbSelectAnyGraphic::DialogDbSelectAnyGraphic 23 | const wxString listGraphic_choices[] = { 24 | _(""), 25 | }; 26 | listGraphic = new wxListBox(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, listGraphic_choices, wxLB_SINGLE); 27 | bmpGraphic = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBORDER_SUNKEN); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | 31 | set_properties(); 32 | do_layout(); 33 | // end wxGlade 34 | } 35 | 36 | 37 | void DialogDbSelectAnyGraphic::set_properties() 38 | { 39 | // begin wxGlade: DialogDbSelectAnyGraphic::set_properties 40 | SetTitle(_("Graphic of Type...")); 41 | listGraphic->SetSelection(0); 42 | bmpGraphic->SetMinSize(wxSize(480, 480)); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogDbSelectAnyGraphic::do_layout() 49 | { 50 | // begin wxGlade: DialogDbSelectAnyGraphic::do_layout 51 | wxBoxSizer* szSelectAnyGraphic = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | wxBoxSizer* szTop = new wxBoxSizer(wxHORIZONTAL); 54 | szTop->Add(listGraphic, 1, wxALL|wxEXPAND, 1); 55 | szTop->Add(bmpGraphic, 0, wxALL, 1); 56 | szSelectAnyGraphic->Add(szTop, 1, wxEXPAND, 0); 57 | szBottom->Add(btnOK, 0, wxALL, 1); 58 | szBottom->Add(btnCancel, 0, wxALL, 1); 59 | szSelectAnyGraphic->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 60 | SetSizer(szSelectAnyGraphic); 61 | szSelectAnyGraphic->Fit(this); 62 | Layout(); 63 | // end wxGlade 64 | } 65 | 66 | -------------------------------------------------------------------------------- /src/DialogDbSelectAnyGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGDBSELECTANYGRAPHIC_H 13 | #define DIALOGDBSELECTANYGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogDbSelectAnyGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogDbSelectAnyGraphic::ids 34 | // end wxGlade 35 | 36 | DialogDbSelectAnyGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogDbSelectAnyGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogDbSelectAnyGraphic::attributes 46 | wxListBox* listGraphic; 47 | wxStaticBitmap* bmpGraphic; 48 | wxButton* btnOK; 49 | wxButton* btnCancel; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGDBSELECTANYGRAPHIC_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorFaceGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORFACEGRAPHIC_H 13 | #define DIALOGEVTCMDACTORFACEGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorFaceGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorFaceGraphic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorFaceGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorFaceGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorFaceGraphic::attributes 46 | wxStaticBox* szFaceGraphic_staticbox; 47 | wxStaticBox* szActor_staticbox; 48 | wxChoice* chActor; 49 | wxStaticBitmap* bmpFaceGraphic; 50 | wxButton* btnFaceGraphic; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGEVTCMDACTORFACEGRAPHIC_H 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORGRAPHIC_H 13 | #define DIALOGEVTCMDACTORGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorGraphic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorGraphic::attributes 46 | wxStaticBox* szGraphic_staticbox; 47 | wxStaticBox* szActor_staticbox; 48 | wxChoice* chActor; 49 | wxStaticBitmap* bmpGraphic; 50 | wxCheckBox* chbTranslucent; 51 | wxButton* btnGraphic; 52 | wxButton* btnOK; 53 | wxButton* btnCancel; 54 | wxButton* btnHelp; 55 | // end wxGlade 56 | }; // wxGlade: end class 57 | 58 | 59 | #endif // DIALOGEVTCMDACTORGRAPHIC_H 60 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorName.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdActorName.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdActorName::DialogEvtCmdActorName(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdActorName::DialogEvtCmdActorName 23 | szName_staticbox = new wxStaticBox(this, wxID_ANY, _("Name")); 24 | szActor_staticbox = new wxStaticBox(this, wxID_ANY, _("Actor")); 25 | const wxString chActor_choices[] = { 26 | _(""), 27 | }; 28 | chActor = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, chActor_choices); 29 | tcName = new wxTextCtrl(this, wxID_ANY, wxEmptyString); 30 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 31 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 32 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 33 | 34 | set_properties(); 35 | do_layout(); 36 | // end wxGlade 37 | } 38 | 39 | 40 | void DialogEvtCmdActorName::set_properties() 41 | { 42 | // begin wxGlade: DialogEvtCmdActorName::set_properties 43 | SetTitle(_("Change actor name")); 44 | chActor->SetMinSize(wxSize(50, -1)); 45 | chActor->SetSelection(0); 46 | tcName->SetMinSize(wxSize(50, -1)); 47 | btnOK->SetDefault(); 48 | // end wxGlade 49 | } 50 | 51 | 52 | void DialogEvtCmdActorName::do_layout() 53 | { 54 | // begin wxGlade: DialogEvtCmdActorName::do_layout 55 | wxBoxSizer* szActorName = new wxBoxSizer(wxVERTICAL); 56 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 57 | wxBoxSizer* szTop = new wxBoxSizer(wxHORIZONTAL); 58 | szName_staticbox->Lower(); 59 | wxStaticBoxSizer* szName = new wxStaticBoxSizer(szName_staticbox, wxHORIZONTAL); 60 | szActor_staticbox->Lower(); 61 | wxStaticBoxSizer* szActor = new wxStaticBoxSizer(szActor_staticbox, wxHORIZONTAL); 62 | szActor->Add(chActor, 1, wxALIGN_CENTER_VERTICAL, 0); 63 | szTop->Add(szActor, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 64 | szName->Add(tcName, 1, wxALIGN_CENTER_VERTICAL, 0); 65 | szTop->Add(szName, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 66 | szActorName->Add(szTop, 1, wxEXPAND, 0); 67 | szBottom->Add(btnOK, 0, wxALL, 1); 68 | szBottom->Add(btnCancel, 0, wxALL, 1); 69 | szBottom->Add(btnHelp, 0, wxALL, 1); 70 | szActorName->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 71 | SetSizer(szActorName); 72 | szActorName->Fit(this); 73 | Layout(); 74 | // end wxGlade 75 | } 76 | 77 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorName.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORNAME_H 13 | #define DIALOGEVTCMDACTORNAME_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorName: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorName::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorName(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorName::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorName::attributes 46 | wxStaticBox* szName_staticbox; 47 | wxStaticBox* szActor_staticbox; 48 | wxChoice* chActor; 49 | wxTextCtrl* tcName; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDACTORNAME_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorNameInput.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORNAMEINPUT_H 13 | #define DIALOGEVTCMDACTORNAMEINPUT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorNameInput: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorNameInput::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorNameInput(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorNameInput::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorNameInput::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxStaticBox* szActor_staticbox; 48 | wxChoice* chActor; 49 | wxRadioBox* rbMode; 50 | wxCheckBox* chbShowName; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGEVTCMDACTORNAMEINPUT_H 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorTitle.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORTITLE_H 13 | #define DIALOGEVTCMDACTORTITLE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorTitle: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorTitle::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorTitle(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorTitle::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorTitle::attributes 46 | wxStaticBox* szTitle_staticbox; 47 | wxStaticBox* szActor_staticbox; 48 | wxChoice* chActor; 49 | wxTextCtrl* tcTitle; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDACTORTITLE_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorTransparency.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdActorTransparency.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdActorTransparency::DialogEvtCmdActorTransparency(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdActorTransparency::DialogEvtCmdActorTransparency 23 | const wxString rbOperation_choices[] = { 24 | _("Transparent"), 25 | _("Normal"), 26 | }; 27 | rbOperation = new wxRadioBox(this, wxID_ANY, _("Operation"), wxDefaultPosition, wxDefaultSize, 2, rbOperation_choices, 1, wxRA_SPECIFY_ROWS); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdActorTransparency::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdActorTransparency::set_properties 41 | SetTitle(_("Change actor transparency")); 42 | rbOperation->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdActorTransparency::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdActorTransparency::do_layout 51 | wxBoxSizer* szActorTransparency = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szActorTransparency->Add(rbOperation, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szActorTransparency->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szActorTransparency); 59 | szActorTransparency->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdActorTransparency.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDACTORTRANSPARENCY_H 13 | #define DIALOGEVTCMDACTORTRANSPARENCY_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdActorTransparency: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdActorTransparency::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdActorTransparency(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdActorTransparency::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdActorTransparency::attributes 46 | wxRadioBox* rbOperation; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDACTORTRANSPARENCY_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdAnimation.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDANIMATION_H 13 | #define DIALOGEVTCMDANIMATION_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdAnimation: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdAnimation::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdAnimation(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdAnimation::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdAnimation::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxStaticBox* szTarget_staticbox; 48 | wxStaticBox* SzAnimation2_staticbox; 49 | wxStaticBitmap* bmpAnimation; 50 | wxChoice* chAnimation; 51 | wxChoice* chTarget; 52 | wxCheckBox* chbWait; 53 | wxCheckBox* chbWholeMapRange; 54 | wxButton* btnOK; 55 | wxButton* btnCancel; 56 | wxButton* btnHelp; 57 | // end wxGlade 58 | }; // wxGlade: end class 59 | 60 | 61 | #endif // DIALOGEVTCMDANIMATION_H 62 | -------------------------------------------------------------------------------- /src/DialogEvtCmdBattle.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDBATTLE_H 13 | #define DIALOGEVTCMDBATTLE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdBattle: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdBattle::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdBattle(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdBattle::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdBattle::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxStaticBox* szBackground_staticbox; 48 | wxStaticBox* szTroop_staticbox; 49 | wxRadioButton* rbtnTroopFixed; 50 | wxChoice* chTroopFixed; 51 | wxRadioButton* rbtnTroopVariable; 52 | wxTextCtrl* tcTroopVariable; 53 | wxButton* btnTroopVariable; 54 | wxRadioButton* rbtnBackgroundFromTerrain; 55 | wxRadioButton* rbtnBackgroundSelect; 56 | wxTextCtrl* tcBackground; 57 | wxButton* btnBackground; 58 | wxRadioBox* rbEscape; 59 | wxRadioBox* rbDefeat; 60 | wxCheckBox* chbAlliedFirst; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDBATTLE_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdBlankScreen.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdBlankScreen.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdBlankScreen::DialogEvtCmdBlankScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdBlankScreen::DialogEvtCmdBlankScreen 23 | szMethod_staticbox = new wxStaticBox(this, wxID_ANY, _("Method")); 24 | const wxString chMethod_choices[] = { 25 | _(""), 26 | }; 27 | chMethod = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, chMethod_choices); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdBlankScreen::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdBlankScreen::set_properties 41 | SetTitle(_("Blank screen")); 42 | chMethod->SetMinSize(wxSize(50, -1)); 43 | chMethod->SetSelection(0); 44 | btnOK->SetDefault(); 45 | // end wxGlade 46 | } 47 | 48 | 49 | void DialogEvtCmdBlankScreen::do_layout() 50 | { 51 | // begin wxGlade: DialogEvtCmdBlankScreen::do_layout 52 | wxBoxSizer* szBlankScreen = new wxBoxSizer(wxVERTICAL); 53 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 54 | szMethod_staticbox->Lower(); 55 | wxStaticBoxSizer* szMethod = new wxStaticBoxSizer(szMethod_staticbox, wxHORIZONTAL); 56 | szMethod->Add(chMethod, 1, wxALIGN_CENTER_VERTICAL, 0); 57 | szBlankScreen->Add(szMethod, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 58 | szBottom->Add(btnOK, 0, wxALL, 1); 59 | szBottom->Add(btnCancel, 0, wxALL, 1); 60 | szBottom->Add(btnHelp, 0, wxALL, 1); 61 | szBlankScreen->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 62 | SetSizer(szBlankScreen); 63 | szBlankScreen->Fit(this); 64 | Layout(); 65 | // end wxGlade 66 | } 67 | 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdBlankScreen.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDBLANKSCREEN_H 13 | #define DIALOGEVTCMDBLANKSCREEN_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdBlankScreen: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdBlankScreen::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdBlankScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdBlankScreen::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdBlankScreen::attributes 46 | wxStaticBox* szMethod_staticbox; 47 | wxChoice* chMethod; 48 | wxButton* btnOK; 49 | wxButton* btnCancel; 50 | wxButton* btnHelp; 51 | // end wxGlade 52 | }; // wxGlade: end class 53 | 54 | 55 | #endif // DIALOGEVTCMDBLANKSCREEN_H 56 | -------------------------------------------------------------------------------- /src/DialogEvtCmdCallEvent.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCALLEVENT_H 13 | #define DIALOGEVTCMDCALLEVENT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdCallEvent: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdCallEvent::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdCallEvent(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdCallEvent::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdCallEvent::attributes 47 | wxStaticBox* szEvent_staticbox; 48 | wxRadioButton* rbtnCommonEvent; 49 | wxChoice* chCommonEvent; 50 | wxRadioButton* rbtnMapEvent; 51 | wxChoice* chMapEvent; 52 | wxSpinCtrl* spinMapEvent; 53 | wxStaticText* stMapEvent; 54 | wxRadioButton* rbtnMapEventVariable; 55 | wxTextCtrl* tcMapEventVariableEvent; 56 | wxButton* btnMapEventVariableEvent; 57 | wxStaticText* stMapEventVariableEvent; 58 | wxTextCtrl* tcMapEventVariablePage; 59 | wxButton* btnMapEventVariablePage; 60 | wxStaticText* stMapEventVariablePage; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDCALLEVENT_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdChangeEscapePlace.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCHANGEESCAPEPLACE_H 13 | #define DIALOGEVTCMDCHANGEESCAPEPLACE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdChangeEscapePlace: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdChangeEscapePlace::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdChangeEscapePlace(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdChangeEscapePlace::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdChangeEscapePlace::attributes 46 | wxStaticBox* szSwitch_staticbox; 47 | wxStaticBox* szPosition_staticbox; 48 | wxTextCtrl* tcPosition; 49 | wxButton* btnPosition; 50 | wxCheckBox* chbSwitch; 51 | wxTextCtrl* tcSwitch; 52 | wxButton* btnSwitch; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDCHANGEESCAPEPLACE_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdChangeLevel.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCHANGELEVEL_H 13 | #define DIALOGEVTCMDCHANGELEVEL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdChangeLevel: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdChangeLevel::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdChangeLevel(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdChangeLevel::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdChangeLevel::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szOperand_staticbox; 49 | wxStaticBox* szTarget_staticbox; 50 | wxRadioButton* rbtnTargetParty; 51 | wxRadioButton* rbtnTargetFixed; 52 | wxChoice* chTargetFixed; 53 | wxRadioButton* rbtnTargetVariable; 54 | wxTextCtrl* tcTargetVariable; 55 | wxButton* btnTargetVariable; 56 | wxRadioBox* rbOperation; 57 | wxRadioButton* rbtnOperandConstant; 58 | wxSpinCtrl* spinOperandConstant; 59 | wxRadioButton* rbtnOperandVariable; 60 | wxTextCtrl* tcOperandVariable; 61 | wxButton* btnOperandVariable; 62 | wxCheckBox* chbShowMessage; 63 | wxButton* btnOK; 64 | wxButton* btnCancel; 65 | wxButton* btnHelp; 66 | // end wxGlade 67 | }; // wxGlade: end class 68 | 69 | 70 | #endif // DIALOGEVTCMDCHANGELEVEL_H 71 | -------------------------------------------------------------------------------- /src/DialogEvtCmdChangeVehiclePosition.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCHANGEVEHICLEPOSITION_H 13 | #define DIALOGEVTCMDCHANGEVEHICLEPOSITION_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdChangeVehiclePosition: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdChangeVehiclePosition::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdChangeVehiclePosition(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdChangeVehiclePosition::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdChangeVehiclePosition::attributes 46 | wxStaticBox* szPosition_staticbox; 47 | wxStaticBox* szPositionVariable_staticbox; 48 | wxRadioBox* rbVehicle; 49 | wxRadioButton* rbtnPositionSpecify; 50 | wxTextCtrl* tcPositionSpecify; 51 | wxButton* btnPositionSpecify; 52 | wxRadioButton* rbtnPositionVariable; 53 | wxStaticText* stPositionVariableMapID; 54 | wxTextCtrl* tcPositionVariableMapID; 55 | wxButton* btnPositionVariableMapID; 56 | wxStaticText* stPositionVariableX; 57 | wxTextCtrl* tcPositionVariableX; 58 | wxButton* btnPositionVariableX; 59 | wxStaticText* stPositionVariableY; 60 | wxTextCtrl* tcPositionVariableY; 61 | wxButton* btnPositionVariableY; 62 | wxButton* btnOK; 63 | wxButton* btnCancel; 64 | wxButton* btnHelp; 65 | // end wxGlade 66 | }; // wxGlade: end class 67 | 68 | 69 | #endif // DIALOGEVTCMDCHANGEVEHICLEPOSITION_H 70 | -------------------------------------------------------------------------------- /src/DialogEvtCmdChoice.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCHOICE_H 13 | #define DIALOGEVTCMDCHOICE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdChoice: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdChoice::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdChoice(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdChoice::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdChoice::attributes 46 | wxStaticBox* szOption4_staticbox; 47 | wxStaticBox* szOption3_staticbox; 48 | wxStaticBox* szOption2_staticbox; 49 | wxStaticBox* szOption1_staticbox; 50 | wxTextCtrl* tcOption1; 51 | wxTextCtrl* tcOption2; 52 | wxTextCtrl* tcOption3; 53 | wxTextCtrl* tcOption4; 54 | wxRadioBox* rbCancel; 55 | wxButton* btnOK; 56 | wxButton* btnCancel; 57 | wxButton* btnHelp; 58 | // end wxGlade 59 | }; // wxGlade: end class 60 | 61 | 62 | #endif // DIALOGEVTCMDCHOICE_H 63 | -------------------------------------------------------------------------------- /src/DialogEvtCmdCommerce.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDCOMMERCE_H 13 | #define DIALOGEVTCMDCOMMERCE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdCommerce: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdCommerce::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdCommerce(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdCommerce::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdCommerce::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxStaticBox* szObjects_staticbox; 48 | wxStaticBox* szStyle_staticbox; 49 | wxRadioBox* rbType; 50 | wxChoice* chStyle; 51 | wxListBox* listSell; 52 | wxButton* btnAdd; 53 | wxButton* btnRemove; 54 | wxListBox* listObjects; 55 | wxCheckBox* chbDoNotResell; 56 | wxButton* btnOK; 57 | wxButton* btnCancel; 58 | wxButton* btnHelp; 59 | // end wxGlade 60 | }; // wxGlade: end class 61 | 62 | 63 | #endif // DIALOGEVTCMDCOMMERCE_H 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdDamage.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDDAMAGE_H 13 | #define DIALOGEVTCMDDAMAGE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdDamage: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdDamage::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdDamage(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdDamage::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdDamage::attributes 47 | wxStaticBox* szVariable_staticbox; 48 | wxStaticBox* szAttack2_staticbox; 49 | wxStaticBox* szIntelligence_staticbox; 50 | wxStaticBox* szDefense_staticbox; 51 | wxStaticBox* szAttack_staticbox; 52 | wxStaticBox* szTarget_staticbox; 53 | wxRadioButton* rbtnTargetParty; 54 | wxRadioButton* rbtnTargetFixed; 55 | wxChoice* chTargetFixed; 56 | wxRadioButton* rbtnTargetVariable; 57 | wxTextCtrl* tcTargetVariable; 58 | wxButton* btnTargetVariable; 59 | wxSpinCtrl* spinAttack; 60 | wxSpinCtrl* spinDefense; 61 | wxStaticText* stDefense; 62 | wxSpinCtrl* spinIntelligence; 63 | wxStaticText* stInteligence; 64 | wxSpinCtrl* spinAttack2; 65 | wxCheckBox* chbVariableEnable; 66 | wxTextCtrl* tcVariable; 67 | wxButton* btnVariable; 68 | wxButton* btnOK; 69 | wxButton* btnCancel; 70 | wxButton* btnHelp; 71 | // end wxGlade 72 | }; // wxGlade: end class 73 | 74 | 75 | #endif // DIALOGEVTCMDDAMAGE_H 76 | -------------------------------------------------------------------------------- /src/DialogEvtCmdDeletePicture.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdDeletePicture.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdDeletePicture::DialogEvtCmdDeletePicture(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdDeletePicture::DialogEvtCmdDeletePicture 23 | szPicture_staticbox = new wxStaticBox(this, wxID_ANY, _("Picture number")); 24 | spinPicture = new wxSpinCtrl(this, wxID_ANY, wxT("10"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100); 25 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 26 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 27 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 28 | 29 | set_properties(); 30 | do_layout(); 31 | // end wxGlade 32 | } 33 | 34 | 35 | void DialogEvtCmdDeletePicture::set_properties() 36 | { 37 | // begin wxGlade: DialogEvtCmdDeletePicture::set_properties 38 | SetTitle(_("Delete picture")); 39 | spinPicture->SetMinSize(wxSize(50, -1)); 40 | btnOK->SetDefault(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdDeletePicture::do_layout() 46 | { 47 | // begin wxGlade: DialogEvtCmdDeletePicture::do_layout 48 | wxBoxSizer* szDeletePicture = new wxBoxSizer(wxVERTICAL); 49 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 50 | szPicture_staticbox->Lower(); 51 | wxStaticBoxSizer* szPicture = new wxStaticBoxSizer(szPicture_staticbox, wxHORIZONTAL); 52 | szPicture->Add(spinPicture, 1, wxALIGN_CENTER_VERTICAL, 0); 53 | szDeletePicture->Add(szPicture, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALL, 1); 57 | szDeletePicture->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szDeletePicture); 59 | szDeletePicture->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdDeletePicture.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDDELETEPICTURE_H 13 | #define DIALOGEVTCMDDELETEPICTURE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdDeletePicture: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdDeletePicture::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdDeletePicture(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdDeletePicture::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdDeletePicture::attributes 47 | wxStaticBox* szPicture_staticbox; 48 | wxSpinCtrl* spinPicture; 49 | wxButton* btnOK; 50 | wxButton* btnCancel; 51 | wxButton* btnHelp; 52 | // end wxGlade 53 | }; // wxGlade: end class 54 | 55 | 56 | #endif // DIALOGEVTCMDDELETEPICTURE_H 57 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEncounterRate.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdEncounterRate.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdEncounterRate::DialogEvtCmdEncounterRate(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdEncounterRate::DialogEvtCmdEncounterRate 23 | szSteps_staticbox = new wxStaticBox(this, wxID_ANY, _("Number of steps")); 24 | spinSteps = new wxSpinCtrl(this, wxID_ANY, wxT("10"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100); 25 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 26 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 27 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 28 | 29 | set_properties(); 30 | do_layout(); 31 | // end wxGlade 32 | } 33 | 34 | 35 | void DialogEvtCmdEncounterRate::set_properties() 36 | { 37 | // begin wxGlade: DialogEvtCmdEncounterRate::set_properties 38 | SetTitle(_("Change encounter rate")); 39 | spinSteps->SetMinSize(wxSize(50, -1)); 40 | btnOK->SetDefault(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdEncounterRate::do_layout() 46 | { 47 | // begin wxGlade: DialogEvtCmdEncounterRate::do_layout 48 | wxBoxSizer* szEncounterRate = new wxBoxSizer(wxVERTICAL); 49 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 50 | szSteps_staticbox->Lower(); 51 | wxStaticBoxSizer* szSteps = new wxStaticBoxSizer(szSteps_staticbox, wxHORIZONTAL); 52 | szSteps->Add(spinSteps, 1, wxALIGN_CENTER_VERTICAL, 1); 53 | szEncounterRate->Add(szSteps, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALL, 1); 57 | szEncounterRate->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szEncounterRate); 59 | szEncounterRate->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEncounterRate.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDENCOUNTERRATE_H 13 | #define DIALOGEVTCMDENCOUNTERRATE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdEncounterRate: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdEncounterRate::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdEncounterRate(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdEncounterRate::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdEncounterRate::attributes 47 | wxStaticBox* szSteps_staticbox; 48 | wxSpinCtrl* spinSteps; 49 | wxButton* btnOK; 50 | wxButton* btnCancel; 51 | wxButton* btnHelp; 52 | // end wxGlade 53 | }; // wxGlade: end class 54 | 55 | 56 | #endif // DIALOGEVTCMDENCOUNTERRATE_H 57 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEquipment.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDEQUIPMENT_H 13 | #define DIALOGEVTCMDEQUIPMENT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdEquipment: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdEquipment::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdEquipment(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdEquipment::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdEquipment::attributes 46 | wxStaticBox* szOperand_staticbox; 47 | wxStaticBox* szTarget_staticbox; 48 | wxRadioButton* rbtnTargetParty; 49 | wxRadioButton* rbtnTargetFixed; 50 | wxChoice* chTargetFixed; 51 | wxRadioButton* rbtnTargetVariable; 52 | wxTextCtrl* tcTargetVariable; 53 | wxButton* btnTargetVariable; 54 | wxRadioBox* rbOperation; 55 | wxRadioButton* rbtnOperandConstant; 56 | wxChoice* chOperandConstant; 57 | wxRadioButton* rbtnOperandVariable; 58 | wxTextCtrl* tcOperandVariable; 59 | wxButton* btnOperandVariable; 60 | wxRadioBox* rbRemove; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDEQUIPMENT_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEscapePermissions.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdEscapePermissions.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdEscapePermissions::DialogEvtCmdEscapePermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdEscapePermissions::DialogEvtCmdEscapePermissions 23 | const wxString rbOperation_choices[] = { 24 | _("Forbid escape"), 25 | _("Alllow escape"), 26 | }; 27 | rbOperation = new wxRadioBox(this, wxID_ANY, _("Operation"), wxDefaultPosition, wxDefaultSize, 2, rbOperation_choices, 1, wxRA_SPECIFY_ROWS); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdEscapePermissions::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdEscapePermissions::set_properties 41 | SetTitle(_("Escape permissions")); 42 | rbOperation->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdEscapePermissions::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdEscapePermissions::do_layout 51 | wxBoxSizer* szEscapePermissions = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szEscapePermissions->Add(rbOperation, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szEscapePermissions->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szEscapePermissions); 59 | szEscapePermissions->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEscapePermissions.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDESCAPEPERMISSIONS_H 13 | #define DIALOGEVTCMDESCAPEPERMISSIONS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdEscapePermissions: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdEscapePermissions::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdEscapePermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdEscapePermissions::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdEscapePermissions::attributes 46 | wxRadioBox* rbOperation; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDESCAPEPERMISSIONS_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdEventPosition.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDEVENTPOSITION_H 13 | #define DIALOGEVTCMDEVENTPOSITION_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdEventPosition: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdEventPosition::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdEventPosition(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdEventPosition::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdEventPosition::attributes 46 | wxStaticBox* szPosition_staticbox; 47 | wxStaticBox* szPositionVariable_staticbox; 48 | wxStaticBox* szEvent_staticbox; 49 | wxChoice* chEvent; 50 | wxRadioButton* rbtnPositionEspecify; 51 | wxTextCtrl* tcPositionEspecify; 52 | wxButton* btnPositionEspecify; 53 | wxRadioButton* rbtnPositionVariable; 54 | wxStaticText* stPositionVariableX; 55 | wxTextCtrl* tcPositionVariableX; 56 | wxButton* btnPositionVariableX; 57 | wxStaticText* stPositionVariableY; 58 | wxTextCtrl* tcPositionVariableY; 59 | wxButton* btnPositionVariableY; 60 | wxButton* btnOK; 61 | wxButton* btnCancel; 62 | wxButton* btnHelp; 63 | // end wxGlade 64 | }; // wxGlade: end class 65 | 66 | 67 | #endif // DIALOGEVTCMDEVENTPOSITION_H 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdExperience.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDEXPERIENCE_H 13 | #define DIALOGEVTCMDEXPERIENCE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdExperience: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdExperience::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdExperience(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdExperience::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdExperience::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szOperand_staticbox; 49 | wxStaticBox* szTarget_staticbox; 50 | wxRadioButton* rbtnTargetFixed; 51 | wxRadioButton* rbtnTargetParty; 52 | wxChoice* chFixed; 53 | wxRadioButton* rbtnVariable; 54 | wxTextCtrl* tcTargetVariable; 55 | wxButton* btnTargetVariable; 56 | wxRadioBox* rbOperation; 57 | wxRadioButton* rbtnOperandConstant; 58 | wxSpinCtrl* spinOperandConstant; 59 | wxRadioButton* rbtnOperandVariable; 60 | wxTextCtrl* tcOperandVariable; 61 | wxButton* btnOperandVariable; 62 | wxCheckBox* chbShowMessage; 63 | wxButton* btnOK; 64 | wxButton* btnCancel; 65 | wxButton* btnHelp; 66 | // end wxGlade 67 | }; // wxGlade: end class 68 | 69 | 70 | #endif // DIALOGEVTCMDEXPERIENCE_H 71 | -------------------------------------------------------------------------------- /src/DialogEvtCmdFaceGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDFACEGRAPHIC_H 13 | #define DIALOGEVTCMDFACEGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdFaceGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdFaceGraphic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdFaceGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdFaceGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdFaceGraphic::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxStaticBox* szFaceGraphic2_staticbox; 48 | wxStaticBitmap* bmpFaceGraphic; 49 | wxButton* btnSelect; 50 | wxButton* btnDelete; 51 | wxRadioBox* rbPosition; 52 | wxCheckBox* chbHorizontalMirror; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDFACEGRAPHIC_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdFadeMusic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDFADEMUSIC_H 13 | #define DIALOGEVTCMDFADEMUSIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdFadeMusic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdFadeMusic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdFadeMusic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdFadeMusic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdFadeMusic::attributes 46 | wxStaticBox* szTime_staticbox; 47 | wxSlider* slTime; 48 | wxStaticText* stTime0Seconds; 49 | wxStaticText* stTime5Seconds; 50 | wxStaticText* stTime10Seconds; 51 | wxStaticText* stTime15Seconds; 52 | wxStaticText* stTime20Seconds; 53 | wxButton* btnFade; 54 | wxButton* btnPlay; 55 | wxButton* btnOK; 56 | wxButton* btnCancel; 57 | wxButton* btnHelp; 58 | // end wxGlade 59 | }; // wxGlade: end class 60 | 61 | 62 | #endif // DIALOGEVTCMDFADEMUSIC_H 63 | -------------------------------------------------------------------------------- /src/DialogEvtCmdFlashCharacter.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDFLASHCHARACTER_H 13 | #define DIALOGEVTCMDFLASHCHARACTER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdFlashCharacter: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdFlashCharacter::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdFlashCharacter(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdFlashCharacter::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdFlashCharacter::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szTime_staticbox; 49 | wxStaticBox* szColor_staticbox; 50 | wxStaticBox* szSample_staticbox; 51 | wxStaticBox* szTarget_staticbox; 52 | wxChoice* chTarget; 53 | wxStaticBitmap* bmpSample; 54 | wxStaticText* stColorMin; 55 | wxStaticText* stColorMax; 56 | wxStaticText* stRed; 57 | wxSlider* slRed; 58 | wxSpinCtrl* spinRed; 59 | wxStaticText* stGreen; 60 | wxSlider* slGreen; 61 | wxSpinCtrl* spinGreen; 62 | wxStaticText* stBlue; 63 | wxSlider* slBlue; 64 | wxSpinCtrl* spinBlue; 65 | wxStaticText* stOpacity; 66 | wxSlider* slOpacity; 67 | wxSpinCtrl* spinOpacity; 68 | wxSpinCtrl* spinTime; 69 | wxStaticText* stTime; 70 | wxCheckBox* chbWait; 71 | wxButton* btnOK; 72 | wxButton* btnCancelBtnHel; 73 | wxButton* btnHelp; 74 | // end wxGlade 75 | }; // wxGlade: end class 76 | 77 | 78 | #endif // DIALOGEVTCMDFLASHCHARACTER_H 79 | -------------------------------------------------------------------------------- /src/DialogEvtCmdFlashScreen.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDFLASHSCREEN_H 13 | #define DIALOGEVTCMDFLASHSCREEN_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdFlashScreen: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdFlashScreen::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdFlashScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdFlashScreen::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdFlashScreen::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szTime_staticbox; 49 | wxStaticBox* szColor_staticbox; 50 | wxStaticBox* szSample_staticbox; 51 | wxStaticBitmap* bmpSample; 52 | wxStaticText* stMin; 53 | wxStaticText* stMax; 54 | wxStaticText* stRed; 55 | wxSlider* slRed; 56 | wxSpinCtrl* spinRed; 57 | wxStaticText* stGreen; 58 | wxSlider* slGreen; 59 | wxSpinCtrl* spinGreen; 60 | wxStaticText* stBlue; 61 | wxSlider* slBlue; 62 | wxSpinCtrl* spinBlue; 63 | wxStaticText* stOpacity; 64 | wxSlider* slOpacity; 65 | wxSpinCtrl* spinOpacity; 66 | wxSpinCtrl* spinTime; 67 | wxStaticText* stTime; 68 | wxCheckBox* chbWait; 69 | wxButton* btnOK; 70 | wxButton* btnCancel; 71 | wxButton* btnHelp; 72 | // end wxGlade 73 | }; // wxGlade: end class 74 | 75 | 76 | #endif // DIALOGEVTCMDFLASHSCREEN_H 77 | -------------------------------------------------------------------------------- /src/DialogEvtCmdGetPositionID.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDGETPOSITIONID_H 13 | #define DIALOGEVTCMDGETPOSITIONID_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdGetPositionID: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdGetPositionID::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdGetPositionID(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdGetPositionID::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdGetPositionID::attributes 46 | wxStaticBox* szStoreVariableID_staticbox; 47 | wxStaticBox* szPlace_staticbox; 48 | wxStaticBox* szPlaceVariable_staticbox; 49 | wxRadioButton* rbtnPlaceSpecify; 50 | wxTextCtrl* tcPlaceSpecify; 51 | wxButton* btnPlaceSpecify; 52 | wxRadioButton* rbtnPlaceVariable; 53 | wxStaticText* stPlaceVariableX; 54 | wxTextCtrl* tcPlaceVariableX; 55 | wxButton* btnPlaceVariableX; 56 | wxStaticText* stPlaceVariableY; 57 | wxTextCtrl* tcPlaceVariableY; 58 | wxButton* btnPlaceVariableY; 59 | wxTextCtrl* tcStoreVariableID; 60 | wxButton* btnStoreVariableID; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDGETPOSITIONID_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdGetTerrainID.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDGETTERRAINID_H 13 | #define DIALOGEVTCMDGETTERRAINID_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdGetTerrainID: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdGetTerrainID::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdGetTerrainID(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdGetTerrainID::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdGetTerrainID::attributes 46 | wxStaticBox* szStoreVariableID_staticbox; 47 | wxStaticBox* szPlace_staticbox; 48 | wxStaticBox* szPlaceVariable_staticbox; 49 | wxRadioButton* rbtnPlaceSpecify; 50 | wxTextCtrl* tcPlaceSpecify; 51 | wxButton* btnPlaceSpecify; 52 | wxRadioButton* rbtnPlaceVariable; 53 | wxStaticText* stlPlaceVariableX; 54 | wxTextCtrl* tcPlaceVariableX; 55 | wxButton* btnPlaceVariableX; 56 | wxStaticText* stPlaceVariableY; 57 | wxTextCtrl* tcPlaceVariableY; 58 | wxButton* btnPlaceVariableY; 59 | wxTextCtrl* tcStoreVariableID; 60 | wxButton* btnStoreVariableID; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDGETTERRAINID_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdGoToLabel.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdGoToLabel.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdGoToLabel::DialogEvtCmdGoToLabel(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdGoToLabel::DialogEvtCmdGoToLabel 23 | szNumber_staticbox = new wxStaticBox(this, wxID_ANY, _("Label number")); 24 | spinNumber = new wxSpinCtrl(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100); 25 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 26 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 27 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 28 | 29 | set_properties(); 30 | do_layout(); 31 | // end wxGlade 32 | } 33 | 34 | 35 | void DialogEvtCmdGoToLabel::set_properties() 36 | { 37 | // begin wxGlade: DialogEvtCmdGoToLabel::set_properties 38 | SetTitle(_("Go to label")); 39 | spinNumber->SetMinSize(wxSize(50, -1)); 40 | btnOK->SetDefault(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdGoToLabel::do_layout() 46 | { 47 | // begin wxGlade: DialogEvtCmdGoToLabel::do_layout 48 | wxBoxSizer* szGoToLabel = new wxBoxSizer(wxVERTICAL); 49 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 50 | szNumber_staticbox->Lower(); 51 | wxStaticBoxSizer* szNumber = new wxStaticBoxSizer(szNumber_staticbox, wxHORIZONTAL); 52 | szNumber->Add(spinNumber, 1, wxALIGN_CENTER_VERTICAL, 0); 53 | szGoToLabel->Add(szNumber, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szGoToLabel->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szGoToLabel); 59 | szGoToLabel->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdGoToLabel.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDGOTOLABEL_H 13 | #define DIALOGEVTCMDGOTOLABEL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdGoToLabel: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdGoToLabel::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdGoToLabel(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdGoToLabel::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdGoToLabel::attributes 47 | wxStaticBox* szNumber_staticbox; 48 | wxSpinCtrl* spinNumber; 49 | wxButton* btnOK; 50 | wxButton* btnCancel; 51 | wxButton* btnHelp; 52 | // end wxGlade 53 | }; // wxGlade: end class 54 | 55 | 56 | #endif // DIALOGEVTCMDGOTOLABEL_H 57 | -------------------------------------------------------------------------------- /src/DialogEvtCmdGoToMemorizedPlace.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDGOTOMEMORIZEDPLACE_H 13 | #define DIALOGEVTCMDGOTOMEMORIZEDPLACE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdGoToMemorizedPlace: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdGoToMemorizedPlace::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdGoToMemorizedPlace(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdGoToMemorizedPlace::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdGoToMemorizedPlace::attributes 46 | wxStaticBox* szVariable_staticbox; 47 | wxStaticText* stVariableMapID; 48 | wxTextCtrl* tcVariableMapID; 49 | wxButton* btnVariableMapID; 50 | wxStaticText* stVariableX; 51 | wxTextCtrl* tcVariableX; 52 | wxButton* btnVariableX; 53 | wxStaticText* stVariableY; 54 | wxTextCtrl* tcVariableY; 55 | wxButton* btnVariableY; 56 | wxButton* btnOK; 57 | wxButton* btnCancel; 58 | wxButton* btnHelp; 59 | // end wxGlade 60 | }; // wxGlade: end class 61 | 62 | 63 | #endif // DIALOGEVTCMDGOTOMEMORIZEDPLACE_H 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdHP.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDHP_H 13 | #define DIALOGEVTCMDHP_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdHP: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdHP::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdHP(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdHP::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdHP::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szOperand_staticbox; 49 | wxStaticBox* szTarget_staticbox; 50 | wxRadioButton* rbtnTargetParty; 51 | wxRadioButton* rbtnTargetFixed; 52 | wxChoice* chTargetFixed; 53 | wxRadioButton* rbtnTargetVariable; 54 | wxTextCtrl* tcTargetVariable; 55 | wxButton* btnTargetVariable; 56 | wxRadioBox* rbOperation; 57 | wxRadioButton* rbtnOperandConstant; 58 | wxSpinCtrl* spinOperandConstant; 59 | wxRadioButton* rbtnOperandVariable; 60 | wxTextCtrl* tcOperandVariable; 61 | wxButton* btnOperandVariable; 62 | wxCheckBox* chbAllowNoBattle; 63 | wxButton* btnOK; 64 | wxButton* btnCancel; 65 | wxButton* btnHelp; 66 | // end wxGlade 67 | }; // wxGlade: end class 68 | 69 | 70 | #endif // DIALOGEVTCMDHP_H 71 | -------------------------------------------------------------------------------- /src/DialogEvtCmdInn.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDINN_H 13 | #define DIALOGEVTCMDINN_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdInn: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdInn::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdInn(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdInn::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdInn::attributes 47 | wxStaticBox* SzOptions_staticbox; 48 | wxStaticBox* szPrice_staticbox; 49 | wxStaticBox* szMessage_staticbox; 50 | wxChoice* chMessage; 51 | wxSpinCtrl* spin_ctrl_1; 52 | wxCheckBox* ChkCondition; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDINN_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdItem.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDITEM_H 13 | #define DIALOGEVTCMDITEM_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdItem: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdItem::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdItem(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdItem::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdItem::attributes 47 | wxStaticBox* szOperand_staticbox; 48 | wxStaticBox* szObject_staticbox; 49 | wxRadioBox* rbOperation; 50 | wxRadioButton* rbtnObjectFixed; 51 | wxChoice* chObjectFixed; 52 | wxRadioButton* rbtnObjectVariable; 53 | wxTextCtrl* tcObjectVariable; 54 | wxButton* btnObjectVariable; 55 | wxRadioButton* rbtnOperandConstant; 56 | wxSpinCtrl* spinOperandConstant; 57 | wxRadioButton* rbtnOperandVariable; 58 | wxTextCtrl* tcOperandVariable; 59 | wxButton* btnOperandVariable; 60 | wxButton* btnOK; 61 | wxButton* btnCancel; 62 | wxButton* btnHelp; 63 | // end wxGlade 64 | }; // wxGlade: end class 65 | 66 | 67 | #endif // DIALOGEVTCMDITEM_H 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdKeyAssignment.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDKEYASSIGNMENT_H 13 | #define DIALOGEVTCMDKEYASSIGNMENT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdKeyAssignment: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdKeyAssignment::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdKeyAssignment(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdKeyAssignment::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdKeyAssignment::attributes 46 | wxStaticBox* szKeys_staticbox; 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szVariable_staticbox; 49 | wxTextCtrl* tcVariable; 50 | wxButton* btnVariable; 51 | wxCheckBox* chbWait; 52 | wxCheckBox* chbDown; 53 | wxCheckBox* chbDecision; 54 | wxCheckBox* chbLeft; 55 | wxCheckBox* chbCancel; 56 | wxCheckBox* chbRight; 57 | wxCheckBox* chbShift; 58 | wxCheckBox* chbUp; 59 | wxButton* btnOK; 60 | wxButton* btnCancel; 61 | wxButton* btnHelp; 62 | // end wxGlade 63 | }; // wxGlade: end class 64 | 65 | 66 | #endif // DIALOGEVTCMDKEYASSIGNMENT_H 67 | -------------------------------------------------------------------------------- /src/DialogEvtCmdLabel.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdLabel.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdLabel::DialogEvtCmdLabel(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdLabel::DialogEvtCmdLabel 23 | szNumber_staticbox = new wxStaticBox(this, wxID_ANY, _("Label number")); 24 | spinNumber = new wxSpinCtrl(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100); 25 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 26 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 27 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 28 | 29 | set_properties(); 30 | do_layout(); 31 | // end wxGlade 32 | } 33 | 34 | 35 | void DialogEvtCmdLabel::set_properties() 36 | { 37 | // begin wxGlade: DialogEvtCmdLabel::set_properties 38 | SetTitle(_("Set label")); 39 | spinNumber->SetMinSize(wxSize(50, -1)); 40 | btnOK->SetDefault(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdLabel::do_layout() 46 | { 47 | // begin wxGlade: DialogEvtCmdLabel::do_layout 48 | wxBoxSizer* szLabel = new wxBoxSizer(wxVERTICAL); 49 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 50 | szNumber_staticbox->Lower(); 51 | wxStaticBoxSizer* szNumber = new wxStaticBoxSizer(szNumber_staticbox, wxHORIZONTAL); 52 | szNumber->Add(spinNumber, 1, wxALIGN_CENTER_VERTICAL, 0); 53 | szLabel->Add(szNumber, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szLabel->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szLabel); 59 | szLabel->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdLabel.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDLABEL_H 13 | #define DIALOGEVTCMDLABEL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdLabel: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdLabel::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdLabel(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdLabel::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdLabel::attributes 47 | wxStaticBox* szNumber_staticbox; 48 | wxSpinCtrl* spinNumber; 49 | wxButton* btnOK; 50 | wxButton* btnCancel; 51 | wxButton* btnHelp; 52 | // end wxGlade 53 | }; // wxGlade: end class 54 | 55 | 56 | #endif // DIALOGEVTCMDLABEL_H 57 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMP.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMP_H 13 | #define DIALOGEVTCMDMP_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdMP: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdMP::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdMP(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdMP::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdMP::attributes 47 | wxStaticBox* szOperand_staticbox; 48 | wxStaticBox* szTarget_staticbox; 49 | wxRadioButton* rbtnTargetParty; 50 | wxRadioButton* rbtnTargetFixed; 51 | wxChoice* chTargetFixed; 52 | wxRadioButton* rbtnTargetVariable; 53 | wxTextCtrl* tcTargetVariable; 54 | wxButton* btnTargetVariable; 55 | wxRadioBox* rbtnOperation; 56 | wxRadioButton* rbtnOperandConstant; 57 | wxSpinCtrl* spinOperandConstant; 58 | wxRadioButton* rbtnOperandVariable; 59 | wxTextCtrl* tcOperandVariable; 60 | wxButton* btnOperandVariable; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDMP_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMemorizePlace.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMEMORIZEPLACE_H 13 | #define DIALOGEVTCMDMEMORIZEPLACE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdMemorizePlace: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdMemorizePlace::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdMemorizePlace(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdMemorizePlace::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdMemorizePlace::attributes 46 | wxStaticBox* szVariable_staticbox; 47 | wxStaticText* stVariableMapID; 48 | wxTextCtrl* tcVariableMapID; 49 | wxButton* btnVariableMapID; 50 | wxStaticText* stVariableX; 51 | wxTextCtrl* tcVariableX; 52 | wxButton* btnVariableX; 53 | wxStaticText* stVariableY; 54 | wxTextCtrl* tcVariableY; 55 | wxButton* btnVariableY; 56 | wxButton* btnOK; 57 | wxButton* btnCancel; 58 | wxButton* btnHelp; 59 | // end wxGlade 60 | }; // wxGlade: end class 61 | 62 | 63 | #endif // DIALOGEVTCMDMEMORIZEPLACE_H 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMessage.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdMessage.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdMessage::DialogEvtCmdMessage(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdMessage::DialogEvtCmdMessage 23 | tcMessage = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_WORDWRAP); 24 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 25 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 26 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 27 | 28 | set_properties(); 29 | do_layout(); 30 | // end wxGlade 31 | } 32 | 33 | 34 | void DialogEvtCmdMessage::set_properties() 35 | { 36 | // begin wxGlade: DialogEvtCmdMessage::set_properties 37 | SetTitle(_("Show message")); 38 | tcMessage->SetMinSize(wxSize(523, 78)); 39 | tcMessage->SetFont(wxFont(0, wxMODERN, wxNORMAL, wxNORMAL, 0, wxT(""))); 40 | btnOK->SetDefault(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdMessage::do_layout() 46 | { 47 | // begin wxGlade: DialogEvtCmdMessage::do_layout 48 | wxBoxSizer* szMessage = new wxBoxSizer(wxVERTICAL); 49 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 50 | szMessage->Add(tcMessage, 1, wxALL|wxEXPAND, 1); 51 | szBottom->Add(btnOK, 0, wxALL, 1); 52 | szBottom->Add(btnCancel, 0, wxALL, 1); 53 | szBottom->Add(btnHelp, 0, wxALL, 1); 54 | szMessage->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 55 | SetSizer(szMessage); 56 | szMessage->Fit(this); 57 | Layout(); 58 | // end wxGlade 59 | } 60 | 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMessage.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMESSAGE_H 13 | #define DIALOGEVTCMDMESSAGE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdMessage: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdMessage::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdMessage(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdMessage::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdMessage::attributes 46 | wxTextCtrl* tcMessage; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDMESSAGE_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMessageOptions.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMESSAGEOPTIONS_H 13 | #define DIALOGEVTCMDMESSAGEOPTIONS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdMessageOptions: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdMessageOptions::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdMessageOptions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdMessageOptions::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdMessageOptions::attributes 46 | wxStaticBox* szOptions_staticbox; 47 | wxRadioBox* rbWindowType; 48 | wxRadioBox* rbWindowPosition; 49 | wxCheckBox* chbDoNotCoverPlayer; 50 | wxCheckBox* chbDoNotStopEvent; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGEVTCMDMESSAGEOPTIONS_H 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMoney.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMONEY_H 13 | #define DIALOGEVTCMDMONEY_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdMoney: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdMoney::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdMoney(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdMoney::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdMoney::attributes 47 | wxStaticBox* SzOperandRight_staticbox; 48 | wxRadioBox* rbOperation; 49 | wxRadioButton* RadioConstant; 50 | wxSpinCtrl* SpinConstant; 51 | wxRadioButton* RadioVar; 52 | wxTextCtrl* TextVar; 53 | wxButton* BtnVar; 54 | wxButton* btnOK; 55 | wxButton* btnCancel; 56 | wxButton* btnHelp; 57 | // end wxGlade 58 | }; // wxGlade: end class 59 | 60 | 61 | #endif // DIALOGEVTCMDMONEY_H 62 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMovePicture.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMOVEPICTURE_H 13 | #define DIALOGEVTCMDMOVEPICTURE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdMovePicture: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdMovePicture::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdMovePicture(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdMovePicture::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdMovePicture::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szTime_staticbox; 49 | wxStaticBox* szAttributes_staticbox; 50 | wxStaticBox* szTrasparency_staticbox; 51 | wxStaticBox* szIntensity_staticbox; 52 | wxStaticBox* szPicture_staticbox; 53 | wxStaticBox* szNumber_staticbox; 54 | wxSpinCtrl* spinNumber; 55 | wxRadioButton* rbtnSpecify; 56 | wxStaticText* stSpecifyX; 57 | wxSpinCtrl* spinSpecifyX; 58 | wxStaticText* stSpecifyY; 59 | wxSpinCtrl* spinSpecifyY; 60 | wxRadioButton* rbtnVariable; 61 | wxStaticText* stVariableX; 62 | wxTextCtrl* tcVariableX; 63 | wxButton* btnVariableX; 64 | wxStaticText* stVariableY; 65 | wxTextCtrl* tcVariableY; 66 | wxButton* btnVariableY; 67 | wxSpinCtrl* spinIntensity; 68 | wxStaticText* stIntensity; 69 | wxSpinCtrl* spinTrasparency; 70 | wxStaticText* stTrasparency; 71 | wxTextCtrl* tcAttributes; 72 | wxButton* btnAttributes; 73 | wxSpinCtrl* spinTime; 74 | wxStaticText* stTime; 75 | wxCheckBox* chbWait; 76 | wxButton* btnOK; 77 | wxButton* btnCancel; 78 | wxButton* btnHelp; 79 | // end wxGlade 80 | }; // wxGlade: end class 81 | 82 | 83 | #endif // DIALOGEVTCMDMOVEPICTURE_H 84 | -------------------------------------------------------------------------------- /src/DialogEvtCmdMoveScreen.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDMOVESCREEN_H 13 | #define DIALOGEVTCMDMOVESCREEN_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdMoveScreen: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdMoveScreen::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdMoveScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdMoveScreen::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdMoveScreen::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szSpeed_staticbox; 49 | wxStaticBox* szTiles_staticbox; 50 | wxStaticBox* szDirection_staticbox; 51 | wxRadioBox* rbOperation; 52 | wxRadioButton* rbtnUp; 53 | wxRadioButton* rbtnLeft; 54 | wxRadioButton* rbtnRight; 55 | wxRadioButton* rbtnDown; 56 | wxSpinCtrl* spinTiles; 57 | wxChoice* chSpeed; 58 | wxCheckBox* chbWait; 59 | wxButton* btnOK; 60 | wxButton* btnCancel; 61 | wxButton* btnHelp; 62 | // end wxGlade 63 | }; // wxGlade: end class 64 | 65 | 66 | #endif // DIALOGEVTCMDMOVESCREEN_H 67 | -------------------------------------------------------------------------------- /src/DialogEvtCmdNotes.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdNotes.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdNotes::DialogEvtCmdNotes(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdNotes::DialogEvtCmdNotes 23 | tcNotes = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_WORDWRAP); 24 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 25 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 26 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 27 | 28 | set_properties(); 29 | do_layout(); 30 | // end wxGlade 31 | } 32 | 33 | 34 | void DialogEvtCmdNotes::set_properties() 35 | { 36 | // begin wxGlade: DialogEvtCmdNotes::set_properties 37 | SetTitle(_("Notes")); 38 | btnOK->SetDefault(); 39 | // end wxGlade 40 | } 41 | 42 | 43 | void DialogEvtCmdNotes::do_layout() 44 | { 45 | // begin wxGlade: DialogEvtCmdNotes::do_layout 46 | wxBoxSizer* szNotes = new wxBoxSizer(wxVERTICAL); 47 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 48 | szNotes->Add(tcNotes, 1, wxALL|wxEXPAND, 1); 49 | szBottom->Add(btnOK, 0, wxALL, 1); 50 | szBottom->Add(btnCancel, 0, wxALL, 1); 51 | szBottom->Add(btnHelp, 0, wxALL, 1); 52 | szNotes->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 53 | SetSizer(szNotes); 54 | szNotes->Fit(this); 55 | Layout(); 56 | // end wxGlade 57 | } 58 | 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdNotes.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDNOTES_H 13 | #define DIALOGEVTCMDNOTES_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdNotes: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdNotes::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdNotes(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdNotes::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdNotes::attributes 46 | wxTextCtrl* tcNotes; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDNOTES_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdNumberInput.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDNUMBERINPUT_H 13 | #define DIALOGEVTCMDNUMBERINPUT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdNumberInput: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdNumberInput::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdNumberInput(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdNumberInput::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdNumberInput::attributes 47 | wxStaticBox* szVariable_staticbox; 48 | wxStaticBox* szFigures_staticbox; 49 | wxSpinCtrl* spinFigures; 50 | wxTextCtrl* tcVariable; 51 | wxButton* btnVariable; 52 | wxButton* btnOK; 53 | wxButton* btnCancel; 54 | wxButton* btnHelp; 55 | // end wxGlade 56 | }; // wxGlade: end class 57 | 58 | 59 | #endif // DIALOGEVTCMDNUMBERINPUT_H 60 | -------------------------------------------------------------------------------- /src/DialogEvtCmdPanorama.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPANORAMA_H 13 | #define DIALOGEVTCMDPANORAMA_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | #include 27 | // end wxGlade 28 | 29 | // begin wxGlade: ::extracode 30 | // end wxGlade 31 | 32 | 33 | class DialogEvtCmdPanorama: public wxDialog { 34 | public: 35 | // begin wxGlade: DialogEvtCmdPanorama::ids 36 | // end wxGlade 37 | 38 | DialogEvtCmdPanorama(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 39 | 40 | private: 41 | // begin wxGlade: DialogEvtCmdPanorama::methods 42 | void set_properties(); 43 | void do_layout(); 44 | // end wxGlade 45 | 46 | protected: 47 | // begin wxGlade: DialogEvtCmdPanorama::attributes 48 | wxStaticBox* szOptions_staticbox; 49 | wxStaticBox* szBackground_staticbox; 50 | wxStaticBitmap* bmpBackground; 51 | wxButton* btnBackground; 52 | wxCheckBox* btnHScroll; 53 | wxCheckBox* chbHScrollAuto; 54 | wxStaticText* stHScrollSpeed; 55 | wxSpinCtrl* spinHScrollSpeed; 56 | wxStaticLine* lineOptions; 57 | wxCheckBox* btnVScroll; 58 | wxCheckBox* chbVScrollAuto; 59 | wxStaticText* stVcrollSpeed; 60 | wxSpinCtrl* spinVScrollSpeed; 61 | wxButton* btnOK; 62 | wxButton* btnCancel; 63 | wxButton* btnHelp; 64 | // end wxGlade 65 | }; // wxGlade: end class 66 | 67 | 68 | #endif // DIALOGEVTCMDPANORAMA_H 69 | -------------------------------------------------------------------------------- /src/DialogEvtCmdParameter.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPARAMETER_H 13 | #define DIALOGEVTCMDPARAMETER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdParameter: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdParameter::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdParameter(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdParameter::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdParameter::attributes 47 | wxStaticBox* szOperand_staticbox; 48 | wxStaticBox* szType_staticbox; 49 | wxStaticBox* szTarget_staticbox; 50 | wxRadioButton* rbtnTargetParty; 51 | wxRadioButton* rbtnTargetFixed; 52 | wxChoice* chTargetFixed; 53 | wxRadioButton* rbtnTargetVariable; 54 | wxTextCtrl* tcTargetVariable; 55 | wxButton* btnTargetVariable; 56 | wxRadioBox* rbOperation; 57 | wxChoice* chType; 58 | wxRadioButton* rbtnOperandConstant; 59 | wxSpinCtrl* spinOperandConstant; 60 | wxRadioButton* rbtnOperandVar; 61 | wxTextCtrl* tcOperandVariable; 62 | wxButton* btnOperandVariable; 63 | wxButton* btnOK; 64 | wxButton* btnCancel; 65 | wxButton* btnHelp; 66 | // end wxGlade 67 | }; // wxGlade: end class 68 | 69 | 70 | #endif // DIALOGEVTCMDPARAMETER_H 71 | -------------------------------------------------------------------------------- /src/DialogEvtCmdParty.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPARTY_H 13 | #define DIALOGEVTCMDPARTY_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdParty: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdParty::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdParty(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdParty::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdParty::attributes 46 | wxStaticBox* szActor_staticbox; 47 | wxRadioBox* rbOperation; 48 | wxRadioButton* rbtnActorFixed; 49 | wxChoice* chActorFixed; 50 | wxRadioButton* rbtnActorVariable; 51 | wxTextCtrl* tcActorVariable; 52 | wxButton* btnActorVariable; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDPARTY_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdPicture.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPICTURE_H 13 | #define DIALOGEVTCMDPICTURE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | #include 27 | // end wxGlade 28 | 29 | // begin wxGlade: ::extracode 30 | // end wxGlade 31 | 32 | 33 | class DialogEvtCmdPicture: public wxDialog { 34 | public: 35 | // begin wxGlade: DialogEvtCmdPicture::ids 36 | // end wxGlade 37 | 38 | DialogEvtCmdPicture(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 39 | 40 | private: 41 | // begin wxGlade: DialogEvtCmdPicture::methods 42 | void set_properties(); 43 | void do_layout(); 44 | // end wxGlade 45 | 46 | protected: 47 | // begin wxGlade: DialogEvtCmdPicture::attributes 48 | wxStaticBox* szAttributes_staticbox; 49 | wxStaticBox* szTrasparency_staticbox; 50 | wxStaticBox* szIntensity_staticbox; 51 | wxStaticBox* szPosition_staticbox; 52 | wxStaticBox* szPicture2_staticbox; 53 | wxStaticBox* szNumber_staticbox; 54 | wxSpinCtrl* spinNumber; 55 | wxTextCtrl* tcPicture; 56 | wxButton* btnPicture; 57 | wxRadioButton* rbtnSpecify; 58 | wxStaticText* stSpecifyX; 59 | wxSpinCtrl* spinSpecifyX; 60 | wxStaticText* stSpecifyY; 61 | wxSpinCtrl* spinSpecifyY; 62 | wxRadioButton* rbtnVariable; 63 | wxStaticText* stVariableX; 64 | wxTextCtrl* tcVariableX; 65 | wxButton* btnVariableX; 66 | wxStaticText* stVariableY; 67 | wxTextCtrl* tcVariableY; 68 | wxButton* btnVariableY; 69 | wxStaticLine* linePicture; 70 | wxCheckBox* chbScrollMapFix; 71 | wxSpinCtrl* spinIntensity; 72 | wxStaticText* stIntensity; 73 | wxSpinCtrl* spinTrasparency; 74 | wxStaticText* stTrasparency; 75 | wxRadioBox* rbTrasparentColor; 76 | wxTextCtrl* tcAttributes; 77 | wxButton* btnAttributes; 78 | wxButton* btnOK; 79 | wxButton* btnCancel; 80 | wxButton* btnHelp; 81 | // end wxGlade 82 | }; // wxGlade: end class 83 | 84 | 85 | #endif // DIALOGEVTCMDPICTURE_H 86 | -------------------------------------------------------------------------------- /src/DialogEvtCmdPlayMusic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPLAYMUSIC_H 13 | #define DIALOGEVTCMDPLAYMUSIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdPlayMusic: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdPlayMusic::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdPlayMusic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdPlayMusic::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdPlayMusic::attributes 47 | wxStaticBox* szBalance_staticbox; 48 | wxStaticBox* szTempo_staticbox; 49 | wxStaticBox* szVolume_staticbox; 50 | wxStaticBox* szFadeIn_staticbox; 51 | wxListBox* listMusic; 52 | wxSlider* slFadeIn; 53 | wxStaticText* stFadeInNone; 54 | wxStaticText* stFadeIn5Seconds; 55 | wxStaticText* stFadeIn10Seconds; 56 | wxSlider* slVolume; 57 | wxStaticText* stVolume0Percent; 58 | wxStaticText* stVolume50Percent; 59 | wxStaticText* stVolume100Percent; 60 | wxSlider* slTempo; 61 | wxStaticText* stTempo50Percent; 62 | wxStaticText* stTempo100Percent; 63 | wxStaticText* stTempo150Percent; 64 | wxSlider* slBalance; 65 | wxStaticText* stBalanceLeft; 66 | wxStaticText* stBalanceCenter; 67 | wxStaticText* stBalanceRight; 68 | wxButton* btnPlay; 69 | wxButton* btnStop; 70 | wxStaticLine* linePlayMusic; 71 | wxButton* btnOK; 72 | wxButton* btnCancel; 73 | wxButton* btnHelp; 74 | // end wxGlade 75 | }; // wxGlade: end class 76 | 77 | 78 | #endif // DIALOGEVTCMDPLAYMUSIC_H 79 | -------------------------------------------------------------------------------- /src/DialogEvtCmdPlaySound.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPLAYSOUND_H 13 | #define DIALOGEVTCMDPLAYSOUND_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdPlaySound: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdPlaySound::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdPlaySound(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdPlaySound::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdPlaySound::attributes 47 | wxStaticBox* szBalance_staticbox; 48 | wxStaticBox* szTempo_staticbox; 49 | wxStaticBox* szVolume_staticbox; 50 | wxStaticBox* szFadeIn_staticbox; 51 | wxListBox* listSound; 52 | wxSlider* slFadeIn; 53 | wxStaticText* stFadeInNone; 54 | wxStaticText* stFadeIn5Seconds; 55 | wxStaticText* stFadeIn10Seconds; 56 | wxSlider* slVolume; 57 | wxStaticText* stVolume0Percent; 58 | wxStaticText* stVolume50Percent; 59 | wxStaticText* stVolume100Percent; 60 | wxSlider* slTempo; 61 | wxStaticText* stTempo50Percent; 62 | wxStaticText* stTempo100Percent; 63 | wxStaticText* stTempo150Percent; 64 | wxSlider* slBalance; 65 | wxStaticText* stBalanceLeft; 66 | wxStaticText* stBalanceCenter; 67 | wxStaticText* stBalanceRight; 68 | wxButton* btnPlay; 69 | wxButton* btnStop; 70 | wxStaticLine* linePlayMusic; 71 | wxButton* btnOK; 72 | wxButton* btnCancel; 73 | wxButton* btnHelp; 74 | // end wxGlade 75 | }; // wxGlade: end class 76 | 77 | 78 | #endif // DIALOGEVTCMDPLAYSOUND_H 79 | -------------------------------------------------------------------------------- /src/DialogEvtCmdPlayVideo.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDPLAYVIDEO_H 13 | #define DIALOGEVTCMDPLAYVIDEO_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdPlayVideo: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdPlayVideo::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdPlayVideo(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdPlayVideo::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdPlayVideo::attributes 47 | wxStaticBox* szPosition_staticbox; 48 | wxStaticBox* szSize_staticbox; 49 | wxStaticBox* szFile_staticbox; 50 | wxTextCtrl* stVideo; 51 | wxButton* btnVideo; 52 | wxSpinCtrl* spinSizeX; 53 | wxStaticText* stSize; 54 | wxSpinCtrl* spinSizeY; 55 | wxRadioButton* rbtnSpecify; 56 | wxStaticText* szSpecifyX; 57 | wxSpinCtrl* spinSpecifyX; 58 | wxStaticText* stSpecifyY; 59 | wxSpinCtrl* spinSpecifyY; 60 | wxRadioButton* rbtnVariable; 61 | wxStaticText* stVariableX; 62 | wxTextCtrl* tcVariableX; 63 | wxButton* btnVariableX; 64 | wxStaticText* stVariableY; 65 | wxTextCtrl* tcVariableY; 66 | wxButton* btnVariableY; 67 | wxButton* btnOK; 68 | wxButton* btnCancel; 69 | wxButton* btnHelp; 70 | // end wxGlade 71 | }; // wxGlade: end class 72 | 73 | 74 | #endif // DIALOGEVTCMDPLAYVIDEO_H 75 | -------------------------------------------------------------------------------- /src/DialogEvtCmdRecover.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDRECOVER_H 13 | #define DIALOGEVTCMDRECOVER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdRecover: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdRecover::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdRecover(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdRecover::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdRecover::attributes 46 | wxStaticBox* szTarget_staticbox; 47 | wxRadioButton* rbtnTargetParty; 48 | wxRadioButton* rbtnTargetFixed; 49 | wxChoice* chTargetFixed; 50 | wxRadioButton* rbtnTargetVariable; 51 | wxTextCtrl* tcTargetVariable; 52 | wxButton* btnTargetVariable; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDRECOVER_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSavePermissions.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdSavePermissions.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdSavePermissions::DialogEvtCmdSavePermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdSavePermissions::DialogEvtCmdSavePermissions 23 | const wxString rbOperation_choices[] = { 24 | _("Forbid saving"), 25 | _("Alllow saving"), 26 | }; 27 | rbOperation = new wxRadioBox(this, wxID_ANY, _("Operation"), wxDefaultPosition, wxDefaultSize, 2, rbOperation_choices, 1, wxRA_SPECIFY_ROWS); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdSavePermissions::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdSavePermissions::set_properties 41 | SetTitle(_("Save permissions")); 42 | rbOperation->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdSavePermissions::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdSavePermissions::do_layout 51 | wxBoxSizer* szSavePermissions = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szSavePermissions->Add(rbOperation, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szSavePermissions->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szSavePermissions); 59 | szSavePermissions->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSavePermissions.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSAVEPERMISSIONS_H 13 | #define DIALOGEVTCMDSAVEPERMISSIONS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSavePermissions: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSavePermissions::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSavePermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSavePermissions::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSavePermissions::attributes 46 | wxRadioBox* rbOperation; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDSAVEPERMISSIONS_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdShake.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSHAKE_H 13 | #define DIALOGEVTCMDSHAKE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdShake: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdShake::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdShake(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdShake::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdShake::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szTime_staticbox; 49 | wxStaticBox* szSpeed_staticbox; 50 | wxStaticBox* szStrength_staticbox; 51 | wxSlider* slStrength; 52 | wxStaticText* stStrengthLower; 53 | wxStaticText* szStrengthNormal; 54 | wxStaticText* stStrengthHigher; 55 | wxSlider* slSpeed; 56 | wxStaticText* stSpeedSlower; 57 | wxStaticText* stSpeedNormal; 58 | wxStaticText* stSpeedFaster; 59 | wxSpinCtrl* spinTime; 60 | wxStaticText* stTime; 61 | wxCheckBox* chbWait; 62 | wxButton* btnOK; 63 | wxButton* btnCancel; 64 | wxButton* btnHelp; 65 | // end wxGlade 66 | }; // wxGlade: end class 67 | 68 | 69 | #endif // DIALOGEVTCMDSHAKE_H 70 | -------------------------------------------------------------------------------- /src/DialogEvtCmdShowScreen.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdShowScreen.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdShowScreen::DialogEvtCmdShowScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdShowScreen::DialogEvtCmdShowScreen 23 | szMethod_staticbox = new wxStaticBox(this, wxID_ANY, _("Method")); 24 | const wxString chMethod_choices[] = { 25 | _(""), 26 | }; 27 | chMethod = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, chMethod_choices); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdShowScreen::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdShowScreen::set_properties 41 | SetTitle(_("Show screen")); 42 | chMethod->SetMinSize(wxSize(50, -1)); 43 | chMethod->SetSelection(0); 44 | btnOK->SetDefault(); 45 | // end wxGlade 46 | } 47 | 48 | 49 | void DialogEvtCmdShowScreen::do_layout() 50 | { 51 | // begin wxGlade: DialogEvtCmdShowScreen::do_layout 52 | wxBoxSizer* szShowScreen = new wxBoxSizer(wxVERTICAL); 53 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 54 | szMethod_staticbox->Lower(); 55 | wxStaticBoxSizer* szMethod = new wxStaticBoxSizer(szMethod_staticbox, wxHORIZONTAL); 56 | szMethod->Add(chMethod, 1, wxALIGN_CENTER_VERTICAL, 0); 57 | szShowScreen->Add(szMethod, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 58 | szBottom->Add(btnOK, 0, wxALL, 1); 59 | szBottom->Add(btnCancel, 0, wxALL, 1); 60 | szBottom->Add(btnHelp, 0, wxALL, 1); 61 | szShowScreen->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 62 | SetSizer(szShowScreen); 63 | szShowScreen->Fit(this); 64 | Layout(); 65 | // end wxGlade 66 | } 67 | 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdShowScreen.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSHOWSCREEN_H 13 | #define DIALOGEVTCMDSHOWSCREEN_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdShowScreen: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdShowScreen::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdShowScreen(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdShowScreen::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdShowScreen::attributes 46 | wxStaticBox* szMethod_staticbox; 47 | wxChoice* chMethod; 48 | wxButton* btnOK; 49 | wxButton* btnCancel; 50 | wxButton* btnHelp; 51 | // end wxGlade 52 | }; // wxGlade: end class 53 | 54 | 55 | #endif // DIALOGEVTCMDSHOWSCREEN_H 56 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSkill.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSKILL_H 13 | #define DIALOGEVTCMDSKILL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSkill: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSkill::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSkill(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSkill::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSkill::attributes 46 | wxStaticBox* szOperand_staticbox; 47 | wxStaticBox* szTarget_staticbox; 48 | wxRadioButton* rbtnTargetParty; 49 | wxRadioButton* rbtnTargetFixed; 50 | wxChoice* chTargetFixed; 51 | wxRadioButton* rbtnTargetVariable; 52 | wxTextCtrl* tcTargetVariable; 53 | wxButton* btnTargetVariable; 54 | wxRadioBox* rbOperation; 55 | wxRadioButton* rbtnOperandConstant; 56 | wxChoice* chOperandConstant; 57 | wxRadioButton* rbtnOperandVariable; 58 | wxTextCtrl* tcOperandVariable; 59 | wxButton* btnOperandVariable; 60 | wxButton* btnOK; 61 | wxButton* btnCancel; 62 | wxButton* btnHelp; 63 | // end wxGlade 64 | }; // wxGlade: end class 65 | 66 | 67 | #endif // DIALOGEVTCMDSKILL_H 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdState.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSTATE_H 13 | #define DIALOGEVTCMDSTATE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdState: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdState::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdState(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdState::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdState::attributes 46 | wxStaticBox* SzState2_staticbox; 47 | wxStaticBox* szTarget_staticbox; 48 | wxRadioButton* rbtnTargetParty; 49 | wxRadioButton* rbtnTargetFixed; 50 | wxChoice* chTargetFixed; 51 | wxRadioButton* rbtnTargetVariable; 52 | wxTextCtrl* tcTargetVariable; 53 | wxButton* btnTargetVariable; 54 | wxRadioBox* rbOperation; 55 | wxChoice* chState; 56 | wxButton* btnOK; 57 | wxButton* btnCancel; 58 | wxButton* btnHelp; 59 | // end wxGlade 60 | }; // wxGlade: end class 61 | 62 | 63 | #endif // DIALOGEVTCMDSTATE_H 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSwapEvents.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSWAPEVENTS_H 13 | #define DIALOGEVTCMDSWAPEVENTS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSwapEvents: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSwapEvents::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSwapEvents(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSwapEvents::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSwapEvents::attributes 46 | wxStaticBox* szEvent2_staticbox; 47 | wxStaticBox* szEvent1_staticbox; 48 | wxChoice* chEvent1; 49 | wxChoice* chEvent2; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDSWAPEVENTS_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSwitch.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSWITCH_H 13 | #define DIALOGEVTCMDSWITCH_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdSwitch: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdSwitch::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdSwitch(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdSwitch::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdSwitch::attributes 47 | wxStaticBox* szSwitch2_staticbox; 48 | wxRadioButton* rbtnSwitch; 49 | wxTextCtrl* tcSwitch; 50 | wxButton* btnSwitch; 51 | wxRadioButton* rbtnRange; 52 | wxSpinCtrl* spinRange1; 53 | wxStaticText* stRange; 54 | wxSpinCtrl* spinRange2; 55 | wxRadioButton* rbtnVariable; 56 | wxTextCtrl* tcVariable; 57 | wxButton* btnVariable; 58 | wxRadioBox* rbOperation; 59 | wxButton* btnOK; 60 | wxButton* btnCancel; 61 | wxButton* btnHelp; 62 | // end wxGlade 63 | }; // wxGlade: end class 64 | 65 | 66 | #endif // DIALOGEVTCMDSWITCH_H 67 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSystemGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSYSTEMGRAPHIC_H 13 | #define DIALOGEVTCMDSYSTEMGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSystemGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSystemGraphic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSystemGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSystemGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSystemGraphic::attributes 46 | wxListBox* listSystem; 47 | wxStaticBitmap* bmpSystem; 48 | wxRadioBox* rbBackground; 49 | wxRadioBox* rbFont; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDSYSTEMGRAPHIC_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSystemMenuPermissions.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdSystemMenuPermissions.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdSystemMenuPermissions::DialogEvtCmdSystemMenuPermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::DialogEvtCmdSystemMenuPermissions 23 | const wxString rbOperation_choices[] = { 24 | _("Forbid menu"), 25 | _("Alllow menu"), 26 | }; 27 | rbOperation = new wxRadioBox(this, wxID_ANY, _("Operation"), wxDefaultPosition, wxDefaultSize, 2, rbOperation_choices, 1, wxRA_SPECIFY_ROWS); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdSystemMenuPermissions::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::set_properties 41 | SetTitle(_("System menu permissions")); 42 | rbOperation->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdSystemMenuPermissions::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::do_layout 51 | wxBoxSizer* szSystemMenuPermissions = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szSystemMenuPermissions->Add(rbOperation, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szSystemMenuPermissions->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szSystemMenuPermissions); 59 | szSystemMenuPermissions->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSystemMenuPermissions.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSYSTEMMENUPERMISSIONS_H 13 | #define DIALOGEVTCMDSYSTEMMENUPERMISSIONS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSystemMenuPermissions: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSystemMenuPermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSystemMenuPermissions::attributes 46 | wxRadioBox* rbOperation; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDSYSTEMMENUPERMISSIONS_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSystemMusic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSYSTEMMUSIC_H 13 | #define DIALOGEVTCMDSYSTEMMUSIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSystemMusic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSystemMusic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSystemMusic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSystemMusic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSystemMusic::attributes 46 | wxStaticBox* szMusic_staticbox; 47 | wxStaticBox* szSystemMusic2_staticbox; 48 | wxChoice* chSystemMusic; 49 | wxTextCtrl* tcMusic; 50 | wxButton* btnMusic; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGEVTCMDSYSTEMMUSIC_H 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdSystemSound.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDSYSTEMSOUND_H 13 | #define DIALOGEVTCMDSYSTEMSOUND_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdSystemSound: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdSystemSound::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdSystemSound(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdSystemSound::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdSystemSound::attributes 46 | wxStaticBox* szSound_staticbox; 47 | wxStaticBox* SzSystemSound2_staticbox; 48 | wxChoice* chSystemSound; 49 | wxTextCtrl* tcSound; 50 | wxButton* btnSound; 51 | wxButton* btnOK; 52 | wxButton* btnCancel; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGEVTCMDSYSTEMSOUND_H 59 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTeleport.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTELEPORT_H 13 | #define DIALOGEVTCMDTELEPORT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | #include 27 | // end wxGlade 28 | 29 | // begin wxGlade: ::extracode 30 | // end wxGlade 31 | 32 | 33 | class DialogEvtCmdTeleport: public wxDialog { 34 | public: 35 | // begin wxGlade: DialogEvtCmdTeleport::ids 36 | // end wxGlade 37 | 38 | DialogEvtCmdTeleport(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 39 | 40 | private: 41 | // begin wxGlade: DialogEvtCmdTeleport::methods 42 | void set_properties(); 43 | void do_layout(); 44 | // end wxGlade 45 | 46 | protected: 47 | // begin wxGlade: DialogEvtCmdTeleport::attributes 48 | wxTreeCtrl* treeMaps; 49 | wxPanel* pnMap; 50 | wxStaticText* sTMap; 51 | wxToggleButton* btnScale11; 52 | wxToggleButton* btnScale12; 53 | wxToggleButton* btnScale14; 54 | wxButton* btnOK; 55 | wxButton* btnCancel; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDTELEPORT_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTeleportPermissions.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdTeleportPermissions.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdTeleportPermissions::DialogEvtCmdTeleportPermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdTeleportPermissions::DialogEvtCmdTeleportPermissions 23 | const wxString rbOperation_choices[] = { 24 | _("Forbid teleporting"), 25 | _("Alllow teleporting"), 26 | }; 27 | rbOperation = new wxRadioBox(this, wxID_ANY, _("Operation"), wxDefaultPosition, wxDefaultSize, 2, rbOperation_choices, 1, wxRA_SPECIFY_ROWS); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdTeleportPermissions::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdTeleportPermissions::set_properties 41 | SetTitle(_("Teleport permissions")); 42 | rbOperation->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdTeleportPermissions::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdTeleportPermissions::do_layout 51 | wxBoxSizer* szTeleportPermissions = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szTeleportPermissions->Add(rbOperation, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 54 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 55 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 56 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 57 | szTeleportPermissions->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 58 | SetSizer(szTeleportPermissions); 59 | szTeleportPermissions->Fit(this); 60 | Layout(); 61 | // end wxGlade 62 | } 63 | 64 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTeleportPermissions.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTELEPORTPERMISSIONS_H 13 | #define DIALOGEVTCMDTELEPORTPERMISSIONS_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdTeleportPermissions: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdTeleportPermissions::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdTeleportPermissions(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdTeleportPermissions::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdTeleportPermissions::attributes 46 | wxRadioBox* rbOperation; 47 | wxButton* btnOK; 48 | wxButton* btnCancel; 49 | wxButton* btnHelp; 50 | // end wxGlade 51 | }; // wxGlade: end class 52 | 53 | 54 | #endif // DIALOGEVTCMDTELEPORTPERMISSIONS_H 55 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTeleportPlace.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTELEPORTPLACE_H 13 | #define DIALOGEVTCMDTELEPORTPLACE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdTeleportPlace: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdTeleportPlace::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdTeleportPlace(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdTeleportPlace::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdTeleportPlace::attributes 46 | wxStaticBox* szSwitch_staticbox; 47 | wxStaticBox* szPosition_staticbox; 48 | wxRadioBox* rbOperation; 49 | wxTextCtrl* tcPosition; 50 | wxButton* btnPosition; 51 | wxCheckBox* chbSwitch; 52 | wxTextCtrl* tcSwitch; 53 | wxButton* btnSwitch; 54 | wxButton* btnOK; 55 | wxButton* btnCancel; 56 | wxButton* btnHelp; 57 | // end wxGlade 58 | }; // wxGlade: end class 59 | 60 | 61 | #endif // DIALOGEVTCMDTELEPORTPLACE_H 62 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTile.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTILE_H 13 | #define DIALOGEVTCMDTILE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdTile: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdTile::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdTile(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdTile::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdTile::attributes 46 | wxStaticBox* szReplacer_staticbox; 47 | wxStaticBox* szOriginal_staticbox; 48 | wxRadioBox* rbOptions; 49 | wxStaticBitmap* bmpOriginal; 50 | wxButton* btnOriginal; 51 | wxStaticBitmap* bmpReplacer; 52 | wxButton* btnReplacer; 53 | wxButton* btnOK; 54 | wxButton* btnCancel; 55 | wxButton* btnHelp; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // DIALOGEVTCMDTILE_H 61 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTileset.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdTileset.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdTileset::DialogEvtCmdTileset(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdTileset::DialogEvtCmdTileset 23 | szChipSet_staticbox = new wxStaticBox(this, wxID_ANY, _("ChipSet")); 24 | const wxString chChipSet_choices[] = { 25 | _(""), 26 | }; 27 | chChipSet = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, chChipSet_choices); 28 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 29 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 30 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 31 | 32 | set_properties(); 33 | do_layout(); 34 | // end wxGlade 35 | } 36 | 37 | 38 | void DialogEvtCmdTileset::set_properties() 39 | { 40 | // begin wxGlade: DialogEvtCmdTileset::set_properties 41 | SetTitle(_("Change map tileset")); 42 | chChipSet->SetSelection(0); 43 | btnOK->SetDefault(); 44 | // end wxGlade 45 | } 46 | 47 | 48 | void DialogEvtCmdTileset::do_layout() 49 | { 50 | // begin wxGlade: DialogEvtCmdTileset::do_layout 51 | wxBoxSizer* szTileset = new wxBoxSizer(wxVERTICAL); 52 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 53 | szChipSet_staticbox->Lower(); 54 | wxStaticBoxSizer* szChipSet = new wxStaticBoxSizer(szChipSet_staticbox, wxHORIZONTAL); 55 | szChipSet->Add(chChipSet, 1, wxALIGN_CENTER_VERTICAL, 0); 56 | szTileset->Add(szChipSet, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 57 | szBottom->Add(btnOK, 0, wxALL, 1); 58 | szBottom->Add(btnCancel, 0, wxALL, 1); 59 | szBottom->Add(btnHelp, 0, wxALL, 1); 60 | szTileset->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 61 | SetSizer(szTileset); 62 | szTileset->Fit(this); 63 | Layout(); 64 | // end wxGlade 65 | } 66 | 67 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTileset.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTILESET_H 13 | #define DIALOGEVTCMDTILESET_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdTileset: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdTileset::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdTileset(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdTileset::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdTileset::attributes 46 | wxStaticBox* szChipSet_staticbox; 47 | wxChoice* chChipSet; 48 | wxButton* btnOK; 49 | wxButton* btnCancel; 50 | wxButton* btnHelp; 51 | // end wxGlade 52 | }; // wxGlade: end class 53 | 54 | 55 | #endif // DIALOGEVTCMDTILESET_H 56 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTimer.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTIMER_H 13 | #define DIALOGEVTCMDTIMER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdTimer: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdTimer::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdTimer(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdTimer::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdTimer::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szOperation_staticbox; 49 | wxRadioBox* rbOperation; 50 | wxRadioButton* rbtnSet; 51 | wxSpinCtrl* spinMinutes; 52 | wxStaticText* stMinutes; 53 | wxSpinCtrl* spinSeconds; 54 | wxStaticText* stSeconds; 55 | wxRadioButton* rbtnVariable; 56 | wxTextCtrl* tcVariable; 57 | wxButton* btnVariable; 58 | wxCheckBox* chbShowScreen; 59 | wxCheckBox* chbShowBattle; 60 | wxButton* btnOK; 61 | wxButton* btnCancel; 62 | wxButton* btnHelp; 63 | // end wxGlade 64 | }; // wxGlade: end class 65 | 66 | 67 | #endif // DIALOGEVTCMDTIMER_H 68 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTone.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTONE_H 13 | #define DIALOGEVTCMDTONE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdTone: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdTone::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdTone(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdTone::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdTone::attributes 47 | wxStaticBox* szOptions_staticbox; 48 | wxStaticBox* szTime_staticbox; 49 | wxStaticBox* szTone2_staticbox; 50 | wxStaticBox* szPreview_staticbox; 51 | wxStaticText* st0Percent; 52 | wxStaticText* st100Percent; 53 | wxStaticText* st200Percent; 54 | wxStaticText* stRed; 55 | wxSlider* slRed; 56 | wxSpinCtrl* spinRed; 57 | wxStaticText* stRedPercent; 58 | wxStaticText* stGreen; 59 | wxSlider* slGreen; 60 | wxSpinCtrl* spinGreen; 61 | wxStaticText* stGreenPercent; 62 | wxStaticText* stBlue; 63 | wxSlider* slBlue; 64 | wxSpinCtrl* spinBlue; 65 | wxStaticText* stBluePercent; 66 | wxStaticText* stSaturation; 67 | wxSlider* slSaturation; 68 | wxSpinCtrl* spinSaturation; 69 | wxStaticText* stSaturationPercent; 70 | wxStaticBitmap* bmpPreview; 71 | wxSpinCtrl* SpinTime; 72 | wxStaticText* stTime; 73 | wxCheckBox* chbWait; 74 | wxButton* btnOK; 75 | wxButton* btnCancel; 76 | wxButton* btnHelp; 77 | // end wxGlade 78 | }; // wxGlade: end class 79 | 80 | 81 | #endif // DIALOGEVTCMDTONE_H 82 | -------------------------------------------------------------------------------- /src/DialogEvtCmdTransition.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDTRANSITION_H 13 | #define DIALOGEVTCMDTRANSITION_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdTransition: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdTransition::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdTransition(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdTransition::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdTransition::attributes 46 | wxStaticBox* szOut_staticbox; 47 | wxStaticBox* szIn_staticbox; 48 | wxChoice* chIn; 49 | wxChoice* chOut; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDTRANSITION_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdVariable.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDVARIABLE_H 13 | #define DIALOGEVTCMDVARIABLE_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdVariable: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdVariable::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdVariable(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdVariable::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdVariable::attributes 47 | wxStaticBox* szOperand_staticbox; 48 | wxStaticBox* szSwitch_staticbox; 49 | wxRadioButton* rbtnSet; 50 | wxTextCtrl* tcSwitchSet; 51 | wxButton* btnSwitchSet; 52 | wxRadioButton* rbtnoSwitchRange; 53 | wxSpinCtrl* spinSwitchRange1; 54 | wxStaticText* tcSwitchRange; 55 | wxSpinCtrl* spinSwitchRange2; 56 | wxRadioButton* rbtnSwitchVariable; 57 | wxTextCtrl* tcSwitchVariable; 58 | wxButton* btnSwitchVariable; 59 | wxStaticText* stSwitchVariable; 60 | wxRadioBox* rbOperation; 61 | wxRadioButton* rbtnOperandConstant; 62 | wxSpinCtrl* spinOperandConstant; 63 | wxRadioButton* rbtnOperandVariableA; 64 | wxTextCtrl* tcOperandVariableA; 65 | wxButton* btnOperandVariableA; 66 | wxRadioButton* rbtnOperandVariableB; 67 | wxTextCtrl* tcOperandVariableB; 68 | wxButton* btnOperandVariableB; 69 | wxStaticText* stOperandVarVaiableB; 70 | wxRadioButton* rbtnOperandRandom; 71 | wxSpinCtrl* spinOperandRandom1; 72 | wxSpinCtrl* spinOperandRandom2; 73 | wxRadioButton* rbtnOperandObject; 74 | wxChoice* chOperandObject; 75 | wxChoice* chOperandObject2; 76 | wxRadioButton* rbtnOperandActor; 77 | wxChoice* chOperandActor; 78 | wxChoice* chOperandActor2; 79 | wxRadioButton* rbtnOperandSprite; 80 | wxChoice* chOperandSprite; 81 | wxChoice* chOperandSprite2; 82 | wxRadioButton* rbtnOperandPut; 83 | wxChoice* chOperandPut; 84 | wxButton* btnOK; 85 | wxButton* btnCancel; 86 | wxButton* btnHelp; 87 | // end wxGlade 88 | }; // wxGlade: end class 89 | 90 | 91 | #endif // DIALOGEVTCMDVARIABLE_H 92 | -------------------------------------------------------------------------------- /src/DialogEvtCmdVehicleGraphic.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDVEHICLEGRAPHIC_H 13 | #define DIALOGEVTCMDVEHICLEGRAPHIC_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdVehicleGraphic: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdVehicleGraphic::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdVehicleGraphic(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdVehicleGraphic::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdVehicleGraphic::attributes 46 | wxStaticBox* szVehicle_staticbox; 47 | wxRadioBox* rbOperation; 48 | wxStaticBitmap* bmpVehicle; 49 | wxButton* btnVehicle; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDVEHICLEGRAPHIC_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdWait.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdWait.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdWait::DialogEvtCmdWait(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdWait::DialogEvtCmdWait 23 | szTime_staticbox = new wxStaticBox(this, wxID_ANY, _("Wait time")); 24 | spinTime = new wxSpinCtrl(this, wxID_ANY, wxT("10"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 100); 25 | stTime = new wxStaticText(this, wxID_ANY, _("x0.1 sec.")); 26 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 27 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 28 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 29 | 30 | set_properties(); 31 | do_layout(); 32 | // end wxGlade 33 | } 34 | 35 | 36 | void DialogEvtCmdWait::set_properties() 37 | { 38 | // begin wxGlade: DialogEvtCmdWait::set_properties 39 | SetTitle(_("Wait")); 40 | spinTime->SetMinSize(wxSize(50, -1)); 41 | btnOK->SetDefault(); 42 | // end wxGlade 43 | } 44 | 45 | 46 | void DialogEvtCmdWait::do_layout() 47 | { 48 | // begin wxGlade: DialogEvtCmdWait::do_layout 49 | wxBoxSizer* szWait = new wxBoxSizer(wxVERTICAL); 50 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 51 | szTime_staticbox->Lower(); 52 | wxStaticBoxSizer* szTime = new wxStaticBoxSizer(szTime_staticbox, wxHORIZONTAL); 53 | szTime->Add(spinTime, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 1); 54 | szTime->Add(stTime, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 1); 55 | szWait->Add(szTime, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 56 | szBottom->Add(btnOK, 0, wxALL, 1); 57 | szBottom->Add(btnCancel, 0, wxALL, 1); 58 | szBottom->Add(btnHelp, 0, wxALL, 1); 59 | szWait->Add(szBottom, 0, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 60 | SetSizer(szWait); 61 | szWait->Fit(this); 62 | Layout(); 63 | // end wxGlade 64 | } 65 | 66 | -------------------------------------------------------------------------------- /src/DialogEvtCmdWait.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDWAIT_H 13 | #define DIALOGEVTCMDWAIT_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | // end wxGlade 27 | 28 | // begin wxGlade: ::extracode 29 | // end wxGlade 30 | 31 | 32 | class DialogEvtCmdWait: public wxDialog { 33 | public: 34 | // begin wxGlade: DialogEvtCmdWait::ids 35 | // end wxGlade 36 | 37 | DialogEvtCmdWait(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 38 | 39 | private: 40 | // begin wxGlade: DialogEvtCmdWait::methods 41 | void set_properties(); 42 | void do_layout(); 43 | // end wxGlade 44 | 45 | protected: 46 | // begin wxGlade: DialogEvtCmdWait::attributes 47 | wxStaticBox* szTime_staticbox; 48 | wxSpinCtrl* spinTime; 49 | wxStaticText* stTime; 50 | wxButton* btnOK; 51 | wxButton* btnCancel; 52 | wxButton* btnHelp; 53 | // end wxGlade 54 | }; // wxGlade: end class 55 | 56 | 57 | #endif // DIALOGEVTCMDWAIT_H 58 | -------------------------------------------------------------------------------- /src/DialogEvtCmdWeather.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #include 13 | #include "DialogEvtCmdWeather.h" 14 | 15 | // begin wxGlade: ::extracode 16 | // end wxGlade 17 | 18 | 19 | DialogEvtCmdWeather::DialogEvtCmdWeather(wxWindow* parent, int id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): 20 | wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) 21 | { 22 | // begin wxGlade: DialogEvtCmdWeather::DialogEvtCmdWeather 23 | const wxString rbEffect_choices[] = { 24 | _("None"), 25 | _("Rain"), 26 | _("Snow"), 27 | }; 28 | rbEffect = new wxRadioBox(this, wxID_ANY, _("Effect type"), wxDefaultPosition, wxDefaultSize, 3, rbEffect_choices, 1, wxRA_SPECIFY_COLS); 29 | const wxString rbIntensity_choices[] = { 30 | _("Low"), 31 | _("Medium"), 32 | _("High"), 33 | }; 34 | rbIntensity = new wxRadioBox(this, wxID_ANY, _("Intensity"), wxDefaultPosition, wxDefaultSize, 3, rbIntensity_choices, 1, wxRA_SPECIFY_COLS); 35 | btnOK = new wxButton(this, wxID_OK, wxEmptyString); 36 | btnCancel = new wxButton(this, wxID_CANCEL, wxEmptyString); 37 | btnHelp = new wxButton(this, wxID_HELP, wxEmptyString); 38 | 39 | set_properties(); 40 | do_layout(); 41 | // end wxGlade 42 | } 43 | 44 | 45 | void DialogEvtCmdWeather::set_properties() 46 | { 47 | // begin wxGlade: DialogEvtCmdWeather::set_properties 48 | SetTitle(_("Weather effect")); 49 | rbEffect->SetSelection(0); 50 | rbIntensity->SetSelection(0); 51 | btnOK->SetDefault(); 52 | // end wxGlade 53 | } 54 | 55 | 56 | void DialogEvtCmdWeather::do_layout() 57 | { 58 | // begin wxGlade: DialogEvtCmdWeather::do_layout 59 | wxBoxSizer* szWeather = new wxBoxSizer(wxVERTICAL); 60 | wxBoxSizer* szBottom = new wxBoxSizer(wxHORIZONTAL); 61 | wxBoxSizer* szTop = new wxBoxSizer(wxHORIZONTAL); 62 | szTop->Add(rbEffect, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 63 | szTop->Add(rbIntensity, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 1); 64 | szWeather->Add(szTop, 0, wxEXPAND, 0); 65 | szBottom->Add(btnOK, 0, wxALIGN_BOTTOM|wxALL, 1); 66 | szBottom->Add(btnCancel, 0, wxALIGN_BOTTOM|wxALL, 1); 67 | szBottom->Add(btnHelp, 0, wxALIGN_BOTTOM|wxALL, 1); 68 | szWeather->Add(szBottom, 1, wxALIGN_RIGHT|wxBOTTOM|wxRIGHT, 3); 69 | SetSizer(szWeather); 70 | szWeather->Fit(this); 71 | Layout(); 72 | // end wxGlade 73 | } 74 | 75 | -------------------------------------------------------------------------------- /src/DialogEvtCmdWeather.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGEVTCMDWEATHER_H 13 | #define DIALOGEVTCMDWEATHER_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogEvtCmdWeather: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogEvtCmdWeather::ids 34 | // end wxGlade 35 | 36 | DialogEvtCmdWeather(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogEvtCmdWeather::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogEvtCmdWeather::attributes 46 | wxRadioBox* rbEffect; 47 | wxRadioBox* rbIntensity; 48 | wxButton* btnOK; 49 | wxButton* btnCancel; 50 | wxButton* btnHelp; 51 | // end wxGlade 52 | }; // wxGlade: end class 53 | 54 | 55 | #endif // DIALOGEVTCMDWEATHER_H 56 | -------------------------------------------------------------------------------- /src/DialogMaterial.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef DIALOGMATERIAL_H 13 | #define DIALOGMATERIAL_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | // end wxGlade 26 | 27 | // begin wxGlade: ::extracode 28 | // end wxGlade 29 | 30 | 31 | class DialogMaterial: public wxDialog { 32 | public: 33 | // begin wxGlade: DialogMaterial::ids 34 | // end wxGlade 35 | 36 | DialogMaterial(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 37 | 38 | private: 39 | // begin wxGlade: DialogMaterial::methods 40 | void set_properties(); 41 | void do_layout(); 42 | // end wxGlade 43 | 44 | protected: 45 | // begin wxGlade: DialogMaterial::attributes 46 | wxListBox* listFolders; 47 | wxListBox* listFiles; 48 | wxButton* btnImport; 49 | wxButton* btnExport; 50 | wxButton* btnDelete; 51 | wxRadioBox* rbFormat; 52 | wxButton* btnClose; 53 | wxButton* btnHelp; 54 | // end wxGlade 55 | }; // wxGlade: end class 56 | 57 | 58 | #endif // DIALOGMATERIAL_H 59 | -------------------------------------------------------------------------------- /src/FrameEditor.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | #ifndef FRAMEEDITOR_H 13 | #define FRAMEEDITOR_H 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | 24 | // begin wxGlade: ::dependencies 25 | #include 26 | #include 27 | // end wxGlade 28 | 29 | // begin wxGlade: ::extracode 30 | // end wxGlade 31 | 32 | 33 | class FrameEditor: public wxFrame { 34 | public: 35 | // begin wxGlade: FrameEditor::ids 36 | // end wxGlade 37 | 38 | FrameEditor(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE); 39 | 40 | private: 41 | // begin wxGlade: FrameEditor::methods 42 | void set_properties(); 43 | void do_layout(); 44 | // end wxGlade 45 | 46 | protected: 47 | // begin wxGlade: FrameEditor::attributes 48 | wxMenuBar* frmEditorMenubar; 49 | wxStatusBar* frmEditorStatusbar; 50 | wxToolBar* frmEditorToolbar; 51 | wxScrolledWindow* pnEditorTileset; 52 | wxTreeCtrl* tcMapTree; 53 | wxPanel* pnEditorMapTree; 54 | wxSplitterWindow* swEditor; 55 | wxScrolledWindow* pnEditorMap; 56 | // end wxGlade 57 | }; // wxGlade: end class 58 | 59 | 60 | #endif // FRAMEEDITOR_H 61 | -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | // 3 | // generated by wxGlade not found 4 | // 5 | // Example for compiling a single file project under Linux using g++: 6 | // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp 7 | // 8 | // Example for compiling a multi file project under Linux using g++: 9 | // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp 10 | // 11 | 12 | // This is an automatically generated file. 13 | // Manual changes will be overwritten without warning! 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | #ifndef APP_CATALOG 20 | #define APP_CATALOG "appEditor" // replace with the appropriate catalog name 21 | #endif 22 | 23 | #include "FrameEditor.h" 24 | 25 | 26 | class AppEditor: public wxApp { 27 | public: 28 | bool OnInit(); 29 | protected: 30 | wxLocale m_locale; // locale we'll be using 31 | }; 32 | 33 | IMPLEMENT_APP(AppEditor) 34 | 35 | bool AppEditor::OnInit() 36 | { 37 | m_locale.Init(); 38 | #ifdef APP_LOCALE_DIR 39 | m_locale.AddCatalogLookupPathPrefix(wxT(APP_LOCALE_DIR)); 40 | #endif 41 | m_locale.AddCatalog(wxT(APP_CATALOG)); 42 | 43 | wxInitAllImageHandlers(); 44 | FrameEditor* frmEditor = new FrameEditor(NULL, wxID_ANY, wxEmptyString); 45 | SetTopWindow(frmEditor); 46 | frmEditor->Show(); 47 | return true; 48 | } -------------------------------------------------------------------------------- /win32/easyrpg.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EasyRPG/Editor-wx/804706353ccbbd707474589d06995e544b938183/win32/easyrpg.ico -------------------------------------------------------------------------------- /win32/easyrpg.rc: -------------------------------------------------------------------------------- 1 | easyrpg ICON "easyrpg.ico" 2 | #include "wx/msw/wx.rc" 3 | #include 4 | 1 VERSIONINFO 5 | FILEVERSION 0,0,0,0 6 | PRODUCTVERSION 0,0,0,0 7 | FILETYPE VFT_APP 8 | { 9 | BLOCK "StringFileInfo" 10 | { 11 | BLOCK "000004E4" 12 | { 13 | VALUE "Comments", "Licensed under the GNU GPL license" 14 | VALUE "CompanyName", "http://easyrpg.sourceforge.net/" 15 | VALUE "FileVersion", "0.0.0.0" 16 | VALUE "FileDescription", "EasyRPG" 17 | VALUE "InternalName", "easyrpg" 18 | VALUE "LegalCopyright", "2006 EasyRPG Project. GPL license" 19 | VALUE "OriginalFilename", "easyrpg.exe" 20 | VALUE "ProductName", "EasyRPG" 21 | VALUE "ProductVersion", "0.0.0.0" 22 | } 23 | } 24 | BLOCK "VarFileInfo" 25 | { 26 | VALUE "Translation", 0x0000, 1252 27 | } 28 | } 29 | --------------------------------------------------------------------------------