aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern
diff options
context:
space:
mode:
authorAlexander Tkachev2016-08-01 15:49:42 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitfaf849012cd431e9d4dbdbe7a3c1ebf514d3f5c8 (patch)
treec24689fd19a8b5aea6b054c3f1ba8bdc25fd2297 /gui/themes/scummmodern
parentacfa1d1f1069e4a4bbed8599d0e6b4e9b2ea37fe (diff)
downloadscummvm-rg350-faf849012cd431e9d4dbdbe7a3c1ebf514d3f5c8.tar.gz
scummvm-rg350-faf849012cd431e9d4dbdbe7a3c1ebf514d3f5c8.tar.bz2
scummvm-rg350-faf849012cd431e9d4dbdbe7a3c1ebf514d3f5c8.zip
CLOUD: Add GUI for "rootpath" selection
Cloud tab now contains a button to select path, path label and a clear button.
Diffstat (limited to 'gui/themes/scummmodern')
-rw-r--r--gui/themes/scummmodern/scummmodern_layout.stx12
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx12
2 files changed, 24 insertions, 0 deletions
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index f4fa200cda..bb182c9dbb 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -598,6 +598,18 @@
/>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
+ <widget name = 'RootPathButton'
+ type = 'Button'
+ />
+ <widget name = 'RootPath'
+ height = 'Globals.Line.Height'
+ />
+ <widget name = 'RootPathClearButton'
+ height = 'Globals.Line.Height'
+ width = 'Globals.Line.Height'
+ />
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
<widget name = 'ServerPortDesc'
type = 'OptionsLabel'
/>
diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
index 3f7e263306..3416fbeb5e 100644
--- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
@@ -594,6 +594,18 @@
height = 'Globals.Line.Height'
/>
</layout>
+ <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '16' center = 'true'>
+ <widget name = 'RootPathButton'
+ type = 'Button'
+ />
+ <widget name = 'RootPathPath'
+ height = 'Globals.Line.Height'
+ />
+ <widget name = 'RootPathClearButton'
+ height = 'Globals.Line.Height'
+ width = 'Globals.Line.Height'
+ />
+ </layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '6' center = 'true'>
<widget name = 'ServerPortDesc'
width = '80'