aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_layout.stx
diff options
context:
space:
mode:
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_layout.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_layout.stx229
1 files changed, 111 insertions, 118 deletions
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index d6c927c251..b1d4e28015 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -65,10 +65,19 @@
<widget name = 'SmallLabel'
size = '24, Globals.Line.Height'
/>
+ <widget name = 'CloudTabLabel'
+ size = '200, Globals.Line.Height'
+ />
+ <widget name = 'CloudTabLabelValue'
+ size = '200, Globals.Line.Height'
+ />
<widget name = 'Button'
size = '108, 24'
/>
+ <widget name = 'WideButton'
+ size = '216, 24'
+ />
<widget name = 'Slider'
size = '128, 18'
@@ -616,49 +625,126 @@
<dialog name = 'GlobalOptions_Cloud_Container' overlays = 'GlobalOptions_Cloud.Container'>
<layout type = 'vertical' padding = '16, 16, 16, 16' spacing = '8'>
+ <layout type = 'horizontal' padding = '-27, 7, 0, 0' spacing = '10'>
+ <layout type = 'vertical' padding = '0, 0, 2, 0' spacing = '2'>
+ <widget name = 'StoragePopupDesc'
+ type = 'OptionsLabel'
+ height = 'Globals.Line.Height'
+ />
+ </layout>
+ <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '2'>
+ <widget name = 'StoragePopup'
+ type = 'PopUp'
+ />
+ </layout>
+ </layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'StoragePopupDesc'
- type = 'OptionsLabel'
- />
- <widget name = 'StoragePopup'
- type = 'PopUp'
- />
+ <layout type = 'vertical' padding = '0, 0, 6, 0' spacing = '2'>
+ <widget name = 'StorageUsernameDesc'
+ type = 'CloudTabLabel'
+ />
+ <widget name = 'StorageUsernameLabel'
+ type = 'CloudTabLabelValue'
+ />
+ </layout>
+ <layout type = 'vertical' padding = '0, 0, 6, 0' spacing = '2'>
+ <widget name = 'StorageUsedSpaceDesc'
+ type = 'CloudTabLabel'
+ />
+ <widget name = 'StorageUsedSpaceLabel'
+ type = 'CloudTabLabelValue'
+ />
+ </layout>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'StorageUsernameDesc'
- type = 'OptionsLabel'
- />
- <widget name = 'StorageUsernameLabel'
+ <layout type = 'vertical' padding = '0, 0, 6, 0' spacing = '2'>
+ <widget name = 'StorageLastSyncDesc'
+ type = 'CloudTabLabel'
+ />
+ <widget name = 'StorageLastSyncLabel'
+ type = 'CloudTabLabelValue'
+ />
+ </layout>
+ <layout type = 'vertical' padding = '0, 0, 7, 0' spacing = '2'>
+ <widget name = 'SyncSavesButton'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, -4, 0' spacing = '10' center = 'true'>
+ <widget name = 'StorageSyncHint'
height = 'Globals.Line.Height'
/>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'StorageUsedSpaceDesc'
- type = 'OptionsLabel'
- />
- <widget name = 'StorageUsedSpaceLabel'
- height = 'Globals.Line.Height'
- />
+ <layout type = 'vertical' padding = '0, 0, 6, 0' spacing = '4'>
+ <widget name = 'StorageDownloadHint'
+ height = 'Globals.Line.Height'
+ />
+ <widget name = 'DownloadButton'
+ type = 'WideButton'
+ />
+ </layout>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'StorageLastSyncDesc'
- type = 'OptionsLabel'
+ <layout type = 'vertical' padding = '0, 0, 8, 0' spacing = '4'>
+ <widget name = 'StorageDisconnectHint'
+ height = 'Globals.Line.Height'
+ />
+ <widget name = 'DisconnectButton'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+
+ <!-- here goes unconnected Storage layout (connection wizard) -->
+ <layout type = 'vertical' padding = '0, 0, 6, 0' spacing = '2'>
+ <widget name = 'StorageWizardNotConnectedHint'
+ height = 'Globals.Line.Height'
/>
- <widget name = 'StorageLastSyncLabel'
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, -4, 0' spacing = '10' center = 'true'>
+ <layout type = 'vertical' padding = '0, 0, 2, 0' spacing = '4'>
+ <widget name = 'StorageWizardOpenLinkHint'
+ width = '96'
+ height = 'Globals.Line.Height'
+ />
+ </layout>
+ <layout type = 'vertical' padding = '0, 0, 1, 0' spacing = '4'>
+ <widget name = 'StorageWizardLink'
+ width = '192'
+ height = 'Globals.Line.Height'
+ />
+ </layout>
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, -2, 0' spacing = '10' center = 'true'>
+ <widget name = 'StorageWizardCodeHint'
height = 'Globals.Line.Height'
/>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'ConnectButton'
- type = 'Button'
- />
- <widget name = 'RefreshButton'
+ <layout type = 'vertical' padding = '0, 0, -2, 0' spacing = '2'>
+ <widget name = 'StorageWizardCodeBox'
+ width = '108'
+ height = '24'
+ />
+ </layout>
+ <layout type = 'vertical' padding = '0, 0, -2, 0' spacing = '2'>
+ <widget name = 'StorageWizardPasteButton'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, -2, 0' spacing = '10' center = 'true'>
+ <widget name = 'StorageWizardConnectButton'
type = 'Button'
/>
- <widget name = 'DownloadButton'
- type = 'Button'
+ <widget name = 'StorageWizardConnectionStatusHint'
+ height = 'Globals.Line.Height'
/>
</layout>
+
+ <!-- here goes Wi-Fi Sharing -->
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
<widget name = 'RunServerButton'
type = 'Button'
@@ -730,99 +816,6 @@
</layout>
</dialog>
- <dialog name = 'GlobalOptions_Cloud_ConnectionWizard' overlays = 'Dialog.GlobalOptions'>
- <layout type = 'vertical' padding = '0, 0, 0, 0'>
- <widget name = 'Container'/>
- </layout>
- </dialog>
-
- <dialog name = 'GlobalOptions_Cloud_ConnectionWizard_Container' overlays = 'GlobalOptions_Cloud_ConnectionWizard.Container'>
- <layout type = 'vertical' padding = '16, 16, 16, 16' spacing = '0'>
- <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '6'>
- <widget name = 'Picture'
- width = '109'
- height = '109'
- />
- <widget name = 'OpenUrlButton'
- type = 'Button'
- />
- <widget name = 'PasteCodeButton'
- type = 'Button'
- />
- </layout>
- <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '6'>
- <widget name = 'Headline'
- height = 'Globals.Line.Height'
- />
- <space size = '4' />
- <widget name = 'NavigateLine'
- height = 'Globals.Line.Height'
- />
- <widget name = 'URLLine'
- height = 'Globals.Line.Height'
- />
- <space size = '4' />
- <widget name = 'ReturnLine1'
- height = 'Globals.Line.Height'
- />
- <widget name = 'ReturnLine2'
- height = 'Globals.Line.Height'
- />
- <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '4' center = 'true'>
- <widget name = 'CodeBox1'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox2'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox3'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox4'
- width = '70'
- height = 'Globals.Line.Height'
- />
- </layout>
- <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '4' center = 'true'>
- <widget name = 'CodeBox5'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox6'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox7'
- width = '70'
- height = 'Globals.Line.Height'
- />
- <widget name = 'CodeBox8'
- width = '70'
- height = 'Globals.Line.Height'
- />
- </layout>
- <widget name = 'MessageLine'
- height = 'Globals.Line.Height'
- />
- <space size = '6' />
- </layout>
- </layout>
- <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
- <widget name = 'CancelButton'
- type = 'Button'
- />
- <space />
- <widget name = 'ConnectButton'
- type = 'Button'
- />
- </layout>
- </layout>
- </dialog>
-
<dialog name='KeysDialog' overlays='Dialog.GlobalOptions' shading='dim'>
<layout type='vertical' padding='8,8,8,8' center='true'>
<widget name='Action'