From cad3ebc527f7330af2933cdd9f306dd1bea30194 Mon Sep 17 00:00:00 2001 From: skidau Date: Mon, 27 Apr 2015 10:53:18 +0000 Subject: [PATCH] Split out and optionally load the xrc files if they are found in a "xrc" sub-directory. Changed the PropertySheetDialogs to NoteBooks in the split xrc files. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1364 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/wx/guiinit.cpp | 6 +- src/wx/wxvbam.cpp | 14 +- src/wx/wxvbam.h | 4 +- src/wx/xrc/AccelConfig.xrc | 126 ++++++++ src/wx/xrc/CheatAdd.xrc | 112 +++++++ src/wx/xrc/CheatCreate.xrc | 217 +++++++++++++ src/wx/xrc/CheatEdit.xrc | 92 ++++++ src/wx/xrc/CheatList.xrc | 61 ++++ src/wx/xrc/CodeSelect.xrc | 28 ++ src/wx/xrc/DirectoriesConfig.xrc | 118 +++++++ src/wx/xrc/Disassemble.xrc | 481 ++++++++++++++++++++++++++++ src/wx/xrc/DisplayConfig.xrc | 354 ++++++++++++++++++++ src/wx/xrc/ExportSPS.xrc | 69 ++++ src/wx/xrc/GBAROMInfo.xrc | 121 +++++++ src/wx/xrc/GBColorPrefPanel.xrc | 105 ++++++ src/wx/xrc/GBDisassemble.xrc | 251 +++++++++++++++ src/wx/xrc/GBMapViewer.xrc | 172 ++++++++++ src/wx/xrc/GBOAMViewer.xrc | 165 ++++++++++ src/wx/xrc/GBPaletteViewer.xrc | 133 ++++++++ src/wx/xrc/GBPrinter.xrc | 74 +++++ src/wx/xrc/GBROMInfo.xrc | 178 ++++++++++ src/wx/xrc/GBTileViewer.xrc | 168 ++++++++++ src/wx/xrc/GameBoyAdvanceConfig.xrc | 340 ++++++++++++++++++++ src/wx/xrc/GameBoyConfig.xrc | 269 ++++++++++++++++ src/wx/xrc/GeneralConfig.xrc | 159 +++++++++ src/wx/xrc/IOViewer.xrc | 350 ++++++++++++++++++++ src/wx/xrc/JoyPanel.xrc | 341 ++++++++++++++++++++ src/wx/xrc/JoypadConfig.xrc | 49 +++ src/wx/xrc/LinkConfig.xrc | 85 +++++ src/wx/xrc/Logging.xrc | 139 ++++++++ src/wx/xrc/MainFrame.xrc | 22 ++ src/wx/xrc/MainIcon.xrc | 4 + src/wx/xrc/MainMenu.xrc | 439 +++++++++++++++++++++++++ src/wx/xrc/MapViewer.xrc | 233 ++++++++++++++ src/wx/xrc/MemSelRegion.xrc | 50 +++ src/wx/xrc/MemViewer.xrc | 130 ++++++++ src/wx/xrc/NetLink.xrc | 159 +++++++++ src/wx/xrc/OAMViewer.xrc | 180 +++++++++++ src/wx/xrc/PaletteViewer.xrc | 124 +++++++ src/wx/xrc/SoundConfig.xrc | 382 ++++++++++++++++++++++ 40 files changed, 6496 insertions(+), 8 deletions(-) create mode 100644 src/wx/xrc/AccelConfig.xrc create mode 100644 src/wx/xrc/CheatAdd.xrc create mode 100644 src/wx/xrc/CheatCreate.xrc create mode 100644 src/wx/xrc/CheatEdit.xrc create mode 100644 src/wx/xrc/CheatList.xrc create mode 100644 src/wx/xrc/CodeSelect.xrc create mode 100644 src/wx/xrc/DirectoriesConfig.xrc create mode 100644 src/wx/xrc/Disassemble.xrc create mode 100644 src/wx/xrc/DisplayConfig.xrc create mode 100644 src/wx/xrc/ExportSPS.xrc create mode 100644 src/wx/xrc/GBAROMInfo.xrc create mode 100644 src/wx/xrc/GBColorPrefPanel.xrc create mode 100644 src/wx/xrc/GBDisassemble.xrc create mode 100644 src/wx/xrc/GBMapViewer.xrc create mode 100644 src/wx/xrc/GBOAMViewer.xrc create mode 100644 src/wx/xrc/GBPaletteViewer.xrc create mode 100644 src/wx/xrc/GBPrinter.xrc create mode 100644 src/wx/xrc/GBROMInfo.xrc create mode 100644 src/wx/xrc/GBTileViewer.xrc create mode 100644 src/wx/xrc/GameBoyAdvanceConfig.xrc create mode 100644 src/wx/xrc/GameBoyConfig.xrc create mode 100644 src/wx/xrc/GeneralConfig.xrc create mode 100644 src/wx/xrc/IOViewer.xrc create mode 100644 src/wx/xrc/JoyPanel.xrc create mode 100644 src/wx/xrc/JoypadConfig.xrc create mode 100644 src/wx/xrc/LinkConfig.xrc create mode 100644 src/wx/xrc/Logging.xrc create mode 100644 src/wx/xrc/MainFrame.xrc create mode 100644 src/wx/xrc/MainIcon.xrc create mode 100644 src/wx/xrc/MainMenu.xrc create mode 100644 src/wx/xrc/MapViewer.xrc create mode 100644 src/wx/xrc/MemSelRegion.xrc create mode 100644 src/wx/xrc/MemViewer.xrc create mode 100644 src/wx/xrc/NetLink.xrc create mode 100644 src/wx/xrc/OAMViewer.xrc create mode 100644 src/wx/xrc/PaletteViewer.xrc create mode 100644 src/wx/xrc/SoundConfig.xrc diff --git a/src/wx/guiinit.cpp b/src/wx/guiinit.cpp index d1ae3a6b..f73578a3 100644 --- a/src/wx/guiinit.cpp +++ b/src/wx/guiinit.cpp @@ -1992,12 +1992,12 @@ wxDialog * MainFrame::LoadXRCDialog(const char * name) return dialog; } -wxPropertySheetDialog * MainFrame::LoadXRCropertySheetDialog(const char * name) +wxDialog * MainFrame::LoadXRCropertySheetDialog(const char * name) { wxString dname = wxString::FromUTF8(name); //Seems like the only way to do this wxObject * anObject = wxXmlResource::Get()->LoadObject(this, dname, wxEmptyString); - wxPropertySheetDialog * dialog = dynamic_cast(anObject); + wxDialog * dialog = dynamic_cast(anObject); CheckThrowXRCError(dialog,name); /* wx-2.9.1 doesn't set parent for propertysheetdialogs for some reason */ @@ -2964,7 +2964,7 @@ bool MainFrame::InitMore(void) d->Fit(); } - wxPropertySheetDialog * joyDialog = LoadXRCropertySheetDialog("JoypadConfig"); + wxDialog * joyDialog = LoadXRCropertySheetDialog("JoypadConfig"); wxFarRadio *r = 0; for(int i = 0; i < 4; i++) { wxString pn; diff --git a/src/wx/wxvbam.cpp b/src/wx/wxvbam.cpp index a1cd990f..04b60cae 100644 --- a/src/wx/wxvbam.cpp +++ b/src/wx/wxvbam.cpp @@ -96,10 +96,18 @@ bool wxvbamApp::OnInit() if(!wxFindFirstFile(wxT("*.xrs")).empty()) xr->Load(wxT("*.xrs")); } - wxSetWorkingDirectory(cwd); - // finally, load built-in xrc - xr->Load(wxT("memory:wxvbam.xrs")); + if (wxSetWorkingDirectory(wxStandardPaths::Get().GetPluginsDir() + wxT("\\xrc"))) { + if (!wxFindFirstFile(wxT("*.xrc")).empty()) + xr->Load(wxT("*.xrc")); + } + else { + // finally, load built-in xrc + xr->Load(wxT("memory:wxvbam.xrs")); + } + + + wxSetWorkingDirectory(cwd); // set up config file // this needs to be in a subdir to support other config as well diff --git a/src/wx/wxvbam.h b/src/wx/wxvbam.h index 6ba63cec..2e694773 100644 --- a/src/wx/wxvbam.h +++ b/src/wx/wxvbam.h @@ -284,8 +284,8 @@ private: void OnMenu(wxContextMenuEvent &); // Load a named wxDialog from the XRC file wxDialog * LoadXRCDialog(const char * name); - // Load a named wxPropertySheetDialog from the XRC file - wxPropertySheetDialog * LoadXRCropertySheetDialog(const char * name); + // Load a named wxDialog from the XRC file + wxDialog * LoadXRCropertySheetDialog(const char * name); // Returns the link mode to set according to the options LinkMode getOptionsLinkMode(); #include "cmdhandlers.h" diff --git a/src/wx/xrc/AccelConfig.xrc b/src/wx/xrc/AccelConfig.xrc new file mode 100644 index 00000000..9ea76c98 --- /dev/null +++ b/src/wx/xrc/AccelConfig.xrc @@ -0,0 +1,126 @@ + + + + + wxVERTICAL + + + + + + + + + wxALL + 5 + + + + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + wxEXPAND + + + + + + + + wxALL + 5 + + + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + wxEXPAND + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + wxEXPAND + + 3 + + + + + + + + + + + wxVERTICAL + + wxALL + 5 + + + + + + + + wxALL + 5 + + + + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + wxEXPAND + + + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/CheatAdd.xrc b/src/wx/xrc/CheatAdd.xrc new file mode 100644 index 00000000..66342e92 --- /dev/null +++ b/src/wx/xrc/CheatAdd.xrc @@ -0,0 +1,112 @@ + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + wxALL|wxEXPAND + 5 + + + + + + + + bold + + + wxALL + 5 + + + + + + wxALL + 5 + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + + wxHORIZONTAL + + + + wxALL|wxEXPAND + 5 + + + + + + + + bold + + + wxALL + 5 + + + + + + wxALL + 5 + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + wxALL|wxEXPAND + 5 + + + + 1 + + + + + + + + + + diff --git a/src/wx/xrc/CheatCreate.xrc b/src/wx/xrc/CheatCreate.xrc new file mode 100644 index 00000000..59ee1976 --- /dev/null +++ b/src/wx/xrc/CheatCreate.xrc @@ -0,0 +1,217 @@ + + + + + wxVERTICAL + + + + + + wxALL|wxEXPAND + 5 + -1,200 + + + + wxHORIZONTAL + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + wxVERTICAL + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + wxEXPAND + + + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + wxALL|wxEXPAND + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + wxEXPAND + + + wxEXPAND + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + wxHORIZONTAL + + wxALIGN_CENTRE + + + + diff --git a/src/wx/xrc/CheatEdit.xrc b/src/wx/xrc/CheatEdit.xrc new file mode 100644 index 00000000..d7834145 --- /dev/null +++ b/src/wx/xrc/CheatEdit.xrc @@ -0,0 +1,92 @@ + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + wxALL|wxEXPAND + 5 + + + + + + + + bold + + + wxALL + 5 + + + + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + + wxHORIZONTAL + + + + + + wxALL|wxEXPAND + 5 + + + + + wxALL|wxEXPAND + 5 + + + + 1 + + + + + + + + + + diff --git a/src/wx/xrc/CheatList.xrc b/src/wx/xrc/CheatList.xrc new file mode 100644 index 00000000..eadff3e7 --- /dev/null +++ b/src/wx/xrc/CheatList.xrc @@ -0,0 +1,61 @@ + + + + + wxVERTICAL + + + + + Open cheat list + + + + Save cheat list + + + + + Add new cheat + + + + Delete selected cheat + + + + + Delete all cheats + + + + + + Toggle all Cheats + + + wxEXPAND + + + + + + + wxALL|wxEXPAND + 5 + 200,100d + + + wxALL|wxEXPAND + 5 + + + + 1 + + + + + + + diff --git a/src/wx/xrc/CodeSelect.xrc b/src/wx/xrc/CodeSelect.xrc new file mode 100644 index 00000000..0785ddbb --- /dev/null +++ b/src/wx/xrc/CodeSelect.xrc @@ -0,0 +1,28 @@ + + + + + wxVERTICAL + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/DirectoriesConfig.xrc b/src/wx/xrc/DirectoriesConfig.xrc new file mode 100644 index 00000000..7915b635 --- /dev/null +++ b/src/wx/xrc/DirectoriesConfig.xrc @@ -0,0 +1,118 @@ + + + + + wxVERTICAL + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Game Boy Advance ROMs + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Game Boy ROMs + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Native Saves + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Emulator Saves + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Screenshots + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + Recordings + + + wxALL|wxEXPAND + 5 + + 2 + 1 + + + wxEXPAND + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/Disassemble.xrc b/src/wx/xrc/Disassemble.xrc new file mode 100644 index 00000000..6370882e --- /dev/null +++ b/src/wx/xrc/Disassemble.xrc @@ -0,0 +1,481 @@ + + + + + wxVERTICAL + + + + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + wxVERTICAL + + + + modern + + + + wxALL|wxEXPAND + 5 + + + + wxEXPAND + + + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxBOTTOM|wxRIGHT + 5 + + + + + modern + + + + wxBOTTOM|wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + 2 + + + + + wxLEFT|wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + 2 + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + wxEXPAND + + + + + + wxALL + 5 + + + + 4 + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + wxEXPAND + + + + diff --git a/src/wx/xrc/DisplayConfig.xrc b/src/wx/xrc/DisplayConfig.xrc new file mode 100644 index 00000000..34f3349d --- /dev/null +++ b/src/wx/xrc/DisplayConfig.xrc @@ -0,0 +1,354 @@ + + + +Display settings + + wxVERTICAL + + + + + + wxVERTICAL + + + + wxEXPAND + + wxHORIZONTAL + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + None + Percentage + Detailed + + + + wxALL|wxEXPAND + 5 + + + + wxVERTICAL + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + + + + + wxVERTICAL + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 1 + 6 + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + + + wxALL + 5 + + + + + + + 0 = no maximum + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + wxHORIZONTAL + + + 0 = no limit + + wxALL|wxEXPAND + 5 + + + wxEXPAND + + + + + + bold + + + wxALL + 5 + + + + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + wxALL + 5 + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + wxHORIZONTAL + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + + + + wxALL + 5 + + 2 + + + + + wxALL + 5 + + + wxEXPAND + + + + + + + + bold + + + wxALL + 5 + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + None + 2xSaI + Super 2xSaI + Super Eagle + Pixelate + Advance MAME Scale2x + Bilinear + Bilinear Plus + Scanlines + TV Mode + HQ 2x + LQ 2x + Simple 2X + Simple 3x + HQ 3x + Simple 4x + HQ 4x + XBRz 2x (note: Not available yet) + XBRz 3x (note: Not available yet) + XBRz 4x (note: Not available yet) + XBRz 5x (note: Not available yet) + Plugin + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxALL|wxEXPAND + 5 + + + + + + wxRIGHT|wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + None + Smart interframe blending + Interframe motion blur + + + wxALL|wxEXPAND + 5 + + 2 + 1 + + wxALL|wxEXPAND + 5 + + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + diff --git a/src/wx/xrc/ExportSPS.xrc b/src/wx/xrc/ExportSPS.xrc new file mode 100644 index 00000000..f08efa6f --- /dev/null +++ b/src/wx/xrc/ExportSPS.xrc @@ -0,0 +1,69 @@ + + + + + wxVERTICAL + + + + + + + wxALL + 5 + + + + wxEXPAND|wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + + + wxALL|wxEXPAND + 5 + 200,100 + + 2 + 1 + 2 + + + wxEXPAND + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/GBAROMInfo.xrc b/src/wx/xrc/GBAROMInfo.xrc new file mode 100644 index 00000000..c77ab8f4 --- /dev/null +++ b/src/wx/xrc/GBAROMInfo.xrc @@ -0,0 +1,121 @@ + + + + + wxVERTICAL + + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + 2 + + wxEXPAND + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/GBColorPrefPanel.xrc b/src/wx/xrc/GBColorPrefPanel.xrc new file mode 100644 index 00000000..90b9d71b --- /dev/null +++ b/src/wx/xrc/GBColorPrefPanel.xrc @@ -0,0 +1,105 @@ + + + + + wxVERTICAL + + + + + Standard + Blue Sea + Dark Night + Green Forest + Hot Desert + Pink Dreams + Weird Colors + Real GB Colors + Real 'GB on GBASP' Colors + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + wxALL + 5 + + + + wxALL + 5 + + + wxHORIZONTAL + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + wxALL + 5 + + + + wxALL + 5 + + + wxHORIZONTAL + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + + wxALL|wxALIGN_RIGHT + 5 + + wxHORIZONTAL + + wxEXPAND + + + + diff --git a/src/wx/xrc/GBDisassemble.xrc b/src/wx/xrc/GBDisassemble.xrc new file mode 100644 index 00000000..114cb46b --- /dev/null +++ b/src/wx/xrc/GBDisassemble.xrc @@ -0,0 +1,251 @@ + + + + + wxVERTICAL + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + + modern + + + + wxALL|wxEXPAND + 5 + + + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + wxRIGHT + 5 + + + + + modern + + + + wxLEFT + 5 + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + wxEXPAND + + + + + + wxALL + 5 + + + + 4 + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + wxEXPAND + + + + diff --git a/src/wx/xrc/GBMapViewer.xrc b/src/wx/xrc/GBMapViewer.xrc new file mode 100644 index 00000000..173adbbc --- /dev/null +++ b/src/wx/xrc/GBMapViewer.xrc @@ -0,0 +1,172 @@ + + + + + wxVERTICAL + + + + + + + + + + + + + + + + + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + + + + + wxVERTICAL + + wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + wxEXPAND + + + + + + + + + + + + wxVERTICAL + + wxEXPAND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + wxALL|wxEXPAND + 5 + + + + + 128,128d + + + 128,128d + + + wxALL + 5 + + + + 64,64d + + + wxALL + 5 + + + + + wxALL|wxALIGN_BOTTOM + 5 + + 3 + 1 + + wxEXPAND + + + + + + + + + + + + + wxALIGN_CENTRE_HORIZONTAL + + + + wxALIGN_RIGHT + + 3 + + wxEXPAND|wxALL + 5 + + + + diff --git a/src/wx/xrc/GBOAMViewer.xrc b/src/wx/xrc/GBOAMViewer.xrc new file mode 100644 index 00000000..878f1d74 --- /dev/null +++ b/src/wx/xrc/GBOAMViewer.xrc @@ -0,0 +1,165 @@ + + + + + wxVERTICAL + + + wxHORIZONTAL + + + + + + + + + + 0 + 39 + + + wxEXPAND + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + wxEXPAND + + + + + + + + + + + + wxVERTICAL + + wxALL + 5 + + + + wxVERTICAL + + + + + + 64,64d + + + 64,64d + + + wxALL + 5 + + + + 64,64d + + + wxALL + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_BOTTOM + 5 + + + + + + + + + + + + wxALL + 5 + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + wxALL|wxALIGN_RIGHT + 5 + + 3 + + wxEXPAND + + + + diff --git a/src/wx/xrc/GBPaletteViewer.xrc b/src/wx/xrc/GBPaletteViewer.xrc new file mode 100644 index 00000000..d4d7794a --- /dev/null +++ b/src/wx/xrc/GBPaletteViewer.xrc @@ -0,0 +1,133 @@ + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + + + + wxVERTICAL + + + 64,64d + + + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + wxALL + 5 + + + + + wxVERTICAL + + + 64,64d + + + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + 2 + 1 + + wxEXPAND + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + wxALL + 5 + + + + + + + + wxALL + 5 + + + + + + + wxALL|wxALIGN_RIGHT + 5 + + wxHORIZONTAL + + wxEXPAND + + + + diff --git a/src/wx/xrc/GBPrinter.xrc b/src/wx/xrc/GBPrinter.xrc new file mode 100644 index 00000000..52e5ae31 --- /dev/null +++ b/src/wx/xrc/GBPrinter.xrc @@ -0,0 +1,74 @@ + + + + + wxVERTICAL + + + + + + 320,288 + + + wxALL|wxALIGN_CENTRE + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + 1x + 2x + 3x + 4x + + 1 + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + wxALIGN_CENTRE_HORIZONTAL + + + + wxHORIZONTAL + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + diff --git a/src/wx/xrc/GBROMInfo.xrc b/src/wx/xrc/GBROMInfo.xrc new file mode 100644 index 00000000..b18ba132 --- /dev/null +++ b/src/wx/xrc/GBROMInfo.xrc @@ -0,0 +1,178 @@ + + + + + wxVERTICAL + + + 2 + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/GBTileViewer.xrc b/src/wx/xrc/GBTileViewer.xrc new file mode 100644 index 00000000..86ce04a4 --- /dev/null +++ b/src/wx/xrc/GBTileViewer.xrc @@ -0,0 +1,168 @@ + + + + + wxVERTICAL + + + + + + + + + + + + + + + + + + + wxVERTICAL + + wxTOP|wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + + + + + + + + + + + + + wxVERTICAL + + wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + + + wxTOP|wxLEFT|wxRIGHT + 5 + + + + 0 + 7 + 1 + 2 + + + wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + + + wxTOP|wxLEFT|wxRIGHT + 5 + + + + + + wxBOTTOM|wxLEFT|wxRIGHT + 5 + + wxVERTICAL + + wxEXPAND + + + + wxVERTICAL + + + + + + + + + + + + + + + + + + + 2 + + wxALL|wxEXPAND + 5 + + + + 64,64d + + + wxALL + 5 + + + + wxALL|wxALIGN_BOTTOM + 5 + + + + + + + 128,128d + + + 128,128d + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + + + wxALL + 5 + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + wxALL|wxALIGN_RIGHT + 5 + + 3 + + wxEXPAND + + + + diff --git a/src/wx/xrc/GameBoyAdvanceConfig.xrc b/src/wx/xrc/GameBoyAdvanceConfig.xrc new file mode 100644 index 00000000..0e3abc0a --- /dev/null +++ b/src/wx/xrc/GameBoyAdvanceConfig.xrc @@ -0,0 +1,340 @@ + + + +Game Boy Advance settings + + wxVERTICAL + + + + + + wxVERTICAL + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + Automatic + EEPROM + SRAM + Flash + EEPROM + Sensor + None + + + + wxALL|wxEXPAND + 5 + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + 64K + 128K + + + + wxALL|wxEXPAND + 5 + + 2 + 1 + + wxEXPAND + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + + wxVERTICAL + + + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 0 + 9 + + + wxALL|wxEXPAND + 5 + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|* + + + wxALL|wxEXPAND + 5 + + + + wxVERTICAL + + + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + + + wxALL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + Default + Disabled + Enabled + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + Default + Automatic + EEPROM + SRAM + Flash + EEPROM+Sensor + None + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + Default + 64K + 128K + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + Default + Disabled + Enabled + + + wxALL|wxEXPAND + 5 + + 2 + 1 + + + wxEXPAND + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + diff --git a/src/wx/xrc/GameBoyConfig.xrc b/src/wx/xrc/GameBoyConfig.xrc new file mode 100644 index 00000000..6355a23e --- /dev/null +++ b/src/wx/xrc/GameBoyConfig.xrc @@ -0,0 +1,269 @@ + + + +GameBoy settings + + wxVERTICAL + + + + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + Automatic + Game Boy Advance + Game Boy Color + Super Game Boy + Super Game Boy 2 + Game Boy + + + + wxALL|wxEXPAND + 5 + + + + + + wxHORIZONTAL + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + Never + Always + Automatic + + + + wxALL|wxEXPAND + 5 + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + + wxVERTICAL + + + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 0 + 9 + + + wxALL|wxEXPAND + 5 + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + wxALL + 5 + + + wxEXPAND + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + Select A File + BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|* + + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL + 5 + + + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + Select A File + BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|* + + + wxALL|wxEXPAND + 5 + + + wxEXPAND + + + + + + + + + wxVERTICAL + + + + + 0,0 + + + + + + 0,0 + + + + + + 0,0 + + + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + diff --git a/src/wx/xrc/GeneralConfig.xrc b/src/wx/xrc/GeneralConfig.xrc new file mode 100644 index 00000000..a409ce27 --- /dev/null +++ b/src/wx/xrc/GeneralConfig.xrc @@ -0,0 +1,159 @@ + + + + + wxVERTICAL + + + + + bold + + + wxALL + 5 + + + wxALL|wxEXPAND + 5 + + wxVERTICAL + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + wxALL + 5 + + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + wxHORIZONTAL + + + + If not empty or 0, enable rewind (seconds) + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + 0 + 600 + seconds (0-600); 0 = disable + + wxALL|wxEXPAND + 5 + + + + + + + + + + bold + + + wxALL + 5 + + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 0 + 0 + 1000 + 0 = no throttle + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + No throttle + 25% + 50% + 100% + 150% + 200% + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + wxALL|wxEXPAND + 5 + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + diff --git a/src/wx/xrc/IOViewer.xrc b/src/wx/xrc/IOViewer.xrc new file mode 100644 index 00000000..80260c25 --- /dev/null +++ b/src/wx/xrc/IOViewer.xrc @@ -0,0 +1,350 @@ + + + + + wxVERTICAL + + + + a + b + + + wxTOP|wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + + + + + wxLEFT|wxRIGHT + 5 + + + + + + + wxRIGHT + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxLEFT + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxRIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + 3 + 2 + + + + + + + wxALL + 5 + + + + + + + + + wxALL + 5 + + wxHORIZONTAL + + + + wxALL + 5 + + + + + wxALL + 5 + + + wxEXPAND + + + + diff --git a/src/wx/xrc/JoyPanel.xrc b/src/wx/xrc/JoyPanel.xrc new file mode 100644 index 00000000..83d454c0 --- /dev/null +++ b/src/wx/xrc/JoyPanel.xrc @@ -0,0 +1,341 @@ + + + + + wxVERTICAL + + + Click a field and press a key or move joystick to add. Press backspace to delete last added key. Resize window or click inside and move pointer to see entire contents if too small. + + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxEXPAND + 5 + + 4 + 1,3 + + + + + + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + wxEXPAND + + + wxEXPAND + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxGROW + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxEXPAND + 5 + + 4 + 1,3 + + + + + + + wxEXPAND|wxALL + + + + + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxALIGN_CENTRE + + + + diff --git a/src/wx/xrc/JoypadConfig.xrc b/src/wx/xrc/JoypadConfig.xrc new file mode 100644 index 00000000..4f897d1c --- /dev/null +++ b/src/wx/xrc/JoypadConfig.xrc @@ -0,0 +1,49 @@ + + + +Joypad Configuration + + wxVERTICAL + + + + + 0,0 + + + + + + 0,0 + + + + + + 0,0 + + + + + + 0,0 + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + diff --git a/src/wx/xrc/LinkConfig.xrc b/src/wx/xrc/LinkConfig.xrc new file mode 100644 index 00000000..7c074519 --- /dev/null +++ b/src/wx/xrc/LinkConfig.xrc @@ -0,0 +1,85 @@ + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + Please note that this is the first version of RFU emulation code and it's probably got more bugs than the link code. Also, it is only supported with 2 players in local mode. + + wxALL + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 0 + 9999999 + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + wxALL|wxEXPAND + 5 + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/Logging.xrc b/src/wx/xrc/Logging.xrc new file mode 100644 index 00000000..8c4c811a --- /dev/null +++ b/src/wx/xrc/Logging.xrc @@ -0,0 +1,139 @@ + + + + + wxVERTICAL + + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + wxALL|wxEXPAND + 5 + 400,200 + + wxHORIZONTAL + + + wxEXPAND + + + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + + + + wxALL|wxEXPAND + 5 + + wxHORIZONTAL + + wxEXPAND + + + + diff --git a/src/wx/xrc/MainFrame.xrc b/src/wx/xrc/MainFrame.xrc new file mode 100644 index 00000000..ba4071ee --- /dev/null +++ b/src/wx/xrc/MainFrame.xrc @@ -0,0 +1,22 @@ + + + + + + 2 + -3,-1 + + + wxHORIZONTAL + + + #000000 + + + + wxEXPAND + 160,144 + + + + diff --git a/src/wx/xrc/MainIcon.xrc b/src/wx/xrc/MainIcon.xrc new file mode 100644 index 00000000..56b35c9b --- /dev/null +++ b/src/wx/xrc/MainIcon.xrc @@ -0,0 +1,4 @@ + + + vbam.png + diff --git a/src/wx/xrc/MainMenu.xrc b/src/wx/xrc/MainMenu.xrc new file mode 100644 index 00000000..6516dab9 --- /dev/null +++ b/src/wx/xrc/MainMenu.xrc @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ctrl+P + 1 + + + + 1 + + + + Ctrl+R + + + + + F11 + + + + + + Alt+1 + 1 + + + + Alt+2 + 1 + + + + Alt+3 + 1 + + + + Alt+4 + 1 + + + + + + + + + + Ctrl+L + + + + 1 + + + + + F1 + + + + F2 + + + + F3 + + + + F4 + + + + F5 + + + + F6 + + + + F7 + + + + F8 + + + + F9 + + + + F10 + + + + + + + + + 1 + + + + 1 + + + + + + + Ctrl+S + + + + + Shift+F1 + + + + Shift+F2 + + + + Shift+F3 + + + + Shift+F4 + + + + Shift+F5 + + + + Shift+F6 + + + + Shift+F7 + + + + Shift+F8 + + + + Shift+F9 + + + + Shift+F10 + + + + + + + + + + Ctrl+B + + + + + Ctrl+C + + + + Ctrl+F + + + + 1 + + + + 1 + + + + + + + Ctrl+1 + 1 + 1 + + + + Ctrl+2 + 1 + 1 + + + + Ctrl+3 + 1 + 1 + + + + Ctrl+4 + 1 + 1 + + + + Ctrl+5 + 1 + 1 + + + + Ctrl+6 + 1 + 1 + + + + Ctrl+7 + 1 + 1 + + + + Ctrl+8 + 1 + 1 + + + + + + + 1 + 1 + + + + 1 + 1 + + + + 1 + 1 + + + + 1 + 1 + + + + 1 + 1 + + + + 1 + 1 + + + + + + Ctrl+N + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/wx/xrc/MapViewer.xrc b/src/wx/xrc/MapViewer.xrc new file mode 100644 index 00000000..bfbd1659 --- /dev/null +++ b/src/wx/xrc/MapViewer.xrc @@ -0,0 +1,233 @@ + + + + + wxVERTICAL + + + + + wxVERTICAL + + + + + + + + + + + + + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + wxVERTICAL + + wxLEFT|wxRIGHT|wxEXPAND + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + wxALL|wxEXPAND + 5 + + + + + 128,128d + + + 128,128d + + + wxALL + 5 + + + + 64,64d + + + wxALL + 5 + + + + + wxALL|wxALIGN_BOTTOM + 5 + + 3 + 1 + + wxEXPAND + + + + + + + + + + + + + wxALIGN_CENTRE_HORIZONTAL + + + + wxALIGN_RIGHT + + 3 + + wxEXPAND|wxALL + 5 + + + + diff --git a/src/wx/xrc/MemSelRegion.xrc b/src/wx/xrc/MemSelRegion.xrc new file mode 100644 index 00000000..7ede48e3 --- /dev/null +++ b/src/wx/xrc/MemSelRegion.xrc @@ -0,0 +1,50 @@ + + + + + wxVERTICAL + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxALL|wxEXPAND + 5 + + 2 + + wxEXPAND + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/MemViewer.xrc b/src/wx/xrc/MemViewer.xrc new file mode 100644 index 00000000..ffe78d60 --- /dev/null +++ b/src/wx/xrc/MemViewer.xrc @@ -0,0 +1,130 @@ + + + + + wxVERTICAL + + + + + + wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + wxTOP|wxBOTTOM|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + modern + + + + + wxALL|wxEXPAND + 5 + 100,200 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxEXPAND + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + + + + + wxALL + 5 + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + wxALL|wxALIGN_RIGHT + 5 + + 4 + + wxEXPAND + + + + diff --git a/src/wx/xrc/NetLink.xrc b/src/wx/xrc/NetLink.xrc new file mode 100644 index 00000000..49acd60f --- /dev/null +++ b/src/wx/xrc/NetLink.xrc @@ -0,0 +1,159 @@ + + + + + wxVERTICAL + + + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + 3 + + wxEXPAND + + + + + 200 + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + + wxALL|wxEXPAND + 5 + + + + + 1 + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 2 + + + + 1 + + + wxALL|wxALIGN_CENTRE + 5 + + + + + 1 + + wxALL|wxALIGN_CENTRE + 5 + + + wxEXPAND + + + + + + wxALL|wxALIGN_CENTRE_VERTICAL + 5 + + + + 2 + 2 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + + wxEXPAND + + 2 + 1 + + wxEXPAND + + + + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/OAMViewer.xrc b/src/wx/xrc/OAMViewer.xrc new file mode 100644 index 00000000..f40b5851 --- /dev/null +++ b/src/wx/xrc/OAMViewer.xrc @@ -0,0 +1,180 @@ + + + + + wxVERTICAL + + + wxHORIZONTAL + + + + + + + + + + 0 + 127 + + wxEXPAND + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + wxEXPAND + + + + + + + + + + + + wxVERTICAL + + wxALL + 5 + + + + wxVERTICAL + + + + + + 64,64d + + + 64,64d + + + wxALL + 5 + + + + 64,64d + + + wxALL + 5 + + wxHORIZONTAL + + + + + wxALL|wxALIGN_BOTTOM + 5 + + + + + + + + + + + + wxALL + 5 + + + + + + wxALL|wxALIGN_CENTRE_HORIZONTAL + 5 + + + + wxALL|wxALIGN_RIGHT + 5 + + 3 + + wxEXPAND + + + + diff --git a/src/wx/xrc/PaletteViewer.xrc b/src/wx/xrc/PaletteViewer.xrc new file mode 100644 index 00000000..5c4c0672 --- /dev/null +++ b/src/wx/xrc/PaletteViewer.xrc @@ -0,0 +1,124 @@ + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + 2 + + + + wxVERTICAL + + + 128,128d + + + + + wxALL + 5 + + + + + wxVERTICAL + + + 128,128d + + + + + wxALL + 5 + + + + 2 + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + 4 + + + + + + + + + + wxALIGN_CENTRE_HORIZONTAL + + + + + + wxALIGN_CENTRE_HORIZONTAL + + + + wxALIGN_RIGHT + + + wxALL|wxEXPAND + 5 + + + + diff --git a/src/wx/xrc/SoundConfig.xrc b/src/wx/xrc/SoundConfig.xrc new file mode 100644 index 00000000..d2441a8e --- /dev/null +++ b/src/wx/xrc/SoundConfig.xrc @@ -0,0 +1,382 @@ + + + +Sound Settings + + wxVERTICAL + + + + + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + + 100 + 0 + 400 + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL + 5 + + + + wxEXPAND + + + + + + + + + wxEXPAND + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + wxVERTICAL + + wxEXPAND + + + wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + + + 48 KHz + 44.1 KHz + 22 KHz + 11 KHz + + + + wxALL|wxEXPAND + 5 + + 2 + 1 + + + + + + + + wxVERTICAL + + + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + + wxALL|wxEXPAND + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + wxALL + 5 + + + + + + 2 + 10 + 1 + + + wxALL|wxEXPAND + 5 + + + + + + wxALL|wxALIGN_CENTRE + 5 + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + + + + wxALL + 5 + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL + 5 + + + + wxEXPAND + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + wxVERTICAL + + wxALL|wxEXPAND + 5 + + + + + wxVERTICAL + + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL + 5 + + + + wxEXPAND + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + wxALL|wxEXPAND + 5 + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + wxVERTICAL + + + + + wxALL + 5 + + + + + wxVERTICAL + + + wxALL|wxEXPAND + 5 + + + + + + + + wxALL + 5 + + + + wxEXPAND + + + + + + wxALL + 5 + + wxHORIZONTAL + + wxEXPAND + + + wxALL|wxEXPAND + 5 + + + + + + + + + wxALL|wxEXPAND + 5 + + + + + + + + + + + +