Johannes Schickel
2f138f6055
Simplify audio device settings handling by using the device handle as tag instead of newly created id.
...
svn-id: r50651
2010-07-04 18:24:13 +00:00
Johannes Schickel
9cf1cff5fc
Whoops, always increase midiId, not only when it's added to the GM Device popup.
...
svn-id: r50650
2010-07-04 18:07:34 +00:00
Johannes Schickel
9880017c11
Prevent the MT-32 Emulator from being displayed in the "GM Device" pop up.
...
svn-id: r50649
2010-07-04 18:03:18 +00:00
Johannes Schickel
da1a8535b4
More cleanup / readability fixes.
...
svn-id: r50648
2010-07-04 18:00:46 +00:00
Johannes Schickel
8f2c0c2ff0
Cleanup.
...
svn-id: r50647
2010-07-04 17:40:06 +00:00
Florian Kagerer
6c9e3b01da
GUI/AUDIO: This change will make individual game audio settings take over the audio device from the global settings if no device config key is found for that game (This should fix the problem reported by LordHoto on devel. It might make sense to implement this behaviour to other settings, like subtitle mode etc.)
...
svn-id: r50646
2010-07-04 15:06:42 +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
Johannes Schickel
052d2ab6f1
Prevent GraphicsWidget from being assigned a surface which wouldn't fit in the widget.
...
svn-id: r50641
2010-07-04 01:18:49 +00:00
Johannes Schickel
336cde4b61
Always use kThumbnailHeight2 (i.e. 120) for the height of the thumbnail widget.
...
This fixes the thumbnails for games with resolutions != n*200 in the launcher.
svn-id: r50640
2010-07-04 01:11:37 +00:00
Johannes Schickel
acecfcaf69
Center the surface of a GraphicsWidget in case it is smaller than the widget's size.
...
svn-id: r50639
2010-07-04 01:11:18 +00:00
Robert Špalek
5e030bebcc
enable reading ZIP archives even without USE_ZLIB
...
our module unzip.cpp can read uncompressed ZIP archives even without zlib. if some of the files
inside are compressed and zlib is not linked in, an error is returned.
svn-id: r50483
2010-06-29 06:38:00 +00:00
Johannes Schickel
23fa2296c3
Fix regression from r50382, which triggered an assert when clicking "OK" in the GMM's options dialog.
...
The problem here is that our ConfigDialog uses "" as domain name,
this will result in the assert in common/config-manager.cpp:323
getting triggered, when using ConfMan.removeKey.
Since setting the domain to the game's domain does not seem save
according to the FIXME in gui/dialogs.cpp about this domain hackery,
I decided to adapt the OptionsDialog to only call ConfMan.removeKey
for "music_driver" etc., when the music driver widgets are present.
This is consistent with the over uses of removeKey in
OptionsDialog::close too.
svn-id: r50468
2010-06-28 23:41:43 +00:00
Martin Kiewitz
0a58cdb6e9
common console: also show prompt, if the engine wrote onto gui console since last call - fixes sci breakpoints
...
svn-id: r50449
2010-06-28 16:09:54 +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
Eugene Sandulenko
0d6efb2334
Fonts: More BDF font renames
...
svn-id: r50437
2010-06-28 12:20:15 +00:00
Eugene Sandulenko
84d43b9ab4
Fonts: Add Russian codepage fonts, renamed existing ones
...
svn-id: r50436
2010-06-28 12:16:53 +00:00
Thierry Crozat
945297a599
Add italian translation from the patch tracker ( #3022046 ) and update credits.
...
svn-id: r50386
2010-06-27 18:19:37 +00:00
Florian Kagerer
7e05376ebe
GUI: and another fix for the music device popup
...
svn-id: r50384
2010-06-27 17:37:35 +00:00
Florian Kagerer
72f65f8204
GUI: fix music device popup (thanks to clone2727 for reporting)
...
svn-id: r50382
2010-06-27 16:58:06 +00:00
Eugene Sandulenko
d5bff2f5d4
GUI: Copy over fonts from the vendor branch, so they will lay next to the GUI.
...
It will be used for future support of locale-dependent fonts.
svn-id: r50377
2010-06-27 13:25:06 +00:00
Johannes Schickel
58fcda82f3
Remove support for translation of console messages.
...
In recent discussions on -devel it turned out, that this
feature is rather superfluous and instead we should rather
implement a proper error reporting in our GUI.
I also removed the dependency on iconv along with this.
svn-id: r50335
2010-06-26 18:07:41 +00:00
Jordi Vilalta Prat
4102b4a682
GUI: Add the catalan translation
...
svn-id: r50327
2010-06-26 15:59:06 +00:00
Jordi Vilalta Prat
063cef0c28
GUI: Add and improve some messages to translate
...
svn-id: r50324
2010-06-26 15:48:03 +00:00
Jordi Vilalta Prat
21831b6183
GUI: If no language is explicitly selected and autodetection is available, select "<default>" (which is already in use) instead of English.
...
svn-id: r50323
2010-06-26 15:25:47 +00:00
Florian Kagerer
3962f8ba59
AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
...
svn-id: r50281
2010-06-25 18:47:52 +00:00
Thierry Crozat
dfd8ecc55c
Gives proper credits for the Hungarian translation. Also remembered to update the website credits this time (it was also missing the Android credits by the way).
...
svn-id: r50251
2010-06-24 22:56:32 +00:00
Thierry Crozat
ff47de5cd1
Add credits for the translations.
...
svn-id: r50248
2010-06-24 22:37:30 +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
Thierry Crozat
f58c69e65d
Commit slightly modified version of patch #3018727 : fix subtitle options (thanks fuzzie).
...
svn-id: r50080
2010-06-20 14:46:00 +00:00
David Turner
8f962a8fc3
Fix for Tooltip calls causing valgrind errors.
...
svn-id: r49901
2010-06-16 06:24:21 +00:00
Johannes Schickel
81926f106a
Fix g++ warning "format not a string literal and no format arguments".
...
svn-id: r49896
2010-06-15 23:45:13 +00:00
Max Horn
38fc910353
Yet another WinCE fix
...
svn-id: r49889
2010-06-15 20:01:31 +00:00
Johannes Schickel
49463c2bf9
Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of (ENABLE_)TRANSLATION, DETECTLANG and TERMCONV.
...
svn-id: r49885
2010-06-15 19:20:58 +00:00
Willem Jan Palenstijn
7c7054dbd1
Remove unnecessary svn:executable properties
...
svn-id: r49870
2010-06-15 17:14:38 +00:00
Max Horn
953b1324a3
Another attempt to fix WinCE compilation
...
svn-id: r49864
2010-06-15 16:50:28 +00:00
Max Horn
82b66ffdf8
Fix some warnings about 'format not a string literal'.
...
svn-id: r49847
2010-06-15 12:34:55 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Eugene Sandulenko
103cb1b3ba
GUI: Fixed warnings
...
svn-id: r49804
2010-06-15 11:38:53 +00:00
Eugene Sandulenko
079713c717
GUI: Fix crash
...
svn-id: r49803
2010-06-15 11:32:08 +00:00
Eugene Sandulenko
01bc5dda94
GUI: Implemented Languages as GUI options.
...
SCUMM and AdvancedDetector support this feature.
svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
8dcc49251f
GUI: Disable AdLib controls if game does not support it.
...
svn-id: r49785
2010-06-15 10:56:46 +00:00
Eugene Sandulenko
dc57c68454
GUI: Fix crash.
...
svn-id: r49784
2010-06-15 10:56:30 +00:00
Eugene Sandulenko
67bc711580
GUI: Implement MIDI drivers as GUI options.
...
Proper version of patch #2988641 : "GSoC: Select drivers in GUI
based on output types". So far only SCUMM engine supports this
feature.
svn-id: r49783
2010-06-15 10:56:12 +00:00
Eugene Sandulenko
2b67bcc8e4
GUI: Added tooltips to more widgets.
...
svn-id: r49779
2010-06-15 10:54:22 +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
96b3aa6504
GUI: Added tons of tooltips.
...
svn-id: r49777
2010-06-15 10:53:30 +00:00
Eugene Sandulenko
d19807e983
GUI: Add auto-repeater to scrollbar arrows.
...
svn-id: r49775
2010-06-15 10:52:52 +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