GUI: Added integrity dialog to all themes and bumped theme version

This commit is contained in:
Eugene Sandulenko 2024-06-14 01:05:45 +02:00
parent 228b19dafd
commit 154ba3b43d
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
9 changed files with 153 additions and 42 deletions

View File

@ -36,7 +36,7 @@
#include "graphics/pixelformat.h"
#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.9.17"
#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.9.18"
class OSystem;

View File

@ -1834,43 +1834,6 @@
</layout>
</dialog>
<dialog name = 'GameOptions_IntegrityDialog' overlays = 'Dialog.GameOptions' shading = 'dim'>
<layout type = 'vertical' padding = '16, 16, 16, 8' spacing = '8'>
<widget name = 'ResultsText'
height = '150'
/>
<widget name = 'WarningText'
height = 'Globals.Line.Height'
/>
<widget name = 'StatusText'
height = 'Globals.Line.Height'
/>
<widget name = 'ErrorText'
height = 'Globals.Line.Height'
/>
<widget name = 'ProgressBar'
height = 'Globals.Button.Height'
/>
<space size = '1'/>
<widget name = 'PercentText'
height = 'Globals.Line.Height'
textalign = 'center'
/>
<widget name = 'DownloadSize'
height = 'Globals.Line.Height'
/>
<space/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'MainButton'
type = 'Button'
/>
<widget name = 'CopyButton'
type = 'Button'
/>
</layout>
</layout>
</dialog>
<dialog name = 'GlobalMenu' overlays = 'screen_center'>
<layout type = 'vertical' padding = '16, 16, 16, 16' align = 'center'>
<widget name = 'Logo'
@ -2864,4 +2827,41 @@
</layout>
</dialog>
<dialog name = 'GameOptions_IntegrityDialog' overlays = 'Dialog.GameOptions' shading = 'dim'>
<layout type = 'vertical' padding = '16, 16, 16, 8' spacing = '8'>
<widget name = 'ResultsText'
height = '150'
/>
<widget name = 'WarningText'
height = 'Globals.Line.Height'
/>
<widget name = 'StatusText'
height = 'Globals.Line.Height'
/>
<widget name = 'ErrorText'
height = 'Globals.Line.Height'
/>
<widget name = 'ProgressBar'
height = 'Globals.Button.Height'
/>
<space size = '1'/>
<widget name = 'PercentText'
height = 'Globals.Line.Height'
textalign = 'center'
/>
<widget name = 'DownloadSize'
height = 'Globals.Line.Height'
/>
<space/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'MainButton'
type = 'Button'
/>
<widget name = 'CopyButton'
type = 'Button'
/>
</layout>
</layout>
</dialog>
</layout_info>

View File

@ -2642,4 +2642,41 @@
</layout>
</dialog>
<dialog name = 'GameOptions_IntegrityDialog' overlays = 'Dialog.GameOptions' shading = 'dim'>
<layout type = 'vertical' padding = '8, 8, 8, 8'>
<widget name = 'ResultsText'
height = '150'
/>
<widget name = 'WarningText'
height = 'Globals.Line.Height'
/>
<widget name = 'StatusText'
height = 'Globals.Line.Height'
/>
<widget name = 'ErrorText'
height = 'Globals.Line.Height'
/>
<widget name = 'ProgressBar'
height = 'Globals.Button.Height'
/>
<space size = '1'/>
<widget name = 'PercentText'
height = 'Globals.Line.Height'
textalign = 'center'
/>
<widget name = 'DownloadSize'
height = 'Globals.Line.Height'
/>
<space/>
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
<widget name = 'MainButton'
type = 'Button'
/>
<widget name = 'CopyButton'
type = 'Button'
/>
</layout>
</layout>
</dialog>
</layout_info>

View File

@ -1,3 +1,3 @@
[SCUMMVM_STX0.9.17:ResidualVM Modern Theme Remastered:No Author]
[SCUMMVM_STX0.9.18:ResidualVM Modern Theme Remastered:No Author]
%using ../common
%using ../common-svg

View File

@ -1 +1 @@
[SCUMMVM_STX0.9.17:ScummVM Classic Theme:No Author]
[SCUMMVM_STX0.9.18:ScummVM Classic Theme:No Author]

View File

@ -2472,4 +2472,41 @@
</layout>
</dialog>
<dialog name = 'GameOptions_IntegrityDialog' overlays = 'Dialog.GameOptions' shading = 'dim'>
<layout type = 'vertical' padding = '16, 16, 16, 8' spacing = '8'>
<widget name = 'ResultsText'
height = '150'
/>
<widget name = 'WarningText'
height = 'Globals.Line.Height'
/>
<widget name = 'StatusText'
height = 'Globals.Line.Height'
/>
<widget name = 'ErrorText'
height = 'Globals.Line.Height'
/>
<widget name = 'ProgressBar'
height = 'Globals.Button.Height'
/>
<space size = '1'/>
<widget name = 'PercentText'
height = 'Globals.Line.Height'
textalign = 'center'
/>
<widget name = 'DownloadSize'
height = 'Globals.Line.Height'
/>
<space/>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10'>
<widget name = 'MainButton'
type = 'Button'
/>
<widget name = 'CopyButton'
type = 'Button'
/>
</layout>
</layout>
</dialog>
</layout_info>

View File

@ -2449,4 +2449,41 @@
</layout>
</dialog>
<dialog name = 'GameOptions_IntegrityDialog' overlays = 'Dialog.GameOptions' shading = 'dim'>
<layout type = 'vertical' padding = '8, 8, 8, 8'>
<widget name = 'ResultsText'
height = '150'
/>
<widget name = 'WarningText'
height = 'Globals.Line.Height'
/>
<widget name = 'StatusText'
height = 'Globals.Line.Height'
/>
<widget name = 'ErrorText'
height = 'Globals.Line.Height'
/>
<widget name = 'ProgressBar'
height = 'Globals.Button.Height'
/>
<space size = '1'/>
<widget name = 'PercentText'
height = 'Globals.Line.Height'
textalign = 'center'
/>
<widget name = 'DownloadSize'
height = 'Globals.Line.Height'
/>
<space/>
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
<widget name = 'MainButton'
type = 'Button'
/>
<widget name = 'CopyButton'
type = 'Button'
/>
</layout>
</layout>
</dialog>
</layout_info>

View File

@ -1,2 +1,2 @@
[SCUMMVM_STX0.9.17:ScummVM Modern Theme:No Author]
[SCUMMVM_STX0.9.18:ScummVM Modern Theme:No Author]
%using ../common

View File

@ -1,3 +1,3 @@
[SCUMMVM_STX0.9.17:ScummVM Modern Theme Remastered:No Author]
[SCUMMVM_STX0.9.18:ScummVM Modern Theme Remastered:No Author]
%using ../common
%using ../common-svg