aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_layout_lowres.stx
diff options
context:
space:
mode:
authorBastien Bouclet2019-11-13 21:09:21 +0100
committerBastien Bouclet2019-11-24 14:06:25 +0100
commit2c812a6b7a0b24b9012379118867fb4f64f32c14 (patch)
tree6f4225127305dbdae8f3a0dc7dfe61e51af51b1a /gui/themes/scummmodern/scummmodern_layout_lowres.stx
parent3db6aed4e474d5b16639ee4958d1cd13504d12fb (diff)
downloadscummvm-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/scummmodern/scummmodern_layout_lowres.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx4
1 files changed, 4 insertions, 0 deletions
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>