Commit Graph

1862 Commits

Author SHA1 Message Date
Eugene Sandulenko
ccbb12b1cb GUI: Fix overdrawn tabs
If tabs are scrolled, do not draw those which are supposed to be invisible.

svn-id: r51268
2010-07-24 22:54:56 +00:00
Eugene Sandulenko
d88ffa1341 GUI: Update built-in theme
svn-id: r51266
2010-07-24 22:31:31 +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
41190f8a7b GUI: Properly show external MIDI devices.
Formerly in case a game only specified GUIO_MIDIMT32, only the MT-32 Emulator
was shown, since that is the only device which is of type MT_MT32. All
external MIDI devices are currently only flagged with MT_GM.

svn-id: r51107
2010-07-21 20:37:46 +00:00
Johannes Schickel
e5e94d4511 Strip trailing whitespaces in our common code base.
svn-id: r51094
2010-07-21 18:17:51 +00:00
Max Horn
9977e2db90 GUI: Enhance ThemeEngine to find theme .zip files using SearchMan
This is based on the Android specific patch found under:
backends/platform/android/scummvm-android-themeengine.patch
After some testing we should be able to get rid of that custom patch.

svn-id: r51028
2010-07-19 14:28:46 +00:00
Filippos Karapetis
48b288d9aa Fixing compilation with MSVC
svn-id: r50966
2010-07-17 19:11:59 +00:00
Max Horn
0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Max Horn
1d4c82885d DEBUGGER: Simplify how our console debugger works / is used
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
  something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
  can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
  document it.
* Add more doxygen comments
* Cleanup

svn-id: r50963
2010-07-17 18:38:42 +00:00
Torbjörn Andersson
992a8bfd3f Cleanup.
svn-id: r50925
2010-07-16 03:14:58 +00:00
Johannes Schickel
9644e7fe5f Properly add Matteo Angelino to our credits for his Italian translation.
svn-id: r50822
2010-07-12 15:50:48 +00:00
Johannes Schickel
ac268edafb Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and credits files.
svn-id: r50821
2010-07-12 15:50:23 +00:00
Thierry Crozat
65d6ce4193 Replace _s(test ? "string1" : "string2") by test ? _("string1") : _("string2") in two places. With the old code the second string was not detected as being translatable.
svn-id: r50763
2010-07-09 17:22:02 +00:00
Florian Kagerer
47e59d8cc2 GUI/AUDIO: minor fix for the case that after enabling individual audio options for a target the gui tries to select the audio device from global options, but that particular device is unavailable due to GUIO flags settings
svn-id: r50684
2010-07-05 15:53:17 +00:00
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