From dc040aa8671797853b0b1f9add3320c6e1f22c33 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 15 Jun 2010 10:48:39 +0000 Subject: GUI: Implement radiobuttons. Implement radiobuttons in GUI. Also closes FR #2821529: "GUI: volume and subtitles speed sliders". Subtitle toggle button is replaced by three radiobuttons grouped by a single group. Updated translations and themes. svn-id: r49767 --- gui/themes/default.inc | 127 ++++++++++++++++++--- gui/themes/scummclassic.zip | Bin 52484 -> 54695 bytes gui/themes/scummclassic/classic_gfx.stx | 63 ++++++++++ gui/themes/scummclassic/classic_layout.stx | 25 +++- gui/themes/scummclassic/classic_layout_lowres.stx | 37 ++++-- gui/themes/scummmodern.zip | Bin 158475 -> 162132 bytes gui/themes/scummmodern/radiobutton.bmp | Bin 0 -> 774 bytes gui/themes/scummmodern/radiobutton_empty.bmp | Bin 0 -> 774 bytes gui/themes/scummmodern/scummmodern_gfx.stx | 38 ++++++ gui/themes/scummmodern/scummmodern_layout.stx | 28 ++++- .../scummmodern/scummmodern_layout_lowres.stx | 35 ++++-- 11 files changed, 312 insertions(+), 41 deletions(-) create mode 100755 gui/themes/scummmodern/radiobutton.bmp create mode 100755 gui/themes/scummmodern/radiobutton_empty.bmp (limited to 'gui/themes') diff --git a/gui/themes/default.inc b/gui/themes/default.inc index 93897a7d88..9d1cabf7f0 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -349,6 +349,63 @@ "fill='none' " "/> " " " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " " " " " +" " " " @@ -560,9 +620,14 @@ " " -" " +" " +" " " " " " @@ -721,6 +786,14 @@ "type='PopUp' " "/> " " " +" " +" " +" " +" " " " @@ -957,9 +1030,14 @@ " " -" " +" " +" " " " " " @@ -1116,6 +1194,9 @@ " " +" " " " @@ -1281,13 +1362,18 @@ "type='PopUp' " "/> " " " -" " +" " " " -" " +" " +" " " " " " @@ -1449,6 +1535,14 @@ "type='PopUp' " "/> " " " +" " +" " +" " +" " " " @@ -1687,13 +1781,18 @@ "/> " " " " " -" " +" " " " -" " +" " +" " " " " " diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip index 1a4481376d..bff76afd91 100644 Binary files a/gui/themes/scummclassic.zip and b/gui/themes/scummclassic.zip differ diff --git a/gui/themes/scummclassic/classic_gfx.stx b/gui/themes/scummclassic/classic_gfx.stx index cc6d7d471f..e107c1f04d 100644 --- a/gui/themes/scummclassic/classic_gfx.stx +++ b/gui/themes/scummclassic/classic_gfx.stx @@ -418,6 +418,69 @@ /> + + + + + + + + + + + + + + + + + + + + @@ -241,9 +244,14 @@ - + + @@ -661,9 +669,14 @@ - + + diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx index 8a0180db3c..3573e56a79 100644 --- a/gui/themes/scummclassic/classic_layout_lowres.stx +++ b/gui/themes/scummclassic/classic_layout_lowres.stx @@ -63,6 +63,9 @@ + @@ -235,13 +238,18 @@ type = 'PopUp' /> - + - + + @@ -407,6 +415,14 @@ type = 'PopUp' /> + + + + @@ -655,13 +671,18 @@ /> - + - + + diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip index 64e9a633ff..a301e25f14 100644 Binary files a/gui/themes/scummmodern.zip and b/gui/themes/scummmodern.zip differ diff --git a/gui/themes/scummmodern/radiobutton.bmp b/gui/themes/scummmodern/radiobutton.bmp new file mode 100755 index 0000000000..d3ba468321 Binary files /dev/null and b/gui/themes/scummmodern/radiobutton.bmp differ diff --git a/gui/themes/scummmodern/radiobutton_empty.bmp b/gui/themes/scummmodern/radiobutton_empty.bmp new file mode 100755 index 0000000000..06b9f9bb70 Binary files /dev/null and b/gui/themes/scummmodern/radiobutton_empty.bmp differ diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx index 05316b516f..13f9cd2196 100644 --- a/gui/themes/scummmodern/scummmodern_gfx.stx +++ b/gui/themes/scummmodern/scummmodern_gfx.stx @@ -98,6 +98,8 @@ + + @@ -595,6 +597,42 @@ /> + + + + + + + + + + + + + + + + + + diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx index 699d59b0be..787696dc34 100644 --- a/gui/themes/scummmodern/scummmodern_layout.stx +++ b/gui/themes/scummmodern/scummmodern_layout.stx @@ -70,6 +70,9 @@ + @@ -254,9 +257,14 @@ - + + @@ -674,9 +682,17 @@ - + + diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx index 1c2f83a3b7..9b811f5a48 100644 --- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx +++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx @@ -61,6 +61,9 @@ + @@ -233,13 +236,18 @@ type = 'PopUp' /> - + - + + @@ -403,6 +411,14 @@ type = 'PopUp' /> + + + + @@ -655,9 +671,14 @@ - + + -- cgit v1.2.3