diff options
author | Alexander Tkachev | 2016-07-25 16:37:44 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | c74ba4652d497ddbdec4342029d94bc77387a705 (patch) | |
tree | f38167dd6081180b75ef6f8ac515a43ff472bc48 /gui/themes/scummclassic | |
parent | b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7 (diff) | |
download | scummvm-rg350-c74ba4652d497ddbdec4342029d94bc77387a705.tar.gz scummvm-rg350-c74ba4652d497ddbdec4342029d94bc77387a705.tar.bz2 scummvm-rg350-c74ba4652d497ddbdec4342029d94bc77387a705.zip |
GUI: Add "Paste" button in StorageWizardDialog
It pastes clipboard contents as code into 8 fields of that dialog.
(Clipboard support works with SDL2 only.)
"Open URL" and "Paste" buttons are placed in the left column under the
picture (because there is no room for 4 buttons in the bottom row).
Commit also adds "dropbox.bmp", which is just a square 115x115 picture.
Such pictures are would be used as Storages logos in that dialog.
In lowres there is no left column, so all 4 buttons are in the same row.
None of them are visible, because they are overflowed. Container has to
be added to continue working on them.
Diffstat (limited to 'gui/themes/scummclassic')
-rw-r--r-- | gui/themes/scummclassic/classic_layout.stx | 19 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout_lowres.stx | 4 |
2 files changed, 17 insertions, 6 deletions
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx index 2e37b00c91..3284f7d565 100644 --- a/gui/themes/scummclassic/classic_layout.stx +++ b/gui/themes/scummclassic/classic_layout.stx @@ -637,9 +637,18 @@ <dialog name = 'GlobalOptions_Cloud_ConnectionWizard' overlays = 'Dialog.GlobalOptions'> <layout type = 'vertical' padding = '16, 16, 16, 16' spacing = '8'> <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'> - <widget name = 'Picture' - type = 'OptionsLabel' - /> + <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '6'> + <widget name = 'Picture' + width = '115' + height = '115' + /> + <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' @@ -704,9 +713,7 @@ <widget name = 'CancelButton' type = 'Button' /> - <widget name = 'OpenUrlButton' - type = 'Button' - /> + <space /> <widget name = 'ConnectButton' type = 'Button' /> diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx index 06ce6f6003..7666aeb585 100644 --- a/gui/themes/scummclassic/classic_layout_lowres.stx +++ b/gui/themes/scummclassic/classic_layout_lowres.stx @@ -709,6 +709,7 @@ height = 'Globals.Line.Height' /> <space size = '4' /> + <widget name = 'Picture' width = '1' height = '1' /> </layout> <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '6' center = 'true'> <widget name = 'CancelButton' @@ -717,6 +718,9 @@ <widget name = 'OpenUrlButton' type = 'Button' /> + <widget name = 'PasteCodeButton' + type = 'Button' + /> <widget name = 'ConnectButton' type = 'Button' /> |