Commit Graph

873 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
5f3c930fd1 I just realized that by making the classic SCUMM options dialog just one pixel
wider, it matches the old, hard-coded, width for the 1x scaler. How can I
possibly resist something like that? :-)

svn-id: r22926
2006-06-05 07:17:42 +00:00
Torbjörn Andersson
a2718bc078 Base the width of the SCUMM options dialog, classic theme, on buttonWidth,
rather than hard-coding it. This should fix bug #1500674.

svn-id: r22925
2006-06-05 07:12:28 +00:00
Johannes Schickel
60f19a0f2c Fixes slider drawing.
svn-id: r22918
2006-06-04 17:41:49 +00:00
Torbjörn Andersson
3e72e5c9e0 Re-align the launcher version string when the screen changes. It could be
argued that the widget should do this automagically, but in most cases they
should probably keep the same alignment at all resolutions, so this is the
exception that (dis)proves the rule.

svn-id: r22906
2006-06-03 22:00:20 +00:00
Eugene Sandulenko
2c01a4c901 I completely forgot to gredit Laurent Blume for Solaris x86 build which we
offer.

svn-id: r22901
2006-06-03 18:23:36 +00:00
Max Horn
cb50b454e7 Use full path in #include guard, to avoid name clashes; also, to declare constants, enum is preferred over #define (causes less hard-to-debug errors)
svn-id: r22885
2006-06-03 15:01:37 +00:00
Travis Howell
576ff326b0 Typo
svn-id: r22879
2006-06-03 14:03:08 +00:00
Travis Howell
f7810b53a8 Add credit for Feeble Files source code
svn-id: r22876
2006-06-03 14:00:04 +00:00
Max Horn
76116f36dd *Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
svn-id: r22873
2006-06-03 13:33:39 +00:00
Torbjörn Andersson
ca84620745 When the screen changes, redraw all dialogs *immediately* rather than waiting
for the main loop to check for _needRedraw. Otherwise subsequent events can
cause widgets to be redrawn before the theme has had a chance to re-open the
dialogs, and this could cause at least the modern theme to crash.

svn-id: r22860
2006-06-03 10:48:37 +00:00
Eugene Sandulenko
05871836b9 Turn AliasesMap and VariablesMap keys from String to const char *.
Stats before:
Strings: 12048
mallocs: 55629
after:
Strings: 6370
mallocs: 42117
Here Strings are non-empty strings. Mallocs are string-related mallocs
including mallocs in HashMap BaseNode.

svn-id: r22841
2006-06-02 17:51:20 +00:00
Eugene Sandulenko
eabca87697 Optimize string usage a tiny bit more
svn-id: r22839
2006-06-02 16:06:17 +00:00
Torbjörn Andersson
984214a109 Let deleteWidget() check if it's deleting _mouseWidget, _focusedWidget or
_dragWidget. We don't want to keep references to the deleted widget.

svn-id: r22836
2006-06-02 15:20:48 +00:00
Max Horn
9686e5a3be Optimize GUI string usage a tiny bit more
svn-id: r22828
2006-06-02 07:20:04 +00:00
Willem Jan Palenstijn
f33a2e2f31 reduce number of string allocations
svn-id: r22823
2006-06-01 22:50:05 +00:00
Willem Jan Palenstijn
39451e9947 small optimization in evaluator variable lookup
svn-id: r22822
2006-06-01 22:44:43 +00:00
Eugene Sandulenko
f59017c979 Credit Clem and Raina for forum themes
svn-id: r22802
2006-05-31 18:44:48 +00:00
Torbjörn Andersson
09074b1685 More cleanup. We shouldn't need these widget size parameters either.
svn-id: r22799
2006-05-31 12:27:05 +00:00
Torbjörn Andersson
8975ba8963 Cleanup. We no longer need these widget size parameters.
svn-id: r22798
2006-05-31 12:09:00 +00:00
Torbjörn Andersson
9aa7eec0f6 Update _tabHeight on screen changes.
svn-id: r22791
2006-05-31 08:52:20 +00:00
Eugene Sandulenko
7094405116 Fix About dialog in PSP theme
svn-id: r22782
2006-05-30 18:55:41 +00:00
Eugene Sandulenko
148995dc2d Slight adjustment to list height in PSP theme so it will not have ugly empty
space between last list item and widget edge.

svn-id: r22780
2006-05-30 18:48:16 +00:00
Eugene Sandulenko
1ec42e169e Fixes for MM NES resolution:
- Introduce useAsIs keyword for resolution aliases
- Extend skipFor keyword to accept multiple values

svn-id: r22779
2006-05-30 18:36:08 +00:00