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.

This commit is contained in:
skidau 2015-04-27 10:53:18 +00:00
parent 103d90d3f3
commit f74f8e8e41
40 changed files with 6496 additions and 8 deletions

View File

@ -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<wxPropertySheetDialog*>(anObject);
wxDialog * dialog = dynamic_cast<wxDialog*>(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;

View File

@ -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

View File

@ -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"

126
src/wx/xrc/AccelConfig.xrc Normal file
View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="AccelConfig">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Co_mmands:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTreeCtrl" name="Commands">
<style>wxTR_HAS_BUTTONS|wxTR_NO_LINES|wxTR_FULL_ROW_HIGHLIGHT|wxTR_HIDE_ROOT</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Current Keys:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxListBox" name="Current"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="Assign">
<label>_Assign</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Remove">
<label>_Remove</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="ResetAll">
<label>Re_set All</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<cols>3</cols>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Currently assigned to:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="AlreadyThere"/>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Shortcut Key:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Shortcut" subclass="wxKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

112
src/wx/xrc/CheatAdd.xrc Normal file
View File

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="CheatAdd">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Description</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxTextCtrl" name="Desc"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Address</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText" name="Address"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Value</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<option>1</option>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxTextCtrl" name="Value"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Format</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText" name="Format"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK">
<default>1</default>
</object>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

217
src/wx/xrc/CheatCreate.xrc Normal file
View File

@ -0,0 +1,217 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="CheatCreate">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxListCtrl" name="CheatList" subclass="CheatListCtrl">
<style>wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VIRTUAL</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<minsize>-1,200</minsize>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="EQ">
<label>E_qual</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="NE">
<label>_Not equal</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="LT">
<label>_Less than</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="LE">
<label>L_ess or equal</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="GT">
<label>_Greater than</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="GE">
<label>G_reater or equal</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Compare type</label>
<orient>wxVERTICAL</orient>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Signed">
<label>S_igned</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Unsigned">
<label>_Unsigned</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Hexadecimal">
<label>_Hexadecimal</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Signed/Unsigned</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Size8">
<label>_8 bits</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Size16">
<label>_16 bits</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Size32">
<label>_32 bits</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Data size</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="OldValue">
<label>Ol_d value</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="SpecificValue">
<label>Specific _value</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Value"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<label>Search value</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="Search">
<label>_Search</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Update">
<label>U_pdate Old</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Clear">
<label>_Clear</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="AddCheat">
<label>_Add cheat</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_OK"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALIGN_CENTRE</flag>
</object>
</object>
</object>
</resource>

92
src/wx/xrc/CheatEdit.xrc Normal file
View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="CheatEdit">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Description</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxTextCtrl" name="Desc"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Type</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxChoice" name="Type"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>C_odes</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<option>1</option>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxTextCtrl" name="Codes">
<style>wxTE_MULTILINE|wxTE_DONTWRAP</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK">
<default>1</default>
</object>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

61
src/wx/xrc/CheatList.xrc Normal file
View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="CheatList">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxToolBar">
<object class="tool" name="wxID_OPEN">
<bitmap stock_id="wxART_FILE_OPEN"/>
<tooltip>Open cheat list</tooltip>
</object>
<object class="tool" name="wxID_SAVE">
<bitmap stock_id="wxART_FILE_SAVE"/>
<tooltip>Save cheat list</tooltip>
</object>
<object class="separator"/>
<object class="tool" name="wxID_ADD">
<bitmap stock_id="wxART_ADD_BOOKMARK"/>
<tooltip>Add new cheat</tooltip>
</object>
<object class="tool" name="wxID_REMOVE">
<bitmap stock_id="wxART_DEL_BOOKMARK"/>
<tooltip>Delete selected cheat</tooltip>
</object>
<object class="tool" name="wxID_CLEAR">
<bitmap platform="unix" stock_id="gtk-clear"/>
<bitmap stock_id="wxART_DELETE"/>
<tooltip>Delete all cheats</tooltip>
</object>
<object class="separator"/>
<object class="tool" name="wxID_SELECTALL">
<bitmap platform="unix" stock_id="gtk-select-all"/>
<bitmap stock_id="wxART_TICK_MARK"/>
<tooltip>Toggle all Cheats</tooltip>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxListCtrl" name="Cheats" subclass="wxCheckedListCtrl">
<style>wxLC_REPORT</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<minsize>200,100d</minsize>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK">
<default>1</default>
</object>
</object>
</object>
</object>
</object>
</object>
</resource>

28
src/wx/xrc/CodeSelect.xrc Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="CodeSelect">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxListBox" name="CodeList">
<style>wxLB_HSCROLL|wxLB_SORT</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="DirectoriesConfig">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Game Boy Advance ROMs</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="GBARoms">
<message>Game Boy Advance ROMs</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Game Boy ROMs</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="GBRoms">
<message>Game Boy ROMs</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Native Saves</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="BatSaves">
<message>Native Saves</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Emulator Saves</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="StateSaves">
<message>Emulator Saves</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Screenshots</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="Screenshots">
<message>Screenshots</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Recordings</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxDirPickerCtrl" name="Recordings">
<message>Recordings</message>
<style>wxDIRP_USE_TEXTCTRL|wxDIRP_DIR_MUST_EXIST</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

481
src/wx/xrc/Disassemble.xrc Normal file
View File

@ -0,0 +1,481 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="Disassemble">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="InsAuto">
<label>_Automatic</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="InsARM">
<label>A_RM</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="InsThumb">
<label>_THUMB</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="GotoAddress">
<style>wxTE_PROCESS_ENTER</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Goto">
<label>_Go</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="Disassembly" subclass="DisList">
<font>
<family>modern</family>
</font>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>R0:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R0">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R1:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R1">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R2:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R2">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R3:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R3">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R4:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R4">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R5:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R5">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R6:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R6">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R7:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R7">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R8:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R8">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R9:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R9">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R10:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R10">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R11:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R11">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R12:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R12">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>SP:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R13">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>LR:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R14">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>PC:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R15">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>CPSR:</label>
</object>
<flag>wxBOTTOM|wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="R16">
<font>
<family>modern</family>
</font>
<label>00000000</label>
</object>
<flag>wxBOTTOM|wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="N" subclass="DispCheckBox">
<label>N</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="I" subclass="DispCheckBox">
<label>I</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Z" subclass="DispCheckBox">
<label>Z</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="F" subclass="DispCheckBox">
<label>F</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="C" subclass="DispCheckBox">
<label>C</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="T" subclass="DispCheckBox">
<label>T</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="V" subclass="DispCheckBox">
<label>V</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticText">
<label>Mode:</label>
</object>
<flag>wxLEFT|wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Mode">
<font>
<family>modern</family>
</font>
<label>00</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
</object>
</object>
<cols>2</cols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>4</cols>
<object class="sizeritem">
<object class="wxButton" name="GotoPC">
<label>G_oto PC</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>Re_fresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Next">
<label>_Next</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,354 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="DisplayConfig">
<title>Display settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<flag>wxEXPAND</flag>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Speed indicator :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxChoice" name="SpeedIndicator">
<content>
<item>None</item>
<item>Percentage</item>
<item>Detailed</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<orient>wxVERTICAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="NoStatusMsg">
<label>Disable status messages</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Transparent">
<label>Transparent status and speed</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>On-Screen Display</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Default magnification :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="DefaultScale">
<min>1</min>
<max>6</max>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="RetainAspect">
<label>Retain aspect ratio</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Maximum magnification factor :</label>
<tooltip>0 = no maximum</tooltip>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxSpinCtrl" name="MaxScale">
<tooltip>0 = no limit</tooltip>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Full screen</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Video Mode :</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="FullscreenMode"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Fullscreen">
<label>Full screen at startup</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Zoom</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Output module</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxRadioButton" name="OutputSimple">
<label>Simple</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="OutputOpenGL">
<label>OpenGL</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="OutputDirect3D">
<label>Direct3D 9</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="OutputCairo">
<label>Cairo</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="Bilinear">
<label>Bilinear scaling filter</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<cols>2</cols>
<object class="sizeritem">
<object class="wxCheckBox" name="VSync">
<label>Wait for VSync</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Filters</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="MMX">
<label>Enable MMX</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Multithread">
<label>Enable multithreading</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Fullscreen filter :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Filter">
<content>
<item>None</item>
<item>2xSaI</item>
<item>Super 2xSaI</item>
<item>Super Eagle</item>
<item>Pixelate</item>
<item>Advance MAME Scale2x</item>
<item>Bilinear</item>
<item>Bilinear Plus</item>
<item>Scanlines</item>
<item>TV Mode</item>
<item>HQ 2x</item>
<item>LQ 2x</item>
<item>Simple 2X</item>
<item>Simple 3x</item>
<item>HQ 3x</item>
<item>Simple 4x</item>
<item>HQ 4x</item>
<item>XBRz 2x (note: Not available yet)</item>
<item>XBRz 3x (note: Not available yet)</item>
<item>XBRz 4x (note: Not available yet)</item>
<item>XBRz 5x (note: Not available yet)</item>
<item>Plugin</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="PluginLab">
<label>Plugin :</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Plugin"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Interframe blending :</label>
</object>
<flag>wxRIGHT|wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="IFB">
<content>
<item>None</item>
<item>Smart interframe blending</item>
<item>Interframe motion blur</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Advanced</label>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

69
src/wx/xrc/ExportSPS.xrc Normal file
View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="ExportSPS">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Title:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Title"/>
<flag>wxEXPAND|wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Description:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Description"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Notes:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Notes">
<style>wxTE_PROCESS_ENTER|wxTE_MULTILINE|wxHSCROLL</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<minsize>200,100</minsize>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
<growablerows>2</growablerows>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

121
src/wx/xrc/GBAROMInfo.xrc Normal file
View File

@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBAROMInfo">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Game title:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Title"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Game code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="GameCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maker code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="MakerCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maker name:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="MakerName"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Main unit code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="UnitCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Device type:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="DeviceType"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>ROM version:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Version"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>CRC:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="CRC">
<label>ROM Information</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<cols>2</cols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxPanel" name="GBColorPrefPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxChoice" name="ColorSet">
<content>
<item/>
<item>Standard</item>
<item>Blue Sea</item>
<item>Dark Night</item>
<item>Green Forest</item>
<item>Hot Desert</item>
<item>Pink Dreams</item>
<item>Weird Colors</item>
<item>Real GB Colors</item>
<item>Real 'GB on GBASP' Colors</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color0"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color1"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color2"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color3"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Background</label>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color4"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color5"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color6"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxColourPickerCtrl" name="Color7"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Sprites</label>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="UsePalette" subclass="wxFarRadio">
<label>Use this palette</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
</object>
<object class="sizeritem">
<object class="wxButton" name="Reset">
<label>Restore</label>
</object>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBDisassemble">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxTextCtrl" name="GotoAddress">
<style>wxTE_PROCESS_ENTER</style>
</object>
<option>0</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Goto">
<label>_Go</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxPanel" name="Disassembly" subclass="DisList">
<font>
<family>modern</family>
</font>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>AF:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="AF">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>BC:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="BC">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>DE:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="DE">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>HL:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="HL">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>SP:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="SP">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>PC:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="PC">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>IFF:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="IFF">
<font>
<family>modern</family>
</font>
<label>0000</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>LY:</label>
</object>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="LY">
<font>
<family>modern</family>
</font>
<label>00</label>
</object>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Z" subclass="DispCheckBox">
<label>Z</label>
</object>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="wxCheckBox" name="N" subclass="DispCheckBox">
<label>N</label>
</object>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="wxCheckBox" name="H" subclass="DispCheckBox">
<label>H</label>
</object>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="wxCheckBox" name="C" subclass="DispCheckBox">
<label>C</label>
</object>
</object>
<cols>2</cols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>4</cols>
<object class="sizeritem">
<object class="wxButton" name="GotoPC">
<label>G_oto PC</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>Re_fresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Next">
<label>_Next</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

172
src/wx/xrc/GBMapViewer.xrc Normal file
View File

@ -0,0 +1,172 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBMapViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="CharBase0">
<label>0x8000</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="CharBase1">
<label>0x8800</label>
</object>
</object>
<label>Char Base</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="MapBase0">
<label>0x9800</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="MapBase1">
<label>0x9C00</label>
</object>
</object>
<label>Map Base</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Stretch">
<label>Stretch to _fit</label>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Auto _update</label>
</object>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="spacer"/>
<object class="sizeritem">
<object class="wxStaticText" name="Coords"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Address:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Address"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Tile:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Tile"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Flip:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Flip"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Palette:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Palette"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Priority:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Priority"/>
</object>
<cols>2</cols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="GfxView" subclass="GfxPanel">
<size>128,128d</size>
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>128,128d</size>
<style>wxBORDER_SUNKEN|wxCLIP_CHILDREN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="Zoom" subclass="PixView">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL|wxALIGN_BOTTOM</flag>
<border>5</border>
</object>
<cols>3</cols>
<growablecols>1</growablecols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
</object>
<object class="sizeritem">
<object class="wxButton" name="Save">
<label>_Save</label>
</object>
<flag>wxALIGN_CENTRE_HORIZONTAL</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALIGN_RIGHT</flag>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND|wxALL</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

165
src/wx/xrc/GBOAMViewer.xrc Normal file
View File

@ -0,0 +1,165 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBOAMViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Sprite:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="Sprite">
<min>0</min>
<max>39</max>
<style>wxSP_HORIZONTAL|wxSP_ARROW_KEYS</style>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticText">
<label>Pos:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Pos"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Tile:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Tile"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Prio:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Priority"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>OAP:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="OAP"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Pal:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Palette"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Flags:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Flags"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Bank:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Bank"/>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Stretch">
<label>Stretch to _fit</label>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="GfxView" subclass="GfxPanel">
<size>64,64d</size>
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>64,64d</size>
<style>wxBORDER_SUNKEN|wxCLIP_CHILDREN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="Zoom" subclass="PixView">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL|wxALIGN_BOTTOM</flag>
<border>5</border>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE">
<label>_Save...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBPaletteViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Click on a color for more information</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Background</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="Background" subclass="PixViewEvt">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
</object>
<object class="sizeritem">
<object class="wxButton" name="SaveBG">
<label>Save _BG...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Sprite</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="Sprite" subclass="PixViewEvt">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
</object>
<object class="sizeritem">
<object class="wxButton" name="SaveOBJ">
<label>Save _Sprite...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Index:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Index"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Value:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Value"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

74
src/wx/xrc/GBPrinter.xrc Normal file
View File

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBPrinter">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="Preview">
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>320,288</size>
<style>wxBORDER_SIMPLE|wxALWAYS_SHOW_SB|wxHSCROLL|wxVSCROLL</style>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Print Si_ze</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Magnification">
<content>
<item>1x</item>
<item>2x</item>
<item>3x</item>
<item>4x</item>
</content>
<selection>1</selection>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALIGN_CENTRE_HORIZONTAL</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxButton" name="wxID_PRINT"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_OK">
<label>C_ontinue</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CANCEL">
<label>_Discard</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
</object>
</object>
</resource>

178
src/wx/xrc/GBROMInfo.xrc Normal file
View File

@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBROMInfo">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticText">
<label>Game title:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Title"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maker code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="MakerCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maker name:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="MakerName"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Unit code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="UnitCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Cartridge type:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="DeviceType"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>ROM version:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Version"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>CRC:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="CRC"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Color:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Color"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>ROM size:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="ROMSize"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>RAM size:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="RAMSize"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Dest. code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="DestCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>License code:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="LicCode"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Checksum:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Checksum"/>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

168
src/wx/xrc/GBTileViewer.xrc Normal file
View File

@ -0,0 +1,168 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GBTileViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Bank0">
<label>_0</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Bank1">
<label>_1</label>
</object>
</object>
<label>VRAM Bank</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxTOP|wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="CharBase0">
<label>0x_8000</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="CharBase1">
<label>0x_8800</label>
</object>
</object>
<label>Char Base</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Palette:</label>
</object>
<flag>wxTOP|wxLEFT|wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSlider" name="Palette">
<min>0</min>
<max>7</max>
<tickfreq>1</tickfreq>
<pagesize>2</pagesize>
<style>wxSL_BOTTOM</style>
</object>
<flag>wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Stretch">
<label>Stretch to _fit</label>
</object>
<flag>wxTOP|wxLEFT|wxRIGHT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxBOTTOM|wxLEFT|wxRIGHT</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Tile:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Tile"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Address:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Address"/>
</object>
<cols>2</cols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="Zoom" subclass="PixView">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL|wxALIGN_BOTTOM</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="GfxView" subclass="GfxPanel">
<size>128,128d</size>
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>128,128d</size>
<style>wxBORDER_SUNKEN|wxCLIP_CHILDREN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE">
<label>_Save...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,340 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GameBoyAdvanceConfig">
<title>Game Boy Advance settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Save type :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxChoice" name="SaveType">
<content>
<item>Automatic</item>
<item>EEPROM</item>
<item>SRAM</item>
<item>Flash</item>
<item>EEPROM + Sensor</item>
<item>None</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Flash size :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxChoice" name="FlashSize">
<content>
<item>64K</item>
<item>128K</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="Detect">
<label>Detect Now</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<label>Cartridge</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="RTC">
<label>Enable real-time clock</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AGBPrinter">
<label>Enable AGB Printer</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>System and peripherals</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Frame Skip</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="FrameSkipAuto">
<label>Enable _automatic frame skipping</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="FrameSkipLab">
<label>_Number of frames to skip :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="FrameSkip">
<min>0</min>
<max>9</max>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Speed</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="BootRomEn">
<label>Use a bios file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="BootRomLab">
<label>Bios file :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFilePickerCtrl" name="BootRom">
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="SkipIntro">
<label>Skip BIOS intro</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Boot ROM</label>
</object>
<object class="notebookpage">
<object class="wxPanel" name="GameSettings">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Game Code</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="GameCode">
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Comment</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Comment"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Real Time Clock:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="OvRTC">
<content>
<item>Default</item>
<item>Disabled</item>
<item>Enabled</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Save Type:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="OvSaveType">
<content>
<item>Default</item>
<item>Automatic</item>
<item>EEPROM</item>
<item>SRAM</item>
<item>Flash</item>
<item>EEPROM+Sensor</item>
<item>None</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Flash Size:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="OvFlashSize">
<content>
<item>Default</item>
<item>64K</item>
<item>128K</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Mirroring:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="OvMirroring">
<content>
<item>Default</item>
<item>Disabled</item>
<item>Enabled</item>
</content>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="Defaults">
<label>_Defaults</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
</object>
</object>
<label>Game Overrides</label>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,269 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GameBoyConfig">
<title>GameBoy settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Emulated _system :</label>
</object>
<option>1</option>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="System">
<content>
<item>Automatic</item>
<item>Game Boy Advance</item>
<item>Game Boy Color</item>
<item>Super Game Boy</item>
<item>Super Game Boy 2</item>
<item>Game Boy</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Display _borders :</label>
</object>
<option>1</option>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Borders">
<content>
<item>Never</item>
<item>Always</item>
<item>Automatic</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Printer">
<label>Emulate a Game Boy _Printer</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="PrintGather">
<label>Automatically _gather entire printed page</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="PrintSnap">
<label>Automatically _save printouts as snapshots</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Color">
<label>Emulate gameboy washed colors</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<label>System and Peripherals</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Frame Skip</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="FrameSkipAuto">
<label>Enable _automatic frame skipping</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="FrameSkipLab">
<label>_Number of frames to skip :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="FrameSkip">
<min>0</min>
<max>9</max>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Speed</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="BootRomEn">
<label>Use a _Game Boy boot ROM file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="BootRomLab">
<label>Boot _ROM file :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFilePickerCtrl" name="BootRom">
<message>Select A File</message>
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="CBootRomEn">
<label>Use a _Color Game Boy boot ROM file</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText" name="CBootRomLab">
<label>Boot ROM _file :</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFilePickerCtrl" name="CBootRom">
<message>Select A File</message>
<wildcard>BIOS files (*.bin;*.rom)|*.bin;*.rom|All files|*</wildcard>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
<label>Boot ROM</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object_ref name="cp1" ref="GBColorPrefPanel">
<pos>0,0</pos>
</object_ref>
<label>Default</label>
</object>
<object class="notebookpage">
<object_ref name="cp2" ref="GBColorPrefPanel">
<pos>0,0</pos>
</object_ref>
<label>User 1</label>
</object>
<object class="notebookpage">
<object_ref name="cp3" ref="GBColorPrefPanel">
<pos>0,0</pos>
</object_ref>
<label>User 2</label>
</object>
</object>
</object>
</object>
</object>
<label>Custom Colors</label>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="GeneralConfig">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>General</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="PauseWhenInactive">
<label>Pause when _inactive</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="ApplyPatches">
<label>_Auto-apply IPS/UPS/PPF patches</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Screenshot Format:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="PNG">
<label>_PNG</label>
<style>wxRB_GROUP</style>
</object>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="BMP">
<label>_BMP</label>
</object>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Rewind interval :</label>
<tooltip>If not empty or 0, enable rewind (seconds)</tooltip>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="RewindInterval">
<min>0</min>
<max>600</max>
<tooltip>seconds (0-600); 0 = disable</tooltip>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>_Throttle</label>
<font>
<weight>bold</weight>
</font>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>% of normal:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="Throttle">
<value>0</value>
<min>0</min>
<max>1000</max>
<tooltip>0 = no throttle</tooltip>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxChoice" name="ThrottleSel">
<content>
<item/>
<item>No throttle</item>
<item>25%</item>
<item>50%</item>
<item>100%</item>
<item>150%</item>
<item>200%</item>
</content>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
</object>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

350
src/wx/xrc/IOViewer.xrc Normal file
View File

@ -0,0 +1,350 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="IOViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxChoice" name="Address">
<content>
<item>a</item>
<item>b</item>
</content>
</object>
<flag>wxTOP|wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Value:</label>
</object>
<flag>wxLEFT|wxRIGHT</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Value"/>
<flag>wxRIGHT</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="B15"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>15 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B15lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B14"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>14 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B14lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B13"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>13 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B13lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B12"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>12 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B12lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B11"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>11 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B11lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B10"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>10 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B10lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B9"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>9 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B9lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B8"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>8 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B8lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B7"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>7 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B7lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B6"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>6 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B6lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B5"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>5 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B5lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B4"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>4 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B4lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B3"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>3 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B3lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B2"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>2 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B2lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B1"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>1 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B1lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="B0"/>
<flag>wxLEFT</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>0 </label>
</object>
<flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="B0lab"/>
<flag>wxRIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<cols>3</cols>
<growablecols>2</growablecols>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxButton" name="wxID_APPLY"/>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<option>1</option>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

341
src/wx/xrc/JoyPanel.xrc Normal file
View File

@ -0,0 +1,341 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxPanel" name="JoyPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<tooltip>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.</tooltip>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Up</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Up" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>A</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="A" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Down</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Down" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>B</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="B" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Left</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Left" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>L</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="L" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Right</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Right" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>R</label>
<style>wxALIGN_RIGHT</style>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="R" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Select</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Select" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Start</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Start" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>4</cols>
<growablecols>1,3</growablecols>
</object>
</object>
<label>Standard</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Motion Up</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="MotionUp" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Autofire A</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="AutoA" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Motion Down</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="MotionDown" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Autofire B</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="AutoB" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Motion Left</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="MotionLeft" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="spacer">
<flag>wxEXPAND</flag>
</object>
<object class="spacer">
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Motion Right</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="MotionRight" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxGROW</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>GameShark</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="GS" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Speed Up</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Speed" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Screenshot</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Capture" subclass="wxJoyKeyTextCtrl">
<style>wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>4</cols>
<growablecols>1,3</growablecols>
</object>
</object>
<label>Special</label>
</object>
</object>
<option>1</option>
<flag>wxEXPAND|wxALL</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="DefaultConfig" subclass="wxFarRadio">
<label>Use as default</label>
</object>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="Defaults">
<label>Defaults</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Clear">
<label>Clear</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALIGN_CENTRE</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="JoypadConfig">
<title>Joypad Configuration</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object_ref name="joy1" ref="JoyPanel">
<pos>0,0</pos>
</object_ref>
<label>Player 1</label>
</object>
<object class="notebookpage">
<object_ref name="joy2" ref="JoyPanel">
<pos>0,0</pos>
</object_ref>
<label>Player 2</label>
</object>
<object class="notebookpage">
<object_ref name="joy3" ref="JoyPanel">
<pos>0,0</pos>
</object_ref>
<label>Player 3</label>
</object>
<object class="notebookpage">
<object_ref name="joy4" ref="JoyPanel">
<pos>0,0</pos>
</object_ref>
<label>Player 4</label>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>

85
src/wx/xrc/LinkConfig.xrc Normal file
View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="LinkConfig">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="Joybus">
<label>Enable joybus</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText" name="JoybusHostLab">
<label>Joybus host</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="JoybusHost"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Link">
<label>Enable link</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="RFU">
<label>Enable wireless</label>
<tooltip>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.</tooltip>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText" name="LinkTimeoutLab">
<label>Link timeout (in milliseconds)</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="LinkTimeout">
<min>0</min>
<max>9999999</max>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

139
src/wx/xrc/Logging.xrc Normal file
View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="Logging">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="SWI">
<label>SW_I</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="UnalignedMemory">
<label>Unaligned _memory</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="IllWrite">
<label>Illegal _write</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="IllRead">
<label>Illegal _read</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="DMA0">
<label>DMA _0</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="DMA1">
<label>DMA _1</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="DMA2">
<label>DMA _2</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="DMA3">
<label>DMA _3</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="UndefInstruction">
<label>_Undefined instruction</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AGBPrint">
<label>_AGBPrint</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="SoundOut">
<label>Soun_d output</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<label>Verbose</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Log">
<style>wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<minsize>400,200</minsize>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE">
<label>_Save</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Clear">
<label>_Clear</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

22
src/wx/xrc/MainFrame.xrc Normal file
View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxFrame" name="MainFrame" subclass="MainFrame">
<object_ref ref="MainMenu"/>
<object class="wxStatusBar">
<fields>2</fields>
<widths>-3,-1</widths>
</object>
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="DisplayArea" subclass="GameArea">
<bg>#000000</bg>
<style>wxCLIP_CHILDREN|wxWANTS_CHARS</style>
</object>
<option>1</option>
<flag>wxEXPAND</flag>
<minsize>160,144</minsize>
</object>
</object>
</object>
</resource>

4
src/wx/xrc/MainIcon.xrc Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxIcon" name="MainIcon">vbam.png</object>
</resource>

439
src/wx/xrc/MainMenu.xrc Normal file
View File

@ -0,0 +1,439 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxMenuBar" name="MainMenu">
<object class="wxMenu">
<label>_File</label>
<object class="wxMenuItem" name="wxID_OPEN"/>
<object class="wxMenu" name="RecentMenu">
<label>Open rece_nt</label>
<object class="wxMenuItem" name="RecentReset">
<label>_Reset recent list</label>
</object>
<object class="wxMenuItem" name="RecentFreeze">
<label>_Freeze recent list</label>
<checkable>1</checkable>
</object>
</object>
<object class="wxMenuItem" name="RomInformation">
<label>ROM in_formation...</label>
</object>
<object class="separator"/>
<object class="wxMenu">
<object class="wxMenuItem" name="ImportBatteryFile">
<label>_Battery file...</label>
</object>
<object class="wxMenuItem" name="ImportGamesharkCodeFile">
<label>Gameshark _code file...</label>
</object>
<object class="wxMenuItem" name="ImportGamesharkActionReplaySnapshot">
<label>_Gameshark snapshot...</label>
</object>
<label>_Import</label>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="ExportBatteryFile">
<label>_Battery file...</label>
</object>
<object class="wxMenuItem" name="ExportGamesharkSnapshot">
<label>_Gameshark snapshot...</label>
</object>
<label>_Export</label>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="ScreenCapture">
<label>Screen capt_ure...</label>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="RecordSoundStartRecording">
<label>Start _sound recording...</label>
</object>
<object class="wxMenuItem" name="RecordSoundStopRecording">
<label>Stop s_ound recording</label>
</object>
<object class="wxMenuItem" name="RecordAVIStartRecording">
<label>Start _video recording...</label>
</object>
<object class="wxMenuItem" name="RecordAVIStopRecording">
<label>Stop v_ideo recording</label>
</object>
<object class="wxMenuItem" name="RecordMovieStartRecording">
<label>Start _game recording...</label>
</object>
<object class="wxMenuItem" name="RecordMovieStopRecording">
<label>Stop g_ame recording</label>
</object>
<label>_Record</label>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="PlayMovieStartPlaying">
<label>Start playing _movie...</label>
</object>
<object class="wxMenuItem" name="PlayMovieStopPlaying">
<label>Stop playing m_ovie</label>
</object>
<label>_Play</label>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="wxID_CLOSE"/>
<object class="wxMenuItem" name="wxID_EXIT"/>
</object>
<object class="wxMenu">
<label>_Emulation</label>
<object class="wxMenuItem" name="Pause">
<label>_Pause</label>
<accel>Ctrl+P</accel>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="EmulatorSpeedupToggle">
<label>_Turbo mode</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="Reset">
<label>_Reset</label>
<accel>Ctrl+R</accel>
</object>
<object class="wxMenuItem" name="ToggleFullscreen">
<label>_Fullscreen</label>
<bitmap platform="unix" stock_id="gtk-fullscreen"/>
<accel>F11</accel>
</object>
<object class="wxMenu">
<label>_Autofire</label>
<object class="wxMenuItem" name="JoypadAutofireA">
<label>_A</label>
<accel>Alt+1</accel>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="JoypadAutofireB">
<label>_B</label>
<accel>Alt+2</accel>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="JoypadAutofireL">
<label>_L</label>
<accel>Alt+3</accel>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="JoypadAutofireR">
<label>_R</label>
<accel>Alt+4</accel>
<checkable>1</checkable>
</object>
</object>
<object class="wxMenuItem" name="LanLink">
<label>Start _Network Link...</label>
</object>
<object class="separator"/>
<object class="wxMenu">
<object class="wxMenuItem" name="LoadGameRecent">
<label>Most _recent</label>
<accel>Ctrl+L</accel>
</object>
<object class="wxMenuItem" name="LoadGameAutoLoad">
<label>_Auto load most recent</label>
<checkable>1</checkable>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="LoadGame01">
<label>_1</label>
<accel>F1</accel>
</object>
<object class="wxMenuItem" name="LoadGame02">
<label>_2</label>
<accel>F2</accel>
</object>
<object class="wxMenuItem" name="LoadGame03">
<label>_3</label>
<accel>F3</accel>
</object>
<object class="wxMenuItem" name="LoadGame04">
<label>_4</label>
<accel>F4</accel>
</object>
<object class="wxMenuItem" name="LoadGame05">
<label>_5</label>
<accel>F5</accel>
</object>
<object class="wxMenuItem" name="LoadGame06">
<label>_6</label>
<accel>F6</accel>
</object>
<object class="wxMenuItem" name="LoadGame07">
<label>_7</label>
<accel>F7</accel>
</object>
<object class="wxMenuItem" name="LoadGame08">
<label>_8</label>
<accel>F8</accel>
</object>
<object class="wxMenuItem" name="LoadGame09">
<label>_9</label>
<accel>F9</accel>
</object>
<object class="wxMenuItem" name="LoadGame10">
<label>1_0</label>
<accel>F10</accel>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="Load">
<label>From _File ...</label>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="KeepSaves">
<label>Do not change _battery save</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="KeepCheats">
<label>Do not change _cheat list</label>
<checkable>1</checkable>
</object>
<label>_Load state</label>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="SaveGameOldest">
<label>_Oldest slot</label>
<accel>Ctrl+S</accel>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="SaveGame01">
<label>_1</label>
<accel>Shift+F1</accel>
</object>
<object class="wxMenuItem" name="SaveGame02">
<label>_2</label>
<accel>Shift+F2</accel>
</object>
<object class="wxMenuItem" name="SaveGame03">
<label>_3</label>
<accel>Shift+F3</accel>
</object>
<object class="wxMenuItem" name="SaveGame04">
<label>_4</label>
<accel>Shift+F4</accel>
</object>
<object class="wxMenuItem" name="SaveGame05">
<label>_5</label>
<accel>Shift+F5</accel>
</object>
<object class="wxMenuItem" name="SaveGame06">
<label>_6</label>
<accel>Shift+F6</accel>
</object>
<object class="wxMenuItem" name="SaveGame07">
<label>_7</label>
<accel>Shift+F7</accel>
</object>
<object class="wxMenuItem" name="SaveGame08">
<label>_8</label>
<accel>Shift+F8</accel>
</object>
<object class="wxMenuItem" name="SaveGame09">
<label>_9</label>
<accel>Shift+F9</accel>
</object>
<object class="wxMenuItem" name="SaveGame10">
<label>1_0</label>
<accel>Shift+F10</accel>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="Save">
<label>To _File ...</label>
</object>
<label>_Save state</label>
</object>
<object class="wxMenuItem" name="Rewind">
<label>Re_wind</label>
<accel>Ctrl+B</accel>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="CheatsList">
<label>List _cheats ...</label>
<accel>Ctrl+C</accel>
</object>
<object class="wxMenuItem" name="CheatsSearch">
<label>Find c_heat ...</label>
<accel>Ctrl+F</accel>
</object>
<object class="wxMenuItem" name="CheatsAutoSaveLoad">
<label>A_utomatically save/load cheats</label>
<checkable>1</checkable>
</object>
<object class="wxMenuItem" name="CheatsEnable">
<label>_Enable cheats</label>
<checkable>1</checkable>
</object>
</object>
<object class="wxMenu">
<object class="wxMenu">
<object class="wxMenuItem" name="VideoLayersBG0">
<label>BG _0</label>
<accel>Ctrl+1</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersBG1">
<label>BG _1</label>
<accel>Ctrl+2</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersBG2">
<label>BG _2</label>
<accel>Ctrl+3</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersBG3">
<label>BG _3</label>
<accel>Ctrl+4</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersOBJ">
<label>_OBJ</label>
<accel>Ctrl+5</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersWIN0">
<label>_WIN 0</label>
<accel>Ctrl+6</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersWIN1">
<label>W_IN 1</label>
<accel>Ctrl+7</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="VideoLayersOBJWIN">
<label>O_BJ WIN</label>
<accel>Ctrl+8</accel>
<checkable>1</checkable>
<checked>1</checked>
</object>
<label>_View Layers</label>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="SoundChannel1">
<label>Channel _1</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="SoundChannel2">
<label>Channel _2</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="SoundChannel3">
<label>Channel _3</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="SoundChannel4">
<label>Channel _4</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="DirectSoundA">
<label>Direct Sound _A</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<object class="wxMenuItem" name="DirectSoundB">
<label>Direct Sound _B</label>
<checkable>1</checkable>
<checked>1</checked>
</object>
<label>_Sound Channels</label>
</object>
<object class="wxMenuItem" name="NextFrame">
<label>_Next frame</label>
<accel>Ctrl+N</accel>
</object>
<object class="separator"/>
<object class="wxMenuItem" name="Disassemble">
<label>_Disassemble...</label>
</object>
<object class="wxMenuItem" name="Logging">
<label>_Logging...</label>
</object>
<object class="wxMenuItem" name="IOViewer">
<label>_IO Viewer...</label>
</object>
<object class="wxMenuItem" name="MapViewer">
<label>&amp;Map Viewer...</label>
</object>
<object class="wxMenuItem" name="MemoryViewer">
<label>M_emory viewer...</label>
</object>
<object class="wxMenuItem" name="OAMViewer">
<label>_OAM Viewer...</label>
</object>
<object class="wxMenuItem" name="PaletteViewer">
<label>_Palette Viewer...</label>
</object>
<object class="wxMenuItem" name="TileViewer">
<label>_Tile Viewer...</label>
</object>
<object class="separator"/>
<label>_Debug</label>
<object class="wxMenu">
<object class="wxMenuItem" name="DebugGDB">
<label>_Wait for connection...</label>
</object>
<object class="wxMenuItem" name="DebugGDBLoad">
<label>_Load and wait...</label>
</object>
<object class="wxMenuItem" name="DebugGDBBreak">
<label>_Break into GDB</label>
</object>
<object class="wxMenuItem" name="DebugGDBDisconnect">
<label>_Disconnect</label>
</object>
<label>_GDB</label>
</object>
</object>
<object class="wxMenu">
<object class="wxMenuItem" name="GeneralConfigure">
<label>_General ...</label>
</object>
<object class="wxMenuItem" name="GameBoyConfigure">
<label>Game _Boy ...</label>
</object>
<object class="wxMenuItem" name="GameBoyAdvanceConfigure">
<label>Game Boy _Advance ...</label>
</object>
<object class="wxMenuItem" name="DisplayConfigure">
<label>_Display ...</label>
</object>
<object class="wxMenuItem" name="SoundConfigure">
<label>_Sound ...</label>
</object>
<object class="wxMenuItem" name="EmulatorDirectories">
<label>D_irectories ...</label>
</object>
<object class="wxMenuItem" name="JoypadConfigure">
<label>_Joypads ...</label>
</object>
<object class="wxMenuItem" name="LinkConfigure">
<label>_Link ...</label>
</object>
<object class="wxMenuItem" name="Customize">
<label>_Key Shortcuts ...</label>
</object>
<label>_Options</label>
</object>
<object class="wxMenu">
<label>_Help</label>
<object class="wxMenuItem" name="BugReport">
<label>Report _Bugs</label>
</object>
<object class="wxMenuItem" name="FAQ">
<label>VBA-M Support _Forum</label>
</object>
<object class="wxMenuItem" name="wxID_ABOUT"/>
</object>
</object>
</resource>

233
src/wx/xrc/MapViewer.xrc Normal file
View File

@ -0,0 +1,233 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="MapViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Frame0">
<label>Frame 0</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Frame1">
<label>Frame 1</label>
</object>
</object>
<label>Frame</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="BG0">
<label>BG0</label>
<style>wxRB_GROUP</style>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="BG1">
<label>BG1</label>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="BG2">
<label>BG2</label>
</object>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="BG3">
<label>BG3</label>
</object>
</object>
<label>Background</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Stretch">
<label>Stretch to _fit</label>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Auto _update</label>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Mode:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Mode"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Map Base:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="MapBase"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Char Base:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="CharBase"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Size:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Size"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Colors:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Colors"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Priority:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Priority"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Mosaic:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Mosaic"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Overflow:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Overflow"/>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="wxStaticText" name="Coords"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Address:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Address"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Tile:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Tile"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Flip:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Flip"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Palette:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Palette"/>
</object>
<cols>2</cols>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="GfxView" subclass="GfxPanel">
<size>128,128d</size>
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>128,128d</size>
<style>wxBORDER_SUNKEN|wxCLIP_CHILDREN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="Zoom" subclass="PixView">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer"/>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL|wxALIGN_BOTTOM</flag>
<border>5</border>
</object>
<cols>3</cols>
<growablecols>1</growablecols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
</object>
<object class="sizeritem">
<object class="wxButton" name="Save">
<label>_Save</label>
</object>
<flag>wxALIGN_CENTRE_HORIZONTAL</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALIGN_RIGHT</flag>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND|wxALL</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="MemSelRegion">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Address:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Address"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="SizeLab">
<label>Size:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="Size"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

130
src/wx/xrc/MemViewer.xrc Normal file
View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="MemViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxChoice" name="BlockStart"/>
<option>1</option>
<flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Fmt8">
<label>_8-bit</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Fmt16">
<label>_16-bit</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Fmt32">
<label>_32-bit</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="GotoAddress">
<style>wxTE_PROCESS_ENTER</style>
</object>
<option>1</option>
<flag>wxTOP|wxBOTTOM|wxLEFT|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="Goto">
<label>_Go</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxPanel" name="MemView" subclass="MemView">
<font>
<family>modern</family>
</font>
<style>wxBORDER_SUNKEN</style>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<minsize>100,200</minsize>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Current address:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="CurAddress"/>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_OPEN">
<label>_Load...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE">
<label>_Save...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<cols>4</cols>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

159
src/wx/xrc/NetLink.xrc Normal file
View File

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="NetLink">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Server">
<label>Server</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Client">
<label>Client</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<object class="wxStaticText" name="PlayersLab">
<label>Players:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="Link2P">
<label>2</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Link3P">
<label>3</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="Link4P">
<label>4</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="ServerIPLab">
<label>Server:</label>
<wrap>200</wrap>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="ServerIP"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Protocol:</label>
<hidden>1</hidden>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxRadioButton" name="TCP">
<label>TCP</label>
<hidden>1</hidden>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="UDP">
<label>UDP</label>
<hidden>1</hidden>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Speed hacks:</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>2</cols>
<rows>2</rows>
<object class="sizeritem">
<object class="wxRadioButton" name="SpeedOff">
<label>Off (accurate)</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="SpeedOn">
<label>On (fast)</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK">
<label>Connect</label>
</object>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

180
src/wx/xrc/OAMViewer.xrc Normal file
View File

@ -0,0 +1,180 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="OAMViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Sprite:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxSpinCtrl" name="Sprite">
<min>0</min>
<max>127</max>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticText">
<label>Pos:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Pos"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Mode:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Mode"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Colors:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Colors"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Pal:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Palette"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Tile:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Tile"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Prio:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Priority"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Size:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Size"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Rot.:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Rotation"/>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Flags:</label>
</object>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Flags"/>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Stretch">
<label>Stretch to _fit</label>
</object>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxScrolledWindow">
<object class="wxPanel" name="GfxView" subclass="GfxPanel">
<size>64,64d</size>
<style>wxFULL_REPAINT_ON_RESIZE</style>
</object>
<size>64,64d</size>
<style>wxBORDER_SUNKEN|wxCLIP_CHILDREN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="Zoom" subclass="PixView">
<size>64,64d</size>
<style>wxBORDER_SUNKEN</style>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
</object>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL|wxALIGN_BOTTOM</flag>
<border>5</border>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_SAVE">
<label>_Save...</label>
</object>
<flag>wxALL|wxALIGN_CENTRE_HORIZONTAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALL|wxALIGN_RIGHT</flag>
<border>5</border>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
</object>
</resource>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="PaletteViewer">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticText">
<label>Click on a color for more information</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Background</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="Background" subclass="PixViewEvt">
<size>128,128d</size>
<style>wxBORDER_SUNKEN</style>
</object>
</object>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Sprite</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxPanel" name="Sprite" subclass="PixViewEvt">
<size>128,128d</size>
<style>wxBORDER_SUNKEN</style>
</object>
</object>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxFlexGridSizer">
<cols>2</cols>
<object class="sizeritem">
<object class="wxStaticText">
<label>Address:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Address"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Value:</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticText" name="Value"/>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="unknown" name="Color"/>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="AutoUpdate">
<label>Automatic _update</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxButton" name="ChangeBackdrop">
<label>C_hange backdrop color...</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
</object>
</object>
<object class="sizeritem">
<object class="wxGridSizer">
<cols>4</cols>
<object class="sizeritem">
<object class="wxButton" name="Refresh">
<label>_Refresh</label>
</object>
</object>
<object class="sizeritem">
<object class="wxButton" name="SaveBG">
<label>Save _BG...</label>
</object>
<flag>wxALIGN_CENTRE_HORIZONTAL</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="SaveOBJ">
<label>Save _Sprite...</label>
</object>
<flag>wxALIGN_CENTRE_HORIZONTAL</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="wxID_CLOSE"/>
<flag>wxALIGN_RIGHT</flag>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
</resource>

382
src/wx/xrc/SoundConfig.xrc Normal file
View File

@ -0,0 +1,382 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="SoundConfig">
<title>Sound Settings</title>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
<object class="wxFlexGridSizer">
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Volume :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxSlider" name="Volume">
<value>100</value>
<min>0</min>
<max>400</max>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Mute</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxButton" name="Volume100">
<label>100%</label>
</object>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maximum</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Sample rate :</label>
</object>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Rate">
<content>
<item>48 KHz</item>
<item>44.1 KHz</item>
<item>22 KHz</item>
<item>11 KHz</item>
</content>
</object>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<cols>2</cols>
<growablecols>1</growablecols>
</object>
</object>
<label>Basic</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxRadioButton" name="SDL">
<label>SDL</label>
<style>wxRB_GROUP</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="OpenAL">
<label>OpenAL</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="XAudio2">
<label>XAudio2</label>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxRadioButton" name="DirectSound">
<label>DirectSound</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxChoice" name="Device"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<label>Device</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="Upmix">
<label>Enable stereo upmixing</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="HWAccel">
<label>Enable hardware acceleration</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="SyncGameAudio">
<label>_Sync game to audio</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxSlider" name="Buffers">
<min>2</min>
<max>10</max>
<tickfreq>1</tickfreq>
<style>wxSL_AUTOTICKS|wxSL_BOTH</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxStaticText" name="BuffersInfo"/>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<label>Number of sound buffers:</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Advanced</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBDeclicking">
<label>Declicking</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxCheckBox" name="GBEnhanceSound">
<label>Enhance sound</label>
<label>Enhance sound</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxPanel" name="GBEnhanceSoundDep">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBSurround">
<label>Surround</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<object class="sizeritem">
<object class="wxSlider" name="GBEcho"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>None</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Lots</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
<label>Echo</label>
<orient>wxVERTICAL</orient>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Stereo</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxSlider" name="GBStereo"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>Center</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Left/Right</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
<style>wxBORDER_NONE</style>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Game Boy</label>
</object>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxCheckBox" name="GBASoundInterpolation">
<label>Sound interpolation</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
<label>Sound filtering</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxSlider" name="GBASoundFiltering"/>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxBoxSizer">
<object class="sizeritem">
<object class="wxStaticText">
<label>None</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<object class="spacer">
<option>1</option>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>Maximum</label>
</object>
<flag>wxALL</flag>
<border>5</border>
</object>
<orient>wxHORIZONTAL</orient>
</object>
<flag>wxEXPAND</flag>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>
<label>Game Boy Advance</label>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer">
<object class="button">
<object class="wxButton" name="wxID_OK"/>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
</object>
</object>
</object>
</object>
</object>
</resource>