Eugene Sandulenko
e373c9b7b5
- Revert my last change with moving addDefaultDirectory() from TheneNew.cpp
...
- Removed locking of further directory adds because it did not work for themes.
svn-id: r21452
2006-03-25 19:30:10 +00:00
Eugene Sandulenko
f25d49f826
- Move AddDefaultDirectory() calls in somon engine to constructor
...
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp
svn-id: r21451
2006-03-25 19:18:09 +00:00
Eugene Sandulenko
7569f796ec
Fix crash in Options dialog in 320xY mode. Shadow was drawn off-screen
...
svn-id: r21438
2006-03-24 18:10:41 +00:00
Max Horn
f433bdb566
Removed obsolete test stuff from my credits description :-)
...
svn-id: r21435
2006-03-24 17:40:34 +00:00
Eugene Sandulenko
aa743f8920
Fix chechbox label alignment.
...
svn-id: r21433
2006-03-24 17:39:13 +00:00
Max Horn
7307c4cb3d
- moved type aa_ref_t into AssocArray, improving code readability a bit
...
- added new "operator[] const" method, useful when accessing const instances
- removed the default value (if you access an entry without first checking that
it is actually there, it's your own fault)
- replaced 'index' with 'key' which seems more logical and avoids troubles with
certain systems that #define index in their system headers
svn-id: r21430
2006-03-24 15:39:07 +00:00
Max Horn
08ad918af6
Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
...
svn-id: r21426
2006-03-24 14:15:45 +00:00
Eugene Sandulenko
3e1afa4a2f
o Rearranged options dialog
...
o Made button corners less round to match mock-ups
svn-id: r21423
2006-03-24 03:33:47 +00:00
Eugene Sandulenko
dabcc4cc9b
Check values loaded from theme INI and give meaningful errors instead of
...
bad crashes on blitting stage.
svn-id: r21422
2006-03-24 01:45:03 +00:00
Eugene Sandulenko
a9b174abb3
Bump theme version number
...
svn-id: r21421
2006-03-24 01:26:25 +00:00
Eugene Sandulenko
819033b649
o Move built-in evaluator constants to AssocArray to speed it up
...
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file
svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
5d1b4d8f78
Implementation of AssociativeArray. Transferred GUI to it. Now it is much
...
faster.
svn-id: r21419
2006-03-23 22:59:38 +00:00
Eugene Sandulenko
3586905f93
Fix bug #1455213 : "GUI: ExtraPath won't display" and turn theme version
...
into #define.
svn-id: r21395
2006-03-21 13:48:51 +00:00
Johannes Schickel
47a643ce40
Updates the config version for the new theme to 4 in the warning which is printed if the version is too low.
...
svn-id: r21393
2006-03-20 18:28:35 +00:00
Eugene Sandulenko
fce18c2e13
Bump theme config version number to avod confusion. A key was added there,
...
but I didn't bump it last time.
svn-id: r21391
2006-03-20 12:32:55 +00:00
Willem Jan Palenstijn
cbf3c06c1d
adding self to credits
...
svn-id: r21368
2006-03-18 15:51:09 +00:00
Eugene Sandulenko
e60c0441ad
theme.cpp -> ThemeClassic.cpp for consistency and less confusion
...
svn-id: r21363
2006-03-18 12:43:50 +00:00
Eugene Sandulenko
0b0ea17e3c
Remove trailing whitespaces
...
svn-id: r21362
2006-03-18 12:43:00 +00:00
Eugene Sandulenko
30c7070564
Oops. Theme variables are meant to be case insensitive. Fix comparison
...
function.
svn-id: r21361
2006-03-18 12:42:24 +00:00
Eugene Sandulenko
a483083f35
Tweaked a little scumm main dialog and scumm save/load dialog. Still plenty
...
to do.
svn-id: r21271
2006-03-14 03:52:29 +00:00
Eugene Sandulenko
60793c0e64
Positioned logo properly, added different version number rendering and
...
got rid of antialiasing artifacts
svn-id: r21270
2006-03-14 03:08:14 +00:00
Eugene Sandulenko
b45dcc4df3
Fix logo drawing.
...
svn-id: r21269
2006-03-14 02:55:54 +00:00
Eugene Sandulenko
c9970b78b5
Rearrange launcher.
...
Logo is still shown weirdly.
svn-id: r21268
2006-03-14 02:19:38 +00:00
Eugene Sandulenko
94f5bd81ad
Fix Chooser dialog.
...
svn-id: r21266
2006-03-13 23:18:22 +00:00
Lars Persson
96e87cdfe7
Moved typedef Common::String into class declaration.
...
svn-id: r21187
2006-03-09 22:40:21 +00:00
Eugene Sandulenko
a4a79dd951
Credit Tyst for new SVG logo.
...
svn-id: r21173
2006-03-09 13:25:52 +00:00
Eugene Sandulenko
cd732d680b
Fix compilation on MSVC. Reported by Quietust
...
svn-id: r21165
2006-03-09 12:45:23 +00:00
Eugene Sandulenko
8a5f44d797
Converted last dialogs to new scheme. Now it seems to be everything. Please,
...
test throghoutly.
svn-id: r21157
2006-03-09 05:18:00 +00:00
Max Horn
e53e0e5885
- Removed the code from the launcher that adds language/platform to the
...
game descriptions. Doing this now is the responsibility of the engines.
- Adapted the SCUMM engine to add lang/platform to the desc string if
necessary. Other engines still have to be adapted (but many do not seem to
need this at all, since they either are lang/platform agnostic, or already
include this information in their MD5 tables).
svn-id: r21154
2006-03-09 03:09:21 +00:00
Eugene Sandulenko
51495fb199
Moved keys mapping dialog to new scheme. Made it generic. Fixed several
...
compilation errors associated with it.
svn-id: r21151
2006-03-09 02:54:02 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Eugene Sandulenko
871c394e28
Cleanup
...
svn-id: r21138
2006-03-08 01:49:22 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
c3e223afdb
Fix implementation of UseWithPrefix keyword
...
svn-id: r21133
2006-03-07 19:23:38 +00:00
Eugene Sandulenko
fc84c7fc1d
o More widgets fot alternative constructors
...
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
2006-03-07 19:02:42 +00:00
Eugene Sandulenko
d7bc756edc
Add XxH to evaluation precedence.
...
svn-id: r21127
2006-03-07 18:26:04 +00:00
Eugene Sandulenko
1f22481d83
Do not override .prev for simple variable assignments, i.e. VAR=VALUE
...
svn-id: r21124
2006-03-07 13:52:53 +00:00
Eugene Sandulenko
1eff73cb41
GUI widget positions:
...
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
2006-03-07 13:41:36 +00:00
Eugene Sandulenko
059c7a0296
Set svn keywords on theme file.
...
svn-id: r21120
2006-03-07 05:53:28 +00:00
Eugene Sandulenko
5c06d3391b
Fix 320xY layout
...
svn-id: r21119
2006-03-07 05:50:37 +00:00
Eugene Sandulenko
018c93b14a
More work on customizable GUI.
...
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
2006-03-07 05:39:52 +00:00
Eugene Sandulenko
ebd5833335
WIP for arbitrary widget positions. See
...
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.
svn-id: r21115
2006-03-07 03:31:31 +00:00
Johannes Schickel
4fb6c18f0e
Oops, fixes problems with disabled widgets (they need full drawn shadows).
...
svn-id: r21083
2006-03-04 21:25:11 +00:00
Johannes Schickel
91fbb6b7ae
Improved shadow drawing (it's faster now since it doesn't draw the whole rect like before)
...
'cleaned up' the drawSurfaceMasked function a bit.
svn-id: r21082
2006-03-04 20:45:59 +00:00
Johannes Schickel
6010d48a8e
Removed colorToRGB and RGBToColor calls when calculating alpha
...
and disabled the complete new theme if 'DISABLE_FANCY_THEMES' is defined.
svn-id: r21078
2006-03-04 18:34:28 +00:00
Eugene Sandulenko
c89aa846f0
Add newline to the end of the file
...
svn-id: r20876
2006-02-25 14:15:19 +00:00
Eugene Sandulenko
388a553f00
Put theme .ini out of .zip for better changes tracking.
...
svn-id: r20875
2006-02-25 14:00:22 +00:00
Torbjörn Andersson
4aaf6fec8d
Turn off background caching for the graphics widget, so that the SCUMM
...
save/load dialog really cleans the thumbnail area when there is no thumbnail.
svn-id: r20843
2006-02-24 21:51:41 +00:00
Torbjörn Andersson
2cb8832991
Fixed redraw glitch. Our editable widgets were asking the theme to draw a very
...
wide caret. Changed that width to 1.
svn-id: r20842
2006-02-24 20:25:34 +00:00