Commit Graph

97 Commits

Author SHA1 Message Date
Johannes Schickel
95cabb0ffd SCUMM: Add a difficulty selection dialog for Loom FM-Towns.
It is in spirit of the DOS version's selection dialog, but it has the
description above the buttons instead of below it.
2011-12-26 15:25:41 +01:00
Alyssa Milburn
b017c9317b GUI: Fix and regenerate theme files for y==400 case. 2011-12-07 16:09:11 +01:00
MaximRussia
ad4471f70c GUI: Improved pop up and scrollbar arrows look
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
2011-12-07 14:04:10 +00:00
Eugene Sandulenko
fe4495cac0 LAUNCHER: Turned erase icon white 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
2b6c2da831 GUI: Added clear button to paths 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
5b3b73c523 GUI: Added icon to clear button. Reverted PNG support 2011-10-24 05:18:49 +01:00
Eugene Sandulenko
59474ca128 GUI: Replaced search icon with a better looking one.
Icons are by Yusuke Kamiyamane. http://p.yusukekamiyamane.com/
2011-10-23 23:44:14 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
34ec9f6439 GUI: Make git revision string fit in the modern theme's launcher again. 2011-04-25 20:30:46 +02:00
Johannes Schickel
2d46c9b6a2 GUI: Increment theme version.
With 50a682e7e1 we changed the resolution string
in a way which is incompatible with old resolution strings, thus all old theme
files are not usable anymore and will cause problems. To avoid that we just
increase the version string and thus it is not possible to use them anymore.
2011-03-01 04:20:32 +01:00
dhewg
50a682e7e1 GUI: Make the ThemeParser less dumb
Instead of running into assert()s due to dumb parser decisions, use
'less than' and 'greater than' width/height conditions on the
'resolution' tags.
Seems better than listing >9000 different android resolutions.
2011-02-24 23:18:33 +01:00
Johannes Schickel
44dfb67faa GUI: Adapt GUI themes to latest Mohawk resolution change.
svn-id: r54944
2010-12-17 12:23:59 +00:00
Johannes Schickel
a29adaa77c GUI: Prevent high res versions of the themes to be picked for 544x333.
This fixes a problem in case the high resolution theme file was picked up
before the low resolution theme file and thus it was directly chosen.

svn-id: r54746
2010-12-02 21:54:55 +00:00
Johannes Schickel
d6fadb2cb4 GUI: Change the themes to use their low res version for 544x333.
This fixes an assertion in Myst when opening the GMM. The GMM in Myst looks a
bit odd now though.

svn-id: r54745
2010-12-02 21:46:11 +00:00
Thierry Crozat
df73b6d49f I18N: Update Hungarian translation and add iso-8859-2 fonts to themes.
The new Hungarian translation is from patch #3109396

svn-id: r54251
2010-11-15 20:59:41 +00:00
Filippos Karapetis
2416cbf75b COMMON/GUI/SCI: Changes to the EGA dithering checkbox
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future)
- Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in
- Changed the option from "sci_undither" to "disable_dithering"
- Changed theme version style to X.Y.Z and bumped it to 0.8.2

svn-id: r54090
2010-11-05 10:53:37 +00:00
Filippos Karapetis
7c8470255c SCUMMVM: Bumped theme version to 0.81.
This fixes regression #3103351 - "GUI: Crashes on Edit Game/Options Buttons"

svn-id: r54088
2010-11-05 10:16:36 +00:00
Filippos Karapetis
1dac4fbd55 SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so.
svn-id: r54066
2010-11-04 15:58:53 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Thierry Crozat
eb5ede13c3 GUI: Quick fix for the mute checkbox label being cut in the in-game options
This happened with some translations as the width of the checkbox was
fixed to 80 pixels, even though more space was available. I have increased
it to 120 pixels.

svn-id: r52849
2010-09-21 19:50:30 +00:00
Thierry Crozat
b65c17edc4 GUI: Give slightly more space to the options label in scummmodern theme
I think I have checked everywhere and it looks good both in English and in
French. This might help for future translations. I am not committing the
change to the 1.2.0 branch though as I am not completely sure it is
harmless.

svn-id: r52830
2010-09-20 21:17:28 +00:00
Thierry Crozat
10031f81f6 GUI: Fix Subtitles speed option cut in Audio tab of game options.
In normal (no scaling) mode and aspect ratio correction turned off, the
height of the Audio tab of the game options was too small and the subtitle
speed option was subsequently cut.

svn-id: r52829
2010-09-20 21:06:15 +00:00
Eugene Sandulenko
af76912e87 i18n: Added Cyrillic fonts to theme packages
This fixes ScummVM startup on systems with Russian set as locale.

svn-id: r51571
2010-08-01 10:17:31 +00:00
Eugene Sandulenko
5787c8bb88 GUI: Rename Font cache to match new font naming scheme
svn-id: r51388
2010-07-27 20:17:29 +00:00
Eugene Sandulenko
7457011a87 GUI: Fix bug #3027772 by adding MT-32 tab
Bug #3027772: "Can't switch between Text and Speech". The problem was in
overcrowded Audio tab in any resolution with height < 480.

Solved by adding new MT-32 tab and grouping all relevant widgets there.

TODO:
 - The problem still exists for 320x200 resolution where Subtitle speed
   control is not accessible
 - Apparently nobody tested tab control scrolling after switching to new
   GUI, and now there are artifacts

svn-id: r51265
2010-07-24 22:29:17 +00:00
Eugene Sandulenko
1867b44bf4 GUI: Fix bug #3024930
Bug #3024930: "GUI: GMM errors out in Hercules mode". Fixed by switching
Hercules resolutions to lowres GUI.

svn-id: r51226
2010-07-23 21:26:30 +00:00
Eugene Sandulenko
d6695e180c GUI: Fix tooltip drawing
With help of Tanoku tooltips were switched from widgets to dialogs
which helped to fix nasty bug with background not being restored.
Although it is basically a hack around inconsistent font backbuffering
in our GUI code, for the time being it is feasible.

The patch was extended with way to specify tooltip background in the
theme file.

svn-id: r51217
2010-07-23 19:36:47 +00:00
Johannes Schickel
db01417447 Fix the size of the ScummVM logo in the launcher in the modern theme.
svn-id: r50642
2010-07-04 01:19:16 +00:00
Eugene Sandulenko
0e7ccb896d i18n: Add support for locale-dependent fonts
Currently it ws not decided where to put fonts, but if you put BDF files into
themepath, they will get picked up.

The font name has to contain same codepage specification as in the .po file,
i.e. fixed5x8-iso-8859-5.bdf for Cyrillic codepage. In case the font does not
exist, default will be used.

All built in fonts get proper names.

TODO: Currently there is a bug with our font cacher. Font clR6x12-iso-8859-5
is empty after loading from FCC file. Reason is unknown.

svn-id: r50448
2010-06-28 15:17:10 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn
d79428e816 GUI: Tweak low-res Launcher layout (1-2 more games visible in game list, less space wasted between buttons)
svn-id: r50098
2010-06-20 20:36:14 +00:00
Willem Jan Palenstijn
7c7054dbd1 Remove unnecessary svn:executable properties
svn-id: r49870
2010-06-15 17:14:38 +00:00
Eugene Sandulenko
5370fc2312 GUI: Widened max tooltip width for bigger screen resolutions
svn-id: r49778
2010-06-15 10:53:55 +00:00
Eugene Sandulenko
01f9006ee7 GUI: Implement tooltips. FR #2821513.
FR #2821513: "GUI: add tooltips".
Added tooltips for Add Game button, clear field buttons and couple
other.

Current problem: Only first call correctly restores text. I could
not find where restore information gets lost.

svn-id: r49774
2010-06-15 10:52:35 +00:00
Eugene Sandulenko
ef36b80dfa GUI: Implement FR #2821514.
FR #2821514: "GUI: OK and Cancel buttons in option tabs".
Now tabs are visually separated from the buttons.

svn-id: r49770
2010-06-15 10:50:28 +00:00
Eugene Sandulenko
a295f13152 GUI: Tidied up lowres themes.
svn-id: r49769
2010-06-15 10:49:46 +00:00
Eugene Sandulenko
24abc6fb39 GUI: Improved look of GMM options menu.
svn-id: r49768
2010-06-15 10:49:16 +00:00
Eugene Sandulenko
dc040aa867 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
2010-06-15 10:48:39 +00:00
Eugene Sandulenko
859212df25 Implement translation support for ScummVM GUI.
Based on patch #2903830: "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.

Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.

Finished translation: Russian
Unfinished translation: Hungarian

Things which are nice to do:
 - Language code -> language mapping for more user friendness
 - Specifying fonts to be used with language
 - Updating of interface language without restart. It will require
   moving of much code to reflowLayout() methods for each dialog

The .po files must be in single byte encodings. I.e. no support
for Unicode.

svn-id: r49759
2010-06-15 10:44:51 +00:00
Max Horn
b99d65e561 Fix for bug #3007656: "GMM: Crash in 320x200"
svn-id: r49267
2010-05-27 19:34:41 +00:00
Max Horn
947edd08c3 Replace SCUMM F5 dialog by GMM & add help button to GMM
The new "Help" button in the GMM is currently only used by SCUMM.
To use it, an engine currently needs to subclass MainMenuDialog.

svn-id: r49249
2010-05-26 19:54:50 +00:00
Ori Avtalion
434b5369f6 Remove trailing whitespace
svn-id: r48649
2010-04-12 23:25:09 +00:00
Ori Avtalion
e35133064b Center labels in mass-add dialog
svn-id: r48648
2010-04-12 23:23:23 +00:00
Jordi Vilalta Prat
b6baadff53 Updated the modern theme logo with a darker shadow
svn-id: r44952
2009-10-11 22:26:03 +00:00
Eugene Sandulenko
dceadc9ba0 Proof of concept with new logo. It is clearly visible now that the shadow
has to be darker. Fix will come later.

svn-id: r43823
2009-08-30 10:47:22 +00:00
Johannes Schickel
7c77e2b03a Renamed ScummSaveLoad GUI dialog config entry to SaveLoadChooser. (Also bumped theme version along with it)
svn-id: r43553
2009-08-20 09:23:31 +00:00
Johannes Schickel
a8bffbe6a7 Partial implementation of feature request #2834637 "GUI: Allow greying out dummy ListWidget entries", based on a slighly modified version of my latest patch included there.
svn-id: r43551
2009-08-20 09:19:37 +00:00
Johannes Schickel
4c5ac578b4 Cleanup.
svn-id: r43353
2009-08-13 17:00:19 +00:00
Johannes Schickel
f829f24459 Little fix of new modern theme layout in the launcher for 3x.
svn-id: r43352
2009-08-13 16:50:30 +00:00
Johannes Schickel
54845e7d7a Move version string in Modern theme beneath the Logo in high res mode, this saves some space and looks nicer.
svn-id: r43350
2009-08-13 16:41:07 +00:00