Commit Graph
4703 Commits
Author SHA1 Message Date
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
Joost Peters ac1b601429 override some widget settings for launcher on 480x272
svn-id: r22778
2006-05-30 18:27:04 +00:00
Eugene Sandulenko 9852a3b808 Fix game options in PSP theme
svn-id: r22777
2006-05-30 18:05:13 +00:00
Eugene Sandulenko 7e656e7274 Fix global options on PSP theme
svn-id: r22776
2006-05-30 17:57:44 +00:00
Eugene Sandulenko b13e157c16 Put volume controls conditionally into separate tab. Used by PSP theme.
svn-id: r22775
2006-05-30 17:49:53 +00:00
Eugene Sandulenko b6a56e0795 - Split global audio tab into audio and volume
- More logical order in game options tab

svn-id: r22774
2006-05-30 17:35:57 +00:00
Johannes Schickel 94272b6ba8 Should fix drawing on systems with alpha mask.
svn-id: r22773
2006-05-30 16:48:15 +00:00
Eugene Sandulenko 411264238a Narrow buttons for PSP resolution for better look.
svn-id: r22771
2006-05-30 12:42:51 +00:00
Eugene Sandulenko a46fe65378 A quick hack to let PSP gui use bigger fonts. Proper solution is to add
possibility to specify font for each widget class

svn-id: r22770
2006-05-30 12:29:32 +00:00
Eugene Sandulenko 0284becc9d GUI theme for PSP-specific resolution
svn-id: r22768
2006-05-30 12:07:47 +00:00
Max Horn 865b48e095 Added sections for infrastructure and GUI to the credits file. These are badly incomplete; folks, please add yourself as appropriate
svn-id: r22766
2006-05-30 10:08:02 +00:00
Eugene Sandulenko 5bbe44cd50 Fix bug #1496582 "GUI: Default graphics mode not committing".
svn-id: r22763
2006-05-30 01:41:49 +00:00
Johannes Schickel 1d72b954c7 Introduces special switch for GraphicsWidget for use of theme transparency again.
svn-id: r22746
2006-05-29 14:55:43 +00:00
Johannes Schickel 975dd5f1fa - updates new theme config
svn-id: r22744
2006-05-29 14:39:31 +00:00
Johannes Schickel 0165c98e00 - adds option to fill GraphicsWidgets with a special color
- updates builtin theme config for my next commit
- bumps theme config

svn-id: r22743
2006-05-29 14:38:56 +00:00
Johannes Schickel 2dd94dd247 Oops this reverts my last commit. :/
svn-id: r22742
2006-05-29 14:30:21 +00:00
Johannes Schickel c37d69df56 - comments out getColorAlphaImp2
- adds note in getColorAlpha about we handle negative alpha values currently (could be removed when getColorAlphaImp2 get's fixed)

svn-id: r22741
2006-05-29 14:21:07 +00:00
Johannes Schickel bdceb581fd - cleanup
- uses working getColorAlphaImpl for alpha == 0 in getColorAlpha

svn-id: r22740
2006-05-29 14:16:52 +00:00
Johannes Schickel 0a557cf2a4 - changes transparency parameter of Theme::drawSurface to alpha parameter.
- adds possibility to draw GraphicsWidgets with alpha values.

svn-id: r22738
2006-05-29 14:00:00 +00:00
Johannes Schickel af25e65c31 Removes leftover comment.
svn-id: r22737
2006-05-29 13:24:49 +00:00
Johannes Schickel fbc55218f1 - Fixes list position after screen change.
svn-id: r22736
2006-05-29 13:21:56 +00:00