aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummclassic
diff options
context:
space:
mode:
Diffstat (limited to 'gui/themes/scummclassic')
-rw-r--r--gui/themes/scummclassic/classic_gfx.stx307
-rw-r--r--gui/themes/scummclassic/classic_layout.stx4
-rw-r--r--gui/themes/scummclassic/classic_layout_lowres.stx4
3 files changed, 314 insertions, 1 deletions
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>