diff options
author | Bastien Bouclet | 2019-11-13 21:09:21 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-11-24 14:06:25 +0100 |
commit | 2c812a6b7a0b24b9012379118867fb4f64f32c14 (patch) | |
tree | 6f4225127305dbdae8f3a0dc7dfe61e51af51b1a /gui/themes | |
parent | 3db6aed4e474d5b16639ee4958d1cd13504d12fb (diff) | |
download | scummvm-rg350-2c812a6b7a0b24b9012379118867fb4f64f32c14.tar.gz scummvm-rg350-2c812a6b7a0b24b9012379118867fb4f64f32c14.tar.bz2 scummvm-rg350-2c812a6b7a0b24b9012379118867fb4f64f32c14.zip |
GUI: Add DropdownButtonWidget and use it in the launcher for mass add
DropdownButtonWidget is a button split in two parts vertically. Clicking
the left part triggers a default action. Clicking the right part shows a
list of other actions the user can choose from.
Using this widget on the launcher lets 'Mass add' be a secondary action
of the 'Add' button, removing the necessity of pressing the shift key to
access the feature.
Diffstat (limited to 'gui/themes')
-rw-r--r-- | gui/themes/default.inc | 307 | ||||
-rw-r--r-- | gui/themes/scummclassic.zip | bin | 154528 -> 157690 bytes | |||
-rw-r--r-- | gui/themes/scummclassic/classic_gfx.stx | 307 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout.stx | 4 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout_lowres.stx | 4 | ||||
-rw-r--r-- | gui/themes/scummmodern.zip | bin | 283299 -> 287846 bytes | |||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_gfx.stx | 362 | ||||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_layout.stx | 35 | ||||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_layout_lowres.stx | 4 | ||||
-rw-r--r-- | gui/themes/scummremastered.zip | bin | 283227 -> 285890 bytes | |||
-rw-r--r-- | gui/themes/scummremastered/remastered_gfx.stx | 316 | ||||
-rw-r--r-- | gui/themes/scummremastered/remastered_layout.stx | 24 | ||||
-rw-r--r-- | gui/themes/scummremastered/remastered_layout_lowres.stx | 4 |
13 files changed, 1323 insertions, 44 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc index 3e09b49851..9b6b102c23 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -17,6 +17,9 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "<color name='green2' " "rgb='0,255,0' " "/>" +"<color name='white' " +"rgb='255,255,255' " +"/>" "</palette>" "<fonts>" "<font id='text_default' " @@ -62,7 +65,7 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "color='lightgrey' " "/>" "<text_color id='color_alternative_inverted' " -"color='255,255,255' " +"color='white' " "/>" "<text_color id='color_alternative_hover' " "color='176,176,176' " @@ -508,6 +511,302 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "fill='none' " "/>" "</drawdata>" +"<drawdata id='dropdown_button_idle' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"<drawstep func='line' " +"fg_color='lightgrey' " +"stroke='2' " +"fill='foreground' " +"width='0' " +"height='auto' " +"xpos='right' " +"ypos='center' " +"padding='0,0,17,1' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_idle' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_hover_left' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_button_hover' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"<drawstep func='line' " +"fg_color='lightgrey' " +"stroke='2' " +"fill='foreground' " +"width='0' " +"height='auto' " +"xpos='right' " +"ypos='center' " +"padding='0,0,17,1' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_hover_left' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_button_hover' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_hover_right' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green2' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"<drawstep func='line' " +"fg_color='lightgrey' " +"stroke='2' " +"fill='foreground' " +"width='0' " +"height='auto' " +"xpos='right' " +"ypos='center' " +"padding='0,0,17,1' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_hover_right' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='green2' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_disabled' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_button_disabled' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='lightgrey' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"<drawstep func='line' " +"fg_color='lightgrey' " +"stroke='2' " +"fill='foreground' " +"width='0' " +"height='auto' " +"xpos='right' " +"ypos='center' " +"padding='0,0,17,1' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_disabled' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_button_disabled' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='bevelsq' " +"bevel='2' " +"fill='none' " +"/>" +"<drawstep func='triangle' " +"fg_color='lightgrey' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_pressed_left' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_alternative_inverted' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='square' " +"fill='foreground' " +"fg_color='green' " +"clip='0,0,-18,0' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_pressed_left' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_alternative_inverted' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='square' " +"fill='foreground' " +"fg_color='green' " +"clip='0,0,-7,0' " +"/>" +"<drawstep func='triangle' " +"fg_color='green' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_pressed_right' cache='false' resolution='y>399'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='square' " +"fill='foreground' " +"fg_color='green' " +"clip='-16,0,0,0' " +"/>" +"<drawstep func='triangle' " +"fg_color='white' " +"fill='foreground' " +"width='8' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,4,0' " +"orientation='bottom' " +"/>" +"</drawdata>" +"<drawdata id='dropdown_button_pressed_right' cache='false' resolution='y<400'>" +"<text font='text_button' " +"text_color='color_button' " +"vertical_align='center' " +"horizontal_align='center' " +"/>" +"<drawstep func='square' " +"fill='foreground' " +"fg_color='green' " +"clip='-7,0,0,0' " +"/>" +"<drawstep func='triangle' " +"fg_color='white' " +"fill='foreground' " +"width='6' " +"height='6' " +"xpos='right' " +"ypos='center' " +"padding='0,0,0,0' " +"orientation='bottom' " +"/>" +"</drawdata>" "<drawdata id='checkbox_disabled' cache='false'>" "<text font='text_default' " "text_color='color_normal_disabled' " @@ -637,6 +936,7 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "<def var='Tooltip.YDelta' value='16'/>" "<def var='Predictive.Button.Width' value='60' />" "<def var='Predictive.ShowDeletePic' value='0'/>" +"<def var='DropdownButton.Width' value='17'/>" "<widget name='OptionsLabel' " "size='110,Globals.Line.Height' " "textalign='right' " @@ -2339,6 +2639,8 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "</layout>" "</layout>" "</dialog>" +"<dialog name='DropdownDialog' overlays='screen_center' shading='luminance'>" +"</dialog>" "</layout_info>" ; const char *defaultXML4 = "<layout_info resolution='y<400'>" @@ -2364,6 +2666,7 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "<def var='Predictive.Button.Width' value='45' />" "<def var='Predictive.Button.Height' value='15' />" "<def var='Predictive.ShowDeletePic' value='0'/>" +"<def var='DropdownButton.Width' value='7'/>" "<widget name='Button' " "size='72,16' " "/>" @@ -4034,6 +4337,8 @@ const char *defaultXML1 = "<?xml version = '1.0'?>" "</layout>" "</layout>" "</dialog>" +"<dialog name='DropdownDialog' overlays='screen_center' shading='luminance'>" +"</dialog>" "</layout_info>" ; const char *defaultXML[] = { defaultXML1, defaultXML2, defaultXML3, defaultXML4 }; diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip Binary files differindex b59e9b0cc7..eb43825106 100644 --- a/gui/themes/scummclassic.zip +++ b/gui/themes/scummclassic.zip diff --git a/gui/themes/scummclassic/classic_gfx.stx b/gui/themes/scummclassic/classic_gfx.stx index 8b72802ef7..a5fa994e89 100644 --- a/gui/themes/scummclassic/classic_gfx.stx +++ b/gui/themes/scummclassic/classic_gfx.stx @@ -37,6 +37,9 @@ <color name = 'green2' rgb = '0, 255, 0' /> + <color name = 'white' + rgb = '255, 255, 255' + /> </palette> <fonts> @@ -89,7 +92,7 @@ /> <text_color id = 'color_alternative_inverted' - color = '255, 255, 255' + color = 'white' /> <text_color id = 'color_alternative_hover' @@ -593,6 +596,308 @@ /> </drawdata> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + <drawstep func = 'line' + fg_color = 'lightgrey' + stroke = '2' + fill = 'foreground' + width = '0' + height = 'auto' + xpos = 'right' + ypos = 'center' + padding = '0,0,17,1' + /> + </drawdata> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button_hover' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + <drawstep func = 'line' + fg_color = 'lightgrey' + stroke = '2' + fill = 'foreground' + width = '0' + height = 'auto' + xpos = 'right' + ypos = 'center' + padding = '0,0,17,1' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button_hover' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green2' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + <drawstep func = 'line' + fg_color = 'lightgrey' + stroke = '2' + fill = 'foreground' + width = '0' + height = 'auto' + xpos = 'right' + ypos = 'center' + padding = '0,0,17,1' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'green2' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'lightgrey' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + <drawstep func = 'line' + fg_color = 'lightgrey' + stroke = '2' + fill = 'foreground' + width = '0' + height = 'auto' + xpos = 'right' + ypos = 'center' + padding = '0,0,17,1' + /> + </drawdata> + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'bevelsq' + bevel = '2' + fill = 'none' + /> + <drawstep func = 'triangle' + fg_color = 'lightgrey' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_alternative_inverted' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'square' + fill = 'foreground' + fg_color = 'green' + clip = '0,0,-18,0' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_alternative_inverted' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'square' + fill = 'foreground' + fg_color = 'green' + clip = '0,0,-7,0' + /> + <drawstep func = 'triangle' + fg_color = 'green' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'square' + fill = 'foreground' + fg_color = 'green' + clip = '-16,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,4,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'square' + fill = 'foreground' + fg_color = 'green' + clip = '-7,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'checkbox_disabled' cache = 'false'> <text font = 'text_default' text_color = 'color_normal_disabled' diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx index 84bd056d9d..66fab1d7a1 100644 --- a/gui/themes/scummclassic/classic_layout.stx +++ b/gui/themes/scummclassic/classic_layout.stx @@ -51,6 +51,8 @@ <def var = 'Predictive.Button.Width' value = '60' /> <def var = 'Predictive.ShowDeletePic' value = '0'/> + <def var = 'DropdownButton.Width' value = '17'/> + <widget name = 'OptionsLabel' size = '110, Globals.Line.Height' textalign = 'right' @@ -1807,4 +1809,6 @@ </layout> </layout> </dialog> + <dialog name = 'DropdownDialog' overlays = 'screen_center' shading = 'luminance'> + </dialog> </layout_info> diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx index e1d90fff50..e65e3d2ca7 100644 --- a/gui/themes/scummclassic/classic_layout_lowres.stx +++ b/gui/themes/scummclassic/classic_layout_lowres.stx @@ -53,6 +53,8 @@ <def var = 'Predictive.Button.Height' value = '15' /> <def var = 'Predictive.ShowDeletePic' value = '0'/> + <def var = 'DropdownButton.Width' value = '7'/> + <widget name = 'Button' size = '72, 16' /> @@ -1775,4 +1777,6 @@ </layout> </layout> </dialog> + <dialog name = 'DropdownDialog' overlays = 'screen_center' shading = 'luminance'> + </dialog> </layout_info> diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip Binary files differindex 75064465e4..f7a69004d3 100644 --- a/gui/themes/scummmodern.zip +++ b/gui/themes/scummmodern.zip diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx index 0e62f36627..c449c1a30e 100644 --- a/gui/themes/scummmodern/scummmodern_gfx.stx +++ b/gui/themes/scummmodern/scummmodern_gfx.stx @@ -86,6 +86,9 @@ <color name = 'darkgray' rgb = '176, 168, 144' /> + <color name = 'darkgray2' + rgb = '192, 192, 192' + /> <color name = 'lightgray' rgb = '210, 200, 170' /> @@ -208,7 +211,7 @@ /> <text_color id = 'color_alternative_disabled' - color = '192, 192, 192' + color = 'darkgray2' /> <text_color id = 'color_button' @@ -216,7 +219,7 @@ /> <text_color id = 'color_button_disabled' - color = '192, 192, 192' + color = 'darkgray2' /> </fonts> @@ -856,6 +859,361 @@ /> </drawdata> + <!-- Dropdown button widget --> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightred' + gradient_end = 'darkred' + bevel = '1' + bevel_color = 'brightredborder' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightred' + gradient_end = 'darkred' + bevel = '1' + bevel_color = 'brightredborder' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightpink' + gradient_end = 'darkpink' + bevel = '1' + bevel_color = 'brightredborder' + clip = '0,0,-13,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightpink' + gradient_end = 'darkpink' + bevel = '1' + bevel_color = 'brightredborder' + clip = '0,0,-7,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightpink' + gradient_end = 'darkpink' + bevel = '1' + bevel_color = 'brightredborder' + clip = '-13,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'darkredborder' + gradient_start = 'brightpink' + gradient_end = 'darkpink' + bevel = '1' + bevel_color = 'brightredborder' + clip = '-7,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'shadowcolor' + gradient_start = 'darkenedbrightred' + gradient_end = 'darkeneddarkred' + bevel = '1' + bevel_color = 'darkgray' + /> + <drawstep func = 'triangle' + fg_color = 'darkgray2' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'gradient' + shadow = '0' + fg_color = 'shadowcolor' + gradient_start = 'darkenedbrightred' + gradient_end = 'darkeneddarkred' + bevel = '1' + bevel_color = 'darkgray' + /> + <drawstep func = 'triangle' + fg_color = 'darkgray2' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'foreground' + shadow = '0' + factor = '0' + fg_color = '120, 40, 16' + gradient_start = '255, 0, 0' + gradient_end = '255, 0, 0' + bevel = '1' + bevel_color = 'black' + clip = '0,0,-13,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'foreground' + shadow = '0' + factor = '0' + fg_color = '120, 40, 16' + gradient_start = '255, 0, 0' + gradient_end = '255, 0, 0' + bevel = '1' + bevel_color = 'black' + clip = '0,0,-7,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'foreground' + shadow = '0' + factor = '0' + fg_color = '120, 40, 16' + gradient_start = '255, 0, 0' + gradient_end = '255, 0, 0' + bevel = '1' + bevel_color = 'black' + clip = '-13,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + stroke = '1' + fill = 'foreground' + shadow = '0' + factor = '0' + fg_color = '120, 40, 16' + gradient_start = '255, 0, 0' + gradient_end = '255, 0, 0' + bevel = '1' + bevel_color = 'black' + clip = '-7,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + <!-- Disabled checkbox --> <drawdata id = 'checkbox_disabled' cache = 'false'> <text font = 'text_default' diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx index a45dd3edca..dd958ea4a0 100644 --- a/gui/themes/scummmodern/scummmodern_layout.stx +++ b/gui/themes/scummmodern/scummmodern_layout.stx @@ -58,6 +58,8 @@ <def var = 'Predictive.Button.Width' value = '60' /> <def var = 'Predictive.ShowDeletePic' value = '1'/> + <def var = 'DropdownButton.Width' value = '13'/> + <widget name = 'OptionsLabel' size = '115, Globals.Line.Height' textalign = 'right' @@ -75,6 +77,9 @@ <widget name = 'Button' size = '108, 24' /> + <widget name = 'LauncherButton' + size = '130, 24' + /> <widget name = 'WideButton' size = '216, 24' /> @@ -160,31 +165,31 @@ <widget name = 'GameList'/> <layout type = 'vertical' padding = '10, 0, 0, 0'> <widget name = 'StartButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'LoadGameButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'AddGameButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'EditGameButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'RemoveGameButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'OptionsButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'AboutButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'QuitButton' - type = 'Button' + type = 'LauncherButton' /> </layout> </layout> @@ -260,7 +265,7 @@ </layout> </layout> </dialog> - + <dialog name = 'GlobalOptions_Control' overlays = 'Dialog.GlobalOptions.TabWidget'> <layout type = 'vertical' padding = '16, 16, 16, 16' spacing = '8'> <widget name = 'grOnScreenCheckbox' @@ -934,13 +939,12 @@ <layout type='vertical' padding='16,16,16,16' spacing='16'> <widget name='TTSCheckbox' type='Checkbox' - /> + /> <widget name='TTSVoiceSelection' type='PopUp' - /> - </layout> - </dialog> - + /> + </layout> + </dialog> <dialog name='KeysDialog' overlays='Dialog.GlobalOptions' shading='dim'> <layout type='vertical' padding='8,8,8,8' center='true'> <widget name='Action' @@ -1821,5 +1825,6 @@ </layout> </layout> </dialog> - + <dialog name = 'DropdownDialog' overlays = 'screen_center'> + </dialog> </layout_info> diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx index 20363bbba0..7324663fee 100644 --- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx +++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx @@ -43,6 +43,8 @@ <def var = 'Predictive.Button.Height' value = '15' /> <def var = 'Predictive.ShowDeletePic' value = '0'/> + <def var = 'DropdownButton.Width' value = '7'/> + <widget name = 'Button' size = '72, 16' /> @@ -1793,4 +1795,6 @@ </layout> </layout> </dialog> + <dialog name = 'DropdownDialog' overlays = 'screen_center'> + </dialog> </layout_info> diff --git a/gui/themes/scummremastered.zip b/gui/themes/scummremastered.zip Binary files differindex b4f7c0eebb..b9b247c84a 100644 --- a/gui/themes/scummremastered.zip +++ b/gui/themes/scummremastered.zip diff --git a/gui/themes/scummremastered/remastered_gfx.stx b/gui/themes/scummremastered/remastered_gfx.stx index 76b722c5d5..c18a8bf358 100644 --- a/gui/themes/scummremastered/remastered_gfx.stx +++ b/gui/themes/scummremastered/remastered_gfx.stx @@ -36,13 +36,13 @@ rgb = '180, 39, 9' /> - <color name = 'button_pressed' + <color name = 'button_pressed' rgb = '190, 39, 9' /> - <color name = 'button_disabled' - rgb = '96, 96, 96' - /> + <color name = 'button_disabled' + rgb = '96, 96, 96' + /> <!-- Dialog background --> <color name = 'dialog_background' @@ -57,7 +57,7 @@ rgb = '0, 204, 51' /> - <color name = 'paleyellow' + <color name = 'paleyellow' rgb = '247, 228, 166' /> @@ -73,6 +73,9 @@ <color name = 'darkgray' rgb = '176, 168, 144' /> + <color name = 'darkgray2' + rgb = '192, 192, 192' + /> <color name = 'lightgray' rgb = '210, 200, 170' /> @@ -81,8 +84,8 @@ /> - <!-- Older/Unused? --> - <color name = 'brightredborder' + <!-- Older/Unused? --> + <color name = 'brightredborder' rgb = '238, 213, 207' /> @@ -128,7 +131,7 @@ scalable_file = 'FreeSansBold.ttf' /> <font resolution = 'y<400' - id = 'text_default' + id = 'text_default' file = 'clR6x12.bdf' scalable_file = 'FreeSans.ttf' point_size = '11' @@ -138,7 +141,7 @@ scalable_file = 'FreeSansBold.ttf' /> <font resolution = 'y<400' - id = 'text_button' + id = 'text_button' file = 'clR6x12.bdf' scalable_file = 'FreeSans.ttf' point_size = '11' @@ -148,7 +151,7 @@ scalable_file = 'FreeSans.ttf' /> <font resolution = 'y<400' - id = 'text_normal' + id = 'text_normal' file = 'clR6x12.bdf' scalable_file = 'FreeSans.ttf' point_size = '11' @@ -209,7 +212,7 @@ /> <text_color id = 'color_alternative_disabled' - color = '192, 192, 192' + color = 'darkgray2' /> <text_color id = 'color_button' @@ -217,7 +220,7 @@ /> <text_color id = 'color_button_disabled' - color = '192, 192, 192' + color = 'darkgray2' /> </fonts> @@ -287,7 +290,7 @@ stroke = '1' radius = '10' fill = 'gradient' - fg_color = 'blandyellow' + fg_color = 'blandyellow' gradient_start = 'button_hover' gradient_end = 'button_hover' /> @@ -298,7 +301,7 @@ stroke = '1' radius = '10' fill = 'gradient' - fg_color = 'blandyellow' + fg_color = 'blandyellow' gradient_start = 'button_idle' gradient_end = 'button_idle' /> @@ -807,7 +810,7 @@ fill = 'background' shadow = '2' fg_color = 'darkredborder' - bg_color = 'button_idle' + bg_color = 'button_idle' bevel = '0' bevel_color = 'brightredborder' /> @@ -826,7 +829,7 @@ fill = 'background' shadow = '2' fg_color = 'darkredborder' - bg_color = 'button_hover' + bg_color = 'button_hover' bevel = '0' bevel_color = 'brightredborder' /> @@ -852,6 +855,287 @@ /> </drawdata> + <!-- Dropdown button widget --> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + shadow = '2' + fg_color = 'button_idle' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_idle' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + shadow = '2' + fg_color = 'button_idle' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_hover' + clip = '0,0,-13,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_hover' + clip = '0,0,-7,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_hover' + clip = '-13,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_hover_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_hover' + clip = '-7,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_disabled' + /> + <drawstep func = 'triangle' + fg_color = 'darkgray2' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_disabled' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button_disabled' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_disabled' + /> + <drawstep func = 'triangle' + fg_color = 'darkgray2' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_pressed' + clip = '0,0,-13,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_left' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_pressed' + clip = '0,0,-7,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y>399'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_pressed' + clip = '-13,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '8' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,2,0' + orientation = 'bottom' + /> + </drawdata> + <drawdata id = 'dropdown_button_pressed_right' cache = 'false' resolution = 'y<400'> + <text font = 'text_button' + text_color = 'color_button' + vertical_align = 'center' + horizontal_align = 'center' + /> + <drawstep func = 'roundedsq' + radius = '5' + fill = 'foreground' + fg_color = 'button_pressed' + clip = '-7,0,0,0' + /> + <drawstep func = 'triangle' + fg_color = 'white' + fill = 'foreground' + width = '6' + height = '6' + xpos = 'right' + ypos = 'center' + padding = '0,0,0,0' + orientation = 'bottom' + /> + </drawdata> + <!-- Disabled checkbox --> <drawdata id = 'checkbox_disabled' cache = 'false'> <text font = 'text_default' diff --git a/gui/themes/scummremastered/remastered_layout.stx b/gui/themes/scummremastered/remastered_layout.stx index 092bbc0134..3d5587ed4b 100644 --- a/gui/themes/scummremastered/remastered_layout.stx +++ b/gui/themes/scummremastered/remastered_layout.stx @@ -58,6 +58,8 @@ <def var = 'Predictive.Button.Width' value = '60' /> <def var = 'Predictive.ShowDeletePic' value = '1'/> + <def var = 'DropdownButton.Width' value = '13'/> + <widget name = 'OptionsLabel' size = '115, Globals.Line.Height' textalign = 'right' @@ -75,6 +77,9 @@ <widget name = 'Button' size = '108, 24' /> + <widget name = 'LauncherButton' + size = '130, 24' + /> <widget name = 'WideButton' size = '216, 24' /> @@ -160,31 +165,31 @@ <widget name = 'GameList'/> <layout type = 'vertical' padding = '10, 0, 0, 0'> <widget name = 'StartButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'LoadGameButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'AddGameButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'EditGameButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'RemoveGameButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'OptionsButton' - type = 'Button' + type = 'LauncherButton' /> <widget name = 'AboutButton' - type = 'Button' + type = 'LauncherButton' /> <space size = '10' /> <widget name = 'QuitButton' - type = 'Button' + type = 'LauncherButton' /> </layout> </layout> @@ -1820,5 +1825,6 @@ </layout> </layout> </dialog> - + <dialog name = 'DropdownDialog' overlays = 'screen_center'> + </dialog> </layout_info> diff --git a/gui/themes/scummremastered/remastered_layout_lowres.stx b/gui/themes/scummremastered/remastered_layout_lowres.stx index 3f8ec01a28..2a20442468 100644 --- a/gui/themes/scummremastered/remastered_layout_lowres.stx +++ b/gui/themes/scummremastered/remastered_layout_lowres.stx @@ -43,6 +43,8 @@ <def var = 'Predictive.Button.Height' value = '15' /> <def var = 'Predictive.ShowDeletePic' value = '0'/> + <def var = 'DropdownButton.Width' value = '7'/> + <widget name = 'Button' size = '72, 16' /> @@ -1793,4 +1795,6 @@ </layout> </layout> </dialog> + <dialog name = 'DropdownDialog' overlays = 'screen_center'> + </dialog> </layout_info> |