Commit Graph
3146 Commits
Author SHA1 Message Date
Willem Jan Palenstijn e53c1af362 listwidget: handle clicking outside of the list more gracefully
svn-id: r23295
2006-06-24 13:21:46 +00:00
Max Horn 9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Johannes Schickel d2bd1de292 Reverting here too.
svn-id: r23253
2006-06-21 22:30:33 +00:00
Johannes Schickel 3116a69adf Ok after a few checks this is how it should be (fixing problems with my last commits).
svn-id: r23251
2006-06-21 21:52:16 +00:00
Johannes Schickel 9cb6196508 Oops fixes problem introduced with last commit.
svn-id: r23250
2006-06-21 21:44:13 +00:00
Johannes Schickel 034676f33a Commits fix for crashing about dialog mentioned my Marucs on -devel.
svn-id: r23248
2006-06-21 21:35:40 +00:00
Torbjörn Andersson 7d334b75a6 Fixed warning.
svn-id: r23210
2006-06-21 00:18:56 +00:00
Torbjörn Andersson 49af7d44c2 Applied patches from bug report #1276480, "GUI: Accented characters". This
changes quite a lot of things in the font renderer and the convbdf tools, so
there may be regressions, but we want this feature for 0.9.0.

svn-id: r23208
2006-06-20 22:50:27 +00:00
Torbjörn Andersson ecfedb1e81 Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case.

svn-id: r23198
2006-06-20 18:55:25 +00:00
Torbjörn Andersson 50673f9f1f The top dialog can change during the event loop. In that case, flush all the
dialog-related events since they were probably generated while the old dialog
was still visible, and therefore note intended for the new one.

This hopefully fixes strange behaviour/crashes with pop-up widgets. (Most easy
to trigger in 3x mode or when running ScummVM under Valgrind.)

svn-id: r23141
2006-06-16 06:26:26 +00:00
Johannes Schickel 84b54c3173 - Adds 'THEME_HINT_NO_BACKGROUND_RESTORE' for buttons which don't want restored background (example: the tab scrolling buttons).
- Call _theme->drawAll() at the end of the redraw method of NewGui

svn-id: r23134
2006-06-15 14:25:59 +00:00
Torbjörn Andersson 4a1b8ccb86 Made the body of the tab widgets taller. This makes no visual difference, but
allows us to use the bottommost widgets on some tabs, even in 640x400 mode.

svn-id: r23132
2006-06-15 13:56:02 +00:00
Eugene Sandulenko 6f844ae420 - Make tabs narrower so they all fit on screen. Now navigation buttons
appear only on PSP resolution
- Combined Audio/Volume tab in game options for consistency.

svn-id: r23130
2006-06-15 13:18:28 +00:00
Eugene Sandulenko 65041ae239 Fix bug with tab navigation buttons jumping on resolution change.
svn-id: r23128
2006-06-15 12:09:53 +00:00
Torbjörn Andersson e939153b6a Fixed regression with the override checkboxes in the "Edit game" dialog. The
checkbox's command message was being intercepted by the tab widget.

svn-id: r23126
2006-06-15 12:04:22 +00:00
Torbjörn Andersson 2265872a83 Delete the old cursor buffer before allocating a new one. If the theme is
enabled by the time it's refreshed, replace the cursor.

svn-id: r23122
2006-06-15 08:07:20 +00:00
Eugene Sandulenko e76a4cbc0d Smaller versions of checkbox and cursor for 320xY resolutions.
svn-id: r23120
2006-06-15 02:54:02 +00:00
Eugene Sandulenko bc74af60a6 - Consistent order of tabs between global and game options
- Consistent order of paths on paths tab in global and game options

svn-id: r23118
2006-06-15 02:30:05 +00:00
Eugene Sandulenko 021159724d Fix drawing of tab widget. Now it matches mock-ups. Added tab scrolling.
svn-id: r23116
2006-06-15 02:14:40 +00:00
Johannes Schickel 793151a0aa Implements new Tab drawing for modern theme (nearlly matches mockups now)
svn-id: r23106
2006-06-14 16:29:56 +00:00
Eugene Sandulenko 9458fd5cff No idea how PlayStation turned to Playstation. Fixing.
svn-id: r23093
2006-06-13 18:33:58 +00:00
Eugene Sandulenko 410e149705 More proper version of credits
svn-id: r23092
2006-06-13 18:32:05 +00:00
Eugene Sandulenko f66f86fbd7 Fix credits
svn-id: r23090
2006-06-13 18:22:18 +00:00
Torbjörn Andersson 61c5281454 Removed printf() debug message.
svn-id: r23085
2006-06-13 10:20:59 +00:00
Torbjörn Andersson 3728e96b17 Disable the theme before restoring the cursor, not afterwards. Otherwise there
may be a noticeable amount of time (disabling the theme can be comparatively
slow) where the cursor is wrong.

svn-id: r23082
2006-06-13 09:57:16 +00:00
Torbjörn Andersson df4f95f805 Let the [cursor] palette manager handle disableCursorPalette() too, to avoid
cursor glitch in at least some HE games which first set a cursor palette, and
then disable it. (The disabled palette would be re-enabled after dismissing the
GUI.)

svn-id: r23081
2006-06-13 09:48:46 +00:00
Torbjörn Andersson f22be03872 Increased the spacing between the widgets on the "Game" tab of the "Edit Game"
dialog in 320xX mode. They were so close to each other that it bordered on
being pornographic.

svn-id: r23058
2006-06-12 08:40:50 +00:00
Torbjörn Andersson 3e42e4a601 Re-calculate tab width when the screen changes.
svn-id: r23037
2006-06-11 21:43:09 +00:00
Eugene Sandulenko 9b2e92b686 Patch from bugreport #1503715: "Quit should clear domain"
svn-id: r23036
2006-06-11 21:41:04 +00:00
Torbjörn Andersson 4876c8a2be Whitespace.
svn-id: r23035
2006-06-11 21:34:25 +00:00
Torbjörn Andersson 0be035e470 Re-calculate the label width for EditGameDialog's language and platform pop-ups
when the screen changes.

svn-id: r23034
2006-06-11 21:26:43 +00:00
Eugene Sandulenko 4867a75918 Patch #1336171: "MIDI gain setting for FluidSynth" with slight modifications
of PSP theme to fit new slider into MIDI tab.

svn-id: r23033
2006-06-11 20:51:14 +00:00
Eugene Sandulenko 62e286c30f Patch from bugreport #1502409: "Search ScummVM directory for GUI theme".
It adds theme patch setting to GUI.

svn-id: r23032
2006-06-11 20:40:22 +00:00
Joost Peters 4324e38f7c Playstation -> PlayStation
svn-id: r23026
2006-06-11 12:15:03 +00:00
Eugene Sandulenko d8e25897d3 Add Joachim as documentation writer
svn-id: r23025
2006-06-11 11:10:40 +00:00
Eugene Sandulenko 8acb3f9e88 Sync credits
svn-id: r23024
2006-06-11 11:04:42 +00:00
Torbjörn Andersson 8ef6ff1765 This may cut down a little on unnecessary strings / mallocs:
* Only create the self.[xywh] aliases and its variables if prefixedname has no
  periods in it, e.g. MusicText.x, but not MusicText.align.x

* Set the .r, .g and .b variables directly, rather than aliasing them through
  .x, .y and .w

svn-id: r23000
2006-06-10 10:09:40 +00:00
Torbjörn Andersson c78409da15 Whitespace
svn-id: r22999
2006-06-10 08:24:00 +00:00
Lars Persson eca46382d5 Return proper keynames for Symbian keymapping
svn-id: r22997
2006-06-10 07:21:26 +00:00
Johannes Schickel 15aee485ea - Removes (obsolete) USE_AUTO_SCALE define
- typo fix

svn-id: r22987
2006-06-08 19:43:37 +00:00
Eugene Sandulenko 6aaafb47eb oops. More appropriate place for loading fonts. Avoids loading fonts on
each GUI start

svn-id: r22968
2006-06-07 02:55:08 +00:00
Eugene Sandulenko e51d7fcc35 Fix regression with console having wrong font on startup.
svn-id: r22967
2006-06-07 02:53:03 +00:00
Eugene Sandulenko 6f8c4250f9 Move whole theme ini file to evaluator. Next step is caching. Also now it is
possible to use per-resolution gfx and colors, i.e. complete customization.

svn-id: r22964
2006-06-06 23:57:14 +00:00
Torbjörn Andersson 2023505402 Some minor tweaks to the classic theme's options dialog. The SoundFont and
the paths buttons have the same left margin now.

svn-id: r22941
2006-06-05 19:24:02 +00:00
Max Horn 61737da115 Slightly optimize 'getVar(FOO)' usage pattern
svn-id: r22937
2006-06-05 17:56:27 +00:00
Max Horn 0f18020010 Some more string usage tweaks
svn-id: r22936
2006-06-05 17:43:30 +00:00
Max Horn 5f76cd0d9e cleanup
svn-id: r22930
2006-06-05 12:35:33 +00:00
Max Horn 110718603c Fixing some more typenames to comply to the ScummVM coding guidelines
svn-id: r22929
2006-06-05 12:29:21 +00:00
Max Horn c0805830eb Fix various typenames to comply to the ScummVM coding guidelines
svn-id: r22928
2006-06-05 12:22:51 +00:00