95 Commits

Author SHA1 Message Date
Johannes Schickel
2d46c9b6a2 GUI: Increment theme version.
With 50a682e7e1c69082735a07b2261d1c0c61ac12c9 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
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
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
Johannes Schickel
ff2ad216b1 GUI: Fix classic theme's GMM in 320x200.
svn-id: r51756
2010-08-05 14:40:22 +00:00
Johannes Schickel
dec30186eb GUI: Fix MIDI gain position in MIDI tab for lowres classic theme.
svn-id: r51277
2010-07-25 16:38:25 +00:00
Eugene Sandulenko
d88ffa1341 GUI: Update built-in theme
svn-id: r51266
2010-07-24 22:31:31 +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
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
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
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
843a547cf7 Update default theme
svn-id: r48650
2010-04-12 23:30:52 +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
d8b2baee97 Rename 'font_color' attribute for 'text' draw step to 'text_color'.
svn-id: r43206
2009-08-10 14:05:14 +00:00
Johannes Schickel
f812d0e7b7 Made font color configuration independend from font style configuration.
svn-id: r43205
2009-08-10 13:46:17 +00:00
Vicent Marti
1383291296 Prevent high-resolution layouts to be loaded on low resolutions.
svn-id: r42955
2009-07-31 00:22:46 +00:00
Vicent Marti
44a3d917e8 Fixed corrupted theme files.
svn-id: r42953
2009-07-30 23:42:12 +00:00
Eugene Sandulenko
4e71153249 Fix bug #2825252: "GUI: Low Res Bugs"
svn-id: r42668
2009-07-22 20:37:48 +00:00
Vicent Marti
af289bdb03 Fixed bug 2820514 ("Help dialog causes crash")
svn-id: r42537
2009-07-16 17:29:31 +00:00
Johannes Schickel
a6c41a375f Update classic and builtin theme after r42529.
svn-id: r42531
2009-07-16 11:42:07 +00:00
Johannes Schickel
6a26f1b56f For a smoother user experience, use different colors for inverted text of the ListWidget, depending on whether the widget has focus or not.
svn-id: r42512
2009-07-15 18:05:37 +00:00
Eugene Sandulenko
b9017519fa Rename KeyRemapper dialog to KeyMapper
svn-id: r41462
2009-06-12 08:00:26 +00:00
Eugene Sandulenko
eb4f887ec3 Added Clear button for search box. Looks a bit off, but we do not yet have
skinned buttons.

svn-id: r41355
2009-06-07 22:19:48 +00:00
Eugene Sandulenko
5fc047dddf Implement FR#1970293: "LAUNCHER: Add "quick search" input field like in iTunes"
svn-id: r41268
2009-06-06 17:54:08 +00:00
Eugene Sandulenko
b0db1b5ed0 Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties

svn-id: r41266
2009-06-06 17:52:44 +00:00
Eugene Sandulenko
b0f7f2e8d4 Implement widget property "textalign". Added it to all theme layouts
svn-id: r41265
2009-06-06 17:51:41 +00:00
Eugene Sandulenko
b49d23b898 Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
2009-06-06 17:50:30 +00:00
Eugene Sandulenko
74c16b0072 Add Mute control to all themes
svn-id: r41235
2009-06-06 17:36:58 +00:00
Johannes Schickel
4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Max Horn
5422e81718 Make the file browser bigger in 1x mode
svn-id: r39077
2009-03-02 18:04:44 +00:00
Lars Persson
7176a61a85 Small UI updated with smaller HELP dialog to fit a 320x200 screen. The help text does not fit though.
svn-id: r38848
2009-02-24 18:51:42 +00:00
Vicent Marti
fe6854d5b8 Fixed bug #2485123 (weird looking game load dialog).
svn-id: r36313
2009-02-13 20:01:50 +00:00
Lars Persson
adbc453163 Fixed working Keys button in in game options dialog
Fixed key mappings dialog layout

svn-id: r36285
2009-02-12 22:05:07 +00:00
Max Horn
0dc90f51f9 Updated theme .zip files and default theme
svn-id: r35913
2009-01-18 20:01:12 +00:00
Vicent Marti
e432dad215 Changed PSP graphic modes to use low resolution themes (possible fix for bug ID 2458134)
svn-id: r35612
2008-12-29 16:17:51 +00:00
Kostas Nakos
25ac7c7fb0 1) Add the KeysDialog layout to the modern theme. 2) Improve somewhat the layout of the KeysDialog
svn-id: r35592
2008-12-28 20:15:00 +00:00
Torbjörn Andersson
ab2297e28b Made the F6 and F5 (SCUMM only) menus fit in 320x200. I'd appreciate if someone
who's more familiar with this could look at my changes, in case I messed up.

svn-id: r35589
2008-12-28 16:53:57 +00:00