Dialog appearance improvements + link warning

In SoundConfig.xrc and DisplayConfig.xrc use the 'option' property
to fully expand the contents.

In NetLink.xrc add a label at the top of the dialog explaining that Link
will likely not work over the internet or over LAN.

Signed-off-by: Zach Bacon <zachbacon@vba-m.com>
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Zach Bacon 2024-01-15 16:09:52 -08:00 committed by Rafael Kitover
parent 390482a719
commit 23ef8ef0f9
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
4 changed files with 174 additions and 108 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-29 14:47+0000\n"
"POT-Creation-Date: 2024-01-15 14:15-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -120,7 +120,7 @@ msgstr ""
msgid "Start!"
msgstr ""
#: guiinit.cpp:123 xrc/NetLink.xrc:99
#: guiinit.cpp:123
msgid "Connect"
msgstr ""
@ -1538,10 +1538,10 @@ msgstr ""
msgid "Invalid value for Default magnification."
msgstr ""
#: dialogs/display-config.cpp:341 xrc/DisplayConfig.xrc:85
#: xrc/DisplayConfig.xrc:135 xrc/DisplayConfig.xrc:221
#: dialogs/display-config.cpp:341 xrc/DisplayConfig.xrc:86
#: xrc/DisplayConfig.xrc:136 xrc/DisplayConfig.xrc:222
#: xrc/GameBoyAdvanceConfig.xrc:32 xrc/GameBoyAdvanceConfig.xrc:204
#: xrc/SoundConfig.xrc:219 xrc/SoundConfig.xrc:309
#: xrc/SoundConfig.xrc:221 xrc/SoundConfig.xrc:311
msgid "None"
msgstr ""
@ -1551,7 +1551,7 @@ msgid "No usable rpi plugins found in %s"
msgstr ""
#: dialogs/display-config.cpp:410 dialogs/display-config.cpp:452
#: xrc/DisplayConfig.xrc:107
#: xrc/DisplayConfig.xrc:108
msgid "Plugin"
msgstr ""
@ -2062,131 +2062,131 @@ msgstr ""
msgid "Display settings"
msgstr ""
#: xrc/DisplayConfig.xrc:15
#: xrc/DisplayConfig.xrc:16
msgid "Output module"
msgstr ""
#: xrc/DisplayConfig.xrc:33
#: xrc/DisplayConfig.xrc:34
msgid "Simple"
msgstr ""
#: xrc/DisplayConfig.xrc:65
#: xrc/DisplayConfig.xrc:66
msgid "Filters"
msgstr ""
#: xrc/DisplayConfig.xrc:79
#: xrc/DisplayConfig.xrc:80
msgid "Display filter:"
msgstr ""
#: xrc/DisplayConfig.xrc:87
#: xrc/DisplayConfig.xrc:88
msgid "Super 2xSaI"
msgstr ""
#: xrc/DisplayConfig.xrc:88
#: xrc/DisplayConfig.xrc:89
msgid "Super Eagle"
msgstr ""
#: xrc/DisplayConfig.xrc:89
#: xrc/DisplayConfig.xrc:90
msgid "Pixelate"
msgstr ""
#: xrc/DisplayConfig.xrc:90
#: xrc/DisplayConfig.xrc:91
msgid "Advance MAME Scale 2x"
msgstr ""
#: xrc/DisplayConfig.xrc:91
#: xrc/DisplayConfig.xrc:92
msgid "Bilinear"
msgstr ""
#: xrc/DisplayConfig.xrc:92
#: xrc/DisplayConfig.xrc:93
msgid "Bilinear Plus"
msgstr ""
#: xrc/DisplayConfig.xrc:93
#: xrc/DisplayConfig.xrc:94
msgid "Scanlines"
msgstr ""
#: xrc/DisplayConfig.xrc:94
#: xrc/DisplayConfig.xrc:95
msgid "TV Mode"
msgstr ""
#: xrc/DisplayConfig.xrc:97
#: xrc/DisplayConfig.xrc:98
msgid "Simple 2x"
msgstr ""
#: xrc/DisplayConfig.xrc:98
#: xrc/DisplayConfig.xrc:99
msgid "Simple 3x"
msgstr ""
#: xrc/DisplayConfig.xrc:100
#: xrc/DisplayConfig.xrc:101
msgid "Simple 4x"
msgstr ""
#: xrc/DisplayConfig.xrc:115
#: xrc/DisplayConfig.xrc:116
msgid "Plugin:"
msgstr ""
#: xrc/DisplayConfig.xrc:127
#: xrc/DisplayConfig.xrc:128
msgid "Interframe blending:"
msgstr ""
#: xrc/DisplayConfig.xrc:136
#: xrc/DisplayConfig.xrc:137
msgid "Smart"
msgstr ""
#: xrc/DisplayConfig.xrc:137
#: xrc/DisplayConfig.xrc:138
msgid "Motion Blur"
msgstr ""
#: xrc/DisplayConfig.xrc:151 xrc/SoundConfig.xrc:91
#: xrc/DisplayConfig.xrc:152 xrc/SoundConfig.xrc:93
msgid "Basic"
msgstr ""
#: xrc/DisplayConfig.xrc:159
#: xrc/DisplayConfig.xrc:160
msgid "Frame Skip"
msgstr ""
#: xrc/DisplayConfig.xrc:177
#: xrc/DisplayConfig.xrc:178
msgid "&Number of frames to skip:"
msgstr ""
#: xrc/DisplayConfig.xrc:199
#: xrc/DisplayConfig.xrc:200
msgid "Speed"
msgstr ""
#: xrc/DisplayConfig.xrc:215
#: xrc/DisplayConfig.xrc:216
msgid "Speed indicator:"
msgstr ""
#: xrc/DisplayConfig.xrc:222
#: xrc/DisplayConfig.xrc:223
msgid "Percentage"
msgstr ""
#: xrc/DisplayConfig.xrc:223
#: xrc/DisplayConfig.xrc:224
msgid "Detailed"
msgstr ""
#: xrc/DisplayConfig.xrc:237
#: xrc/DisplayConfig.xrc:238
msgid "On-Screen Display"
msgstr ""
#: xrc/DisplayConfig.xrc:247
#: xrc/DisplayConfig.xrc:248
msgid "Default magnification:"
msgstr ""
#: xrc/DisplayConfig.xrc:266
#: xrc/DisplayConfig.xrc:267
msgid "Maximum magnification factor:"
msgstr ""
#: xrc/DisplayConfig.xrc:267
#: xrc/DisplayConfig.xrc:268
msgid "0 = no maximum"
msgstr ""
#: xrc/DisplayConfig.xrc:275
#: xrc/DisplayConfig.xrc:276
msgid "0 = no limit"
msgstr ""
#: xrc/DisplayConfig.xrc:285
#: xrc/DisplayConfig.xrc:286
msgid "Zoom"
msgstr ""
@ -3550,23 +3550,31 @@ msgstr ""
msgid "Start Network Link"
msgstr ""
#: xrc/NetLink.xrc:11
#: xrc/NetLink.xrc:13
msgid "WARNING: Link will likely not work over the internet or LAN."
msgstr ""
#: xrc/NetLink.xrc:38
msgid "Server"
msgstr ""
#: xrc/NetLink.xrc:19
#: xrc/NetLink.xrc:47
msgid "Client"
msgstr ""
#: xrc/NetLink.xrc:32
#: xrc/NetLink.xrc:66
msgid "Players:"
msgstr ""
#: xrc/NetLink.xrc:67
#: xrc/NetLink.xrc:83
msgid "2"
msgstr ""
#: xrc/NetLink.xrc:107
msgid "Server:"
msgstr ""
#: xrc/NetLink.xrc:81
#: xrc/NetLink.xrc:124
msgid "Port:"
msgstr ""
@ -3590,83 +3598,83 @@ msgstr ""
msgid "Sound Settings"
msgstr ""
#: xrc/SoundConfig.xrc:16
#: xrc/SoundConfig.xrc:18
msgid "Volume:"
msgstr ""
#: xrc/SoundConfig.xrc:34
#: xrc/SoundConfig.xrc:36
msgid "Mute"
msgstr ""
#: xrc/SoundConfig.xrc:54 xrc/SoundConfig.xrc:320
#: xrc/SoundConfig.xrc:56 xrc/SoundConfig.xrc:322
msgid "Maximum"
msgstr ""
#: xrc/SoundConfig.xrc:71
#: xrc/SoundConfig.xrc:73
msgid "Sample rate:"
msgstr ""
#: xrc/SoundConfig.xrc:77
#: xrc/SoundConfig.xrc:79
msgid "48 KHz"
msgstr ""
#: xrc/SoundConfig.xrc:78
#: xrc/SoundConfig.xrc:80
msgid "44.1 KHz"
msgstr ""
#: xrc/SoundConfig.xrc:79
#: xrc/SoundConfig.xrc:81
msgid "22 KHz"
msgstr ""
#: xrc/SoundConfig.xrc:80
#: xrc/SoundConfig.xrc:82
msgid "11 KHz"
msgstr ""
#: xrc/SoundConfig.xrc:118
#: xrc/SoundConfig.xrc:120
msgid "Direct Sound"
msgstr ""
#: xrc/SoundConfig.xrc:146
#: xrc/SoundConfig.xrc:148
msgid "Device"
msgstr ""
#: xrc/SoundConfig.xrc:154
#: xrc/SoundConfig.xrc:156
msgid "Enable stereo upmixing"
msgstr ""
#: xrc/SoundConfig.xrc:161
#: xrc/SoundConfig.xrc:163
msgid "Enable hardware acceleration"
msgstr ""
#: xrc/SoundConfig.xrc:190
#: xrc/SoundConfig.xrc:192
msgid "Number of sound buffers:"
msgstr ""
#: xrc/SoundConfig.xrc:198
#: xrc/SoundConfig.xrc:200
msgid "Advanced"
msgstr ""
#: xrc/SoundConfig.xrc:230
#: xrc/SoundConfig.xrc:232
msgid "Lots"
msgstr ""
#: xrc/SoundConfig.xrc:239
#: xrc/SoundConfig.xrc:241
msgid "Echo"
msgstr ""
#: xrc/SoundConfig.xrc:247
#: xrc/SoundConfig.xrc:249
msgid "Stereo"
msgstr ""
#: xrc/SoundConfig.xrc:258
#: xrc/SoundConfig.xrc:260
msgid "Center"
msgstr ""
#: xrc/SoundConfig.xrc:269
#: xrc/SoundConfig.xrc:271
msgid "Left / Right"
msgstr ""
#: xrc/SoundConfig.xrc:298
#: xrc/SoundConfig.xrc:300
msgid "Sound filtering"
msgstr ""

View File

@ -5,6 +5,7 @@
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
@ -285,6 +286,7 @@
<label>Zoom</label>
</object>
</object>
<option>1</option>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>

View File

@ -2,109 +2,162 @@
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxDialog" name="NetLink">
<title>Start Network Link</title>
<centered>1</centered>
<style>wxDEFAULT_DIALOG_STYLE</style>
<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>
<flag>wxALL</flag>
<border>5</border>
<object class="wxStaticText" name="m_staticText1">
<label>WARNING: Link will likely not work over the internet or LAN.</label>
<style/>
<fg>#DC143C</fg>
<font>
<sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont>
<style>normal</style>
<weight>bold</weight>
<underlined>0</underlined>
</font>
<wrap>200</wrap>
</object>
</object>
<object class="sizeritem" name="gridSizer131">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxGridSizer">
<cols>2</cols>
<rows>0</rows>
<vgap>0</vgap>
<hgap>0</hgap>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER</flag>
<border>5</border>
<object class="wxRadioButton" name="Server">
<style>wxRB_GROUP</style>
<label>Server</label>
<value>1</value>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER</flag>
<border>5</border>
<object class="wxRadioButton" name="Client">
<style/>
<label>Client</label>
<value>1</value>
</object>
</object>
</object>
</object>
<object class="sizeritem" name="flexGridSizer134">
<flag>wxEXPAND</flag>
<object class="wxFlexGridSizer">
<cols>2</cols>
<rows>0</rows>
<vgap>0</vgap>
<hgap>0</hgap>
<growablecols/>
<growablerows/>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText" name="PlayersLab">
<label>Players:</label>
<style/>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="sizeritem" name="gridSizer136">
<flag>wxEXPAND</flag>
<object class="wxGridSizer">
<cols>3</cols>
<rows>0</rows>
<vgap>0</vgap>
<hgap>0</hgap>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER</flag>
<border>5</border>
<object class="wxRadioButton" name="Link2P">
<label translate="0">2</label>
<style>wxRB_GROUP</style>
<label>2</label>
<value>1</value>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER</flag>
<border>5</border>
<object class="wxRadioButton" name="Link3P">
<label translate="0">3</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER</flag>
<border>5</border>
<object class="wxRadioButton" name="Link4P">
<label translate="0">4</label>
</object>
<flag>wxALL|wxALIGN_CENTRE</flag>
<border>5</border>
</object>
<cols>3</cols>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText" name="ServerIPLab">
<label>Server:</label>
<style/>
<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>
<option>1</option>
<object class="wxTextCtrl" name="ServerIP">
<style/>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText" name="ServerPortLab">
<label>Port:</label>
<style/>
</object>
<flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
</object>
<object class="sizeritem">
<object class="wxTextCtrl" name="ServerPort"/>
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<option>1</option>
<object class="wxTextCtrl" name="ServerPort">
<style/>
</object>
</object>
</object>
<flag>wxEXPAND</flag>
</object>
<object class="sizeritem">
<object class="wxStdDialogButtonSizer">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStdDialogButtonSizer" name="m_stdBtnSizer143">
<object class="button">
<object class="wxButton" name="wxID_OK">
<label>Connect</label>
<label/>
<style/>
<bg/>
<fg/>
<default>0</default>
</object>
</object>
<object class="button">
<object class="wxButton" name="wxID_CANCEL"/>
<object class="wxButton" name="wxID_CANCEL">
<label/>
<style/>
<bg/>
<fg/>
<default>0</default>
</object>
</object>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
</object>
</object>
</object>

View File

@ -5,7 +5,9 @@
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxEXPAND|wxALL</flag>
<object class="wxNotebook">
<flag>wxEXPAND|wxALL</flag>
<object class="notebookpage">
<object class="wxPanel">
<object class="wxFlexGridSizer">
@ -335,6 +337,7 @@
<label translate="0">Game Boy Advance</label>
</object>
</object>
<option>1</option>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>