Skip to content

Commit c56a7c3

Browse files
committed
* UPD: [gamedata] Add default aspect ratio shader options page, fix some layout issues
1 parent 67596ed commit c56a7c3

File tree

4 files changed

+519
-45
lines changed

4 files changed

+519
-45
lines changed

res/gamedata/configs/ui/ui_mm_opt.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@
172172
<e r="210" g="210" b="210"/>
173173
</text_color>
174174
</btn_advanced>
175+
176+
<btn_shader_options x="210" y="322" width="108" height="24" stretch="1">
177+
<text r="170" g="170" b="170" align="c" font="letterica16">ui_mm_shader_options</text>
178+
<texture>ui_inGame2_button</texture>
179+
<text_color>
180+
<e r="210" g="210" b="210"/>
181+
</text_color>
182+
</btn_shader_options>
175183
</tab_video>
176184

177185
<video_adv>
@@ -532,6 +540,8 @@
532540
</btn_to_simply>
533541
</video_adv>
534542

543+
#include "ui\ui_mm_shader_options.xml"
544+
535545
<tab_sound>
536546
<cap_mastervolume x="15" y="3" width="135" height="24">
537547
<text r="170" g="170" b="170" font="letterica16" align="r" vert_align="c">ui_mm_master_volume</text>

res/gamedata/configs/ui/ui_mm_opt_16.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
</text_color>
176176
</btn_advanced>
177177

178-
<btn_shader_options x="150" y="322" width="86" height="24" stretch="1">
178+
<btn_shader_options x="180" y="322" width="86" height="24" stretch="1">
179179
<text r="170" g="170" b="170" align="c" font="letterica16">ui_mm_shader_options</text>
180180
<texture>ui_inGame2_button</texture>
181181
<text_color>

0 commit comments

Comments
 (0)