Eugene Sandulenko
adcfd2cc5f
Now AdvancedDetector could use single ID per engine. Also it can suggest
...
more complex game IDs with platform and language specified.
AGI engine benefits most from that.
Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID.
svn-id: r25269
2007-01-29 23:25:51 +00:00
Max Horn
aae330b4c1
Pass objects by (const) ref instead of value; only set game description in the config file if one has been specified
...
svn-id: r25243
2007-01-28 10:38:23 +00:00
Torbjörn Andersson
d707bfb615
When a user clicks on an editable string, use the correct font for calculating
...
the width. Should fix bug #1640622 .
svn-id: r25139
2007-01-21 08:43:28 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Oystein Eftevaag
9686d2cf40
ShowCursor() and HideCursor() are deprecated in Mac OS X, replacing the calls.
...
svn-id: r25041
2007-01-06 19:22:05 +00:00
David Symonds
c8b46e026f
Add myself to the necessary credit sections.
...
svn-id: r25030
2007-01-06 16:33:19 +00:00
Eugene Sandulenko
291859eccd
Credit clone2727 for his significant contributions to our Wiki.
...
svn-id: r24944
2006-12-28 21:54:48 +00:00
Max Horn
f01f4eea98
Added NewGui::getTopDialog method
...
svn-id: r24938
2006-12-27 22:51:14 +00:00
Eugene Sandulenko
4e52f4438f
Fix bug #1595627 : "SCUMM: F5 crashes game (640x480)". This partially
...
reverts commit r24656 for fixing bug #1590596 and effectively fixes both.
svn-id: r24933
2006-12-27 00:47:57 +00:00
Eugene Sandulenko
a0f5e6f0b1
Patch #1622564 : "Enhanced PopUp behaviour"
...
svn-id: r24931
2006-12-26 20:57:29 +00:00
Max Horn
56d63740e8
Updated credits: Benjamin Haisch = John Doe
...
svn-id: r24827
2006-12-09 19:22:56 +00:00
Torbjörn Andersson
d6e67af247
Fixed excessive indentation and removed leftover printf.
...
svn-id: r24749
2006-11-19 22:32:35 +00:00
Eugene Sandulenko
7bf52b07bf
Oops, proper spelling.
...
svn-id: r24734
2006-11-18 19:28:38 +00:00
Eugene Sandulenko
a098de81c2
Add touche engine to credits since it is supported.
...
svn-id: r24733
2006-11-18 19:20:35 +00:00
Eugene Sandulenko
4f32bdba6c
Patch #1595705 : "Select last game when removing the last game of the list"
...
svn-id: r24707
2006-11-13 16:29:14 +00:00
Eugene Sandulenko
ae39374c83
Credit criezy for BS1 Mac and mention it in NEWS.
...
svn-id: r24698
2006-11-12 19:46:40 +00:00
Eugene Sandulenko
90aa1d1852
Fix valgrind warning on unitialized variable.
...
svn-id: r24675
2006-11-11 07:49:05 +00:00
Oystein Eftevaag
ff14e19552
The theme browser will now search through the bundle resource directory on OS X, fixing bug [ 1592294 ] MACOSX: Cannot Switch Back to Modern Theme
...
svn-id: r24658
2006-11-08 21:31:47 +00:00
Eugene Sandulenko
3be9c44dc4
Fix bug #1590596 : "HE: When 3x graphics are choosen, F5 crashes game"
...
svn-id: r24656
2006-11-08 10:06:42 +00:00
Torbjörn Andersson
4c7eaf5c55
Only set up / tear down the custom cursor if _useCursor is true.
...
svn-id: r24648
2006-11-07 19:58:48 +00:00
Torbjörn Andersson
c38ee89a15
The modern theme sets its own cursor, which makes it responsible for restoring
...
the old one afterwards.
svn-id: r24647
2006-11-07 19:08:06 +00:00
Max Horn
3d38ec1dde
Changed some single quotes to double quotes; fixed 'Solaris Spark' -> 'Solaris SPARC'; added vinterstum as Mac OS X packager -- he did the last couple release binaries, not me, so he should get all the fame and blame ;-)
...
svn-id: r24567
2006-10-29 15:18:34 +00:00
Johannes Schickel
77e40457a8
- Fix crash if theme_logo.visible is set to true in a classic theme config file
...
svn-id: r24513
2006-10-25 21:49:33 +00:00
Johannes Schickel
6e16df7891
- renamed GUI::ThemeNew to GUI::ThemeModern
...
- renamed ThemeNew.cpp to ThemeModern.cpp
svn-id: r24512
2006-10-25 21:20:31 +00:00
Johannes Schickel
055d80c4dc
Formatting.
...
svn-id: r24511
2006-10-25 21:06:49 +00:00
Bertrand Augereau
312f4747d5
Compile fix when DISABLE_FANCY_THEMES is #defined
...
svn-id: r24510
2006-10-25 20:18:16 +00:00
Eugene Sandulenko
38d6a4d8d4
Credit madmoose for his MOD player.
...
svn-id: r24375
2006-10-18 18:57:22 +00:00
Eugene Sandulenko
6ee478369a
Reflect Simon engine rename in credits too.
...
svn-id: r24340
2006-10-15 21:21:17 +00:00
Johannes Schickel
88bb217801
Using the correct factor for the slider background now.
...
svn-id: r24269
2006-10-10 20:35:58 +00:00
Johannes Schickel
7e731d7b4c
Cleanup.
...
svn-id: r24240
2006-10-08 21:25:06 +00:00
Johannes Schickel
6474c8cabf
Oops...
...
svn-id: r24238
2006-10-08 21:23:48 +00:00
Johannes Schickel
cb0e8b577d
Fixed disabled blending for classic theme.
...
svn-id: r24237
2006-10-08 21:15:38 +00:00
Johannes Schickel
7721c0d039
Make modern and classic theme config files use the same version number.
...
svn-id: r24236
2006-10-08 21:03:19 +00:00
Johannes Schickel
16276155b6
Adding option to enable/disable blending for the classic theme.
...
svn-id: r24234
2006-10-08 20:46:09 +00:00
Johannes Schickel
ab7bced4fd
Final fix for wrong cursor palettes in SCUMM games after using the GUI.
...
svn-id: r24233
2006-10-08 20:37:39 +00:00
Johannes Schickel
cfe6d9725c
Making engines working again.
...
svn-id: r24232
2006-10-08 20:19:23 +00:00
Johannes Schickel
3e59682e34
Displaying the theme name instead of the theme config file name in the 'Misc' section of the Options dialog.
...
svn-id: r24231
2006-10-08 20:08:00 +00:00
Johannes Schickel
d24f0a7fbd
Now the 'gui_theme' setting saving works...
...
svn-id: r24230
2006-10-08 19:54:52 +00:00
Johannes Schickel
97d9293476
Adding a 'name' field to the theme config which is used for nice theme names in the theme browser.
...
svn-id: r24229
2006-10-08 19:51:20 +00:00
Johannes Schickel
51edc30e71
Renaming classic.ini to classic080.ini.
...
svn-id: r24228
2006-10-08 19:47:55 +00:00
Johannes Schickel
7f1ddf9cce
Fixed compile.
...
svn-id: r24227
2006-10-08 19:45:27 +00:00
Johannes Schickel
fa668d275f
Display the correct theme name if it's specified with --gui-theme
...
svn-id: r24223
2006-10-08 19:28:15 +00:00
Johannes Schickel
e11bfe5f49
- reworked my commit for r24216, not 'Classic (Builtin)' uses the builtin classic theme and classic uses the classic.ini file
...
- save the chosen theme now
svn-id: r24222
2006-10-08 19:24:31 +00:00
Johannes Schickel
a972fc57cd
Added a comment about how the theme browser finds the themes.
...
svn-id: r24218
2006-10-08 18:53:10 +00:00
Johannes Schickel
1ced1777f8
- Forcing 'classic' as the builtin classic theme (which means it ignores the classic.ini atm)
...
svn-id: r24216
2006-10-08 18:49:25 +00:00
Johannes Schickel
3a81941981
- Added dialog for selecting the theme to use
...
- Added runtime theme switching
svn-id: r24213
2006-10-08 18:22:28 +00:00
Johannes Schickel
25486c789e
- added auto detection of the Theme style to use
...
- fixed a bug which would lead to a crash when loading the modern theme config with the classic theme
svn-id: r24201
2006-10-08 12:00:19 +00:00
Johannes Schickel
9c88c9d9ed
Ooops. making the classic theme working without a config again.
...
svn-id: r24200
2006-10-08 11:03:46 +00:00
Johannes Schickel
5e5a221b0e
- added config file support for the classic theme
...
- added a sample config file (called 'classic.ini', which is based on Theme::_defaultConfigINI)
- added check for the type of the theme config file ('modern' and 'classic' for the respective Theme classes)
- bumped theme config version for the modern theme
svn-id: r24199
2006-10-08 10:57:48 +00:00
Johannes Schickel
c9245a0ffe
Uses the slider background settings instead of the edit text widget settings for the slider background.
...
svn-id: r24187
2006-10-08 01:05:10 +00:00
Eugene Sandulenko
1373686c34
Added DJWillis as official GP2X porter.
...
svn-id: r24145
2006-10-06 19:08:55 +00:00
Max Horn
03e70bf32b
Fix for bug #1570189 (GUI: crash when pressing "delete" at the end of the name)
...
svn-id: r24113
2006-10-04 17:13:48 +00:00
Max Horn
d01420c344
Add a somewhat hackish, uber-sekrit mass-add-game-feature (shift-click 'Add...' button to use at your own risk)
...
svn-id: r24085
2006-10-02 22:28:02 +00:00
Max Horn
5b22991f34
Get rid of CharStar_BaseNode and consorts -- using a simple String is more efficient, now that it has optimizations for small strings. Also made various related changes, turning char pointers into String objects in several spots
...
svn-id: r24044
2006-09-30 18:57:36 +00:00
Travis Howell
fa5c1db170
Update credits
...
svn-id: r24018
2006-09-29 11:22:18 +00:00
Travis Howell
36551b4809
Update credits
...
svn-id: r24015
2006-09-29 11:19:12 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Eugene Sandulenko
965cfe4008
Fix bug #1562795 : "Bug with auto-generated game IDs"
...
svn-id: r23960
2006-09-21 11:42:44 +00:00
Max Horn
6c26712960
Added GUI::ConsoleDialoggetCharsPerLine() method, and added a big FIXME comment to gui/console.h
...
svn-id: r23892
2006-09-16 17:29:43 +00:00
Max Horn
919092e5fc
Overhaul of the debugger code
...
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
1add07beca
Renamed kLineWidth to kCharsPerLine, and moved some enum constants into class ConsoleDialog (to avoid name clashes with other code)
...
svn-id: r23889
2006-09-16 15:19:23 +00:00
Eugene Sandulenko
0616d4931a
Updated credits with all current port builders.
...
svn-id: r23732
2006-08-20 11:01:17 +00:00
Willem Jan Palenstijn
d253442c42
slightly changed patch #1521412 : Hardcoded path for theme files
...
svn-id: r23723
2006-08-18 21:55:11 +00:00
Torbjörn Andersson
b4311d15ca
The ListWidget constructor already did most of what reflowLayout() does, except
...
calling Widget::reflowLayout(). I've simplified that by calling reflowLayout()
directly instead. This may be a bit of a hack, but it was the best way I could
think of to ensure that _entriesPerPage was properly initialised. It wasn't
before, because _h had not been initialised, causing Valgrind to complain.
svn-id: r23705
2006-08-12 17:24:49 +00:00
Torbjörn Andersson
e9b9aa65a6
Whitespace.
...
svn-id: r23704
2006-08-12 16:42:19 +00:00
Max Horn
aab45bac44
Only refresh the theme & reflow all dialogs if the screen settings actually changed
...
svn-id: r23669
2006-08-04 18:11:00 +00:00
Max Horn
40835e42b9
There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code
...
svn-id: r23668
2006-08-04 18:01:43 +00:00
Max Horn
4ee581adb5
Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
...
svn-id: r23666
2006-08-04 17:47:57 +00:00
Max Horn
0485f76c8d
Changed GUI code to do 'lazy'/'just-in-time' reflowing, so that client code doesn't have to forward EVENT_SCREEN_CHANGED to us (this may initially cause some regressions, please report any induced crashes or oddities you observe to me)
...
svn-id: r23663
2006-08-04 15:48:37 +00:00
Max Horn
1a10cacfb9
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
...
svn-id: r23662
2006-08-04 13:55:53 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
53f73eac85
Added explicit string equals/hash functors to a new header common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case
...
svn-id: r23634
2006-07-30 12:21:54 +00:00
Max Horn
4fcdbb9349
String class usage cleanup
...
svn-id: r23582
2006-07-23 15:08:48 +00:00
Torbjörn Andersson
9ab0c1d915
Clear the active domain when (re)opening the launcher dialog. This fixes bug
...
#1523050 .
svn-id: r23571
2006-07-22 21:23:49 +00:00
Johannes Schickel
aa4787bdfb
Adds eriktorbjorn to the kyra credits for his VQA player for kyra3.
...
svn-id: r23506
2006-07-15 13:56:18 +00:00
Johannes Schickel
96c97671f5
Makes usage of themepath over extrapath then loading the gui files.
...
svn-id: r23504
2006-07-15 13:25:54 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
6eecad5722
Call handleScreenChanged() when opening the console. Otherwise, we may get
...
garbage and/or crashes if the scaler has changed since the console was created.
svn-id: r23480
2006-07-10 15:45:09 +00:00
Travis Howell
175c951e8e
Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive
...
svn-id: r23475
2006-07-10 11:12:11 +00:00
Max Horn
859a557b8a
Added Neil Millstone to the credits
...
svn-id: r23454
2006-07-09 12:16:35 +00:00
Max Horn
bea72e9514
Patch #1519399 : DS Backend
...
svn-id: r23452
2006-07-09 11:47:17 +00:00
Max Horn
03ef03887a
Updated credits
...
svn-id: r23430
2006-07-08 17:37:51 +00:00
Eugene Sandulenko
39b08f70a6
- Fix bug #1513671 "GUI: PSP classic mode problems"
...
- Fix little inconsistency in modern theme for PSP resolution.
svn-id: r23394
2006-07-07 21:58:52 +00:00
Joost Peters
4e1d751ba2
override inactive_dialog_shading on PSP
...
svn-id: r23390
2006-07-07 10:54:37 +00:00
Torbjörn Andersson
c367dbfc36
Since the slider's handleMouseMoved() clips the new value, there's no need to
...
test if X >= 0. Dragging the slider quickly, we may never get an event where X
is exactly 0, so all it does is to make it more difficult to drag the slider to
its minimum value.
svn-id: r23330
2006-06-28 04:52:48 +00:00
Eugene Sandulenko
163f49240b
Add Keith Scroggins to credits as Atari/FreeMiNT builder.
...
svn-id: r23297
2006-06-24 22:44:51 +00:00
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
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
Johannes Schickel
f3e74f88de
- Fixes disabled transparency for classic theme.
...
- Introduces check for define 'CT_NO_TRANSPARENCY' to disable transparency support.
svn-id: r22735
2006-05-29 13:12:04 +00:00
Johannes Schickel
ba82b4a235
Fixes widget drawing for classic theme.
...
svn-id: r22734
2006-05-29 13:06:28 +00:00
Torbjörn Andersson
7f1eafea96
Don't "tickle" a dialog until after it has had a chance to redraw itself,
...
otherwise it may be in an inconsistent state since the modern theme uses
openDialog() to allocate a surface as large as he dialog itself.
This fixes a crash when changing to a bigger scaler when the About dialog is
running.
svn-id: r22688
2006-05-27 22:57:00 +00:00
Willem Jan Palenstijn
dfce3faabd
add fixme about scrolling in about dialog
...
svn-id: r22685
2006-05-27 14:41:15 +00:00
Willem Jan Palenstijn
72403d1336
fix missing saveload thumbnail variables in classic theme config
...
svn-id: r22684
2006-05-27 13:52:30 +00:00
Willem Jan Palenstijn
0993c6a712
make EditableWidget's caret visible when it moves
...
svn-id: r22682
2006-05-27 13:17:19 +00:00
Johannes Schickel
1b2485f4af
Don't draw the shadow outside the scrollbar (should fix 'garbage' when moving the scrollbar)
...
svn-id: r22680
2006-05-27 12:48:31 +00:00
Johannes Schickel
ae191feb21
Fixes caret drawing in EditTextWidgets.
...
svn-id: r22678
2006-05-27 12:37:00 +00:00
Eugene Sandulenko
60e288fe87
More vertical space in game options 'game' tab for consistency and better
...
visuals
svn-id: r22677
2006-05-27 12:05:16 +00:00
Torbjörn Andersson
923101abcb
Override the list widget's FindWidget() function, to allow it to return the
...
scrollbar widget.
svn-id: r22672
2006-05-27 06:38:45 +00:00
Eugene Sandulenko
9943084227
Oops. More advanced warning recovered a mechanic mistake. Fixing.
...
svn-id: r22671
2006-05-27 06:08:44 +00:00
Eugene Sandulenko
b56c7b88d7
Major GUI update:
...
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed
svn-id: r22670
2006-05-27 05:46:04 +00:00
Eugene Sandulenko
9477029a44
remove unused variable
...
svn-id: r22647
2006-05-26 01:51:03 +00:00
Eugene Sandulenko
5fee4afc32
- Put scrollbar inside of list widget
...
- Use resize() instead of setPos() and setSize() where applicable
svn-id: r22646
2006-05-26 01:49:56 +00:00
Eugene Sandulenko
12461c3ca0
Do not create scrollbar copy on each resolution switch
...
svn-id: r22645
2006-05-26 01:16:21 +00:00
Eugene Sandulenko
7f8b79d5d0
Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.
...
svn-id: r22644
2006-05-26 01:05:19 +00:00
Eugene Sandulenko
9828eb7a0b
Properly process screen change event in console
...
svn-id: r22643
2006-05-26 00:17:55 +00:00
Torbjörn Andersson
79819da301
The GUI never asked for the cursor to be visible. I'm not sure why that used to
...
work before the cursor manager. Oh well, the launcher should have a visible
cursor again, knock on wood.
svn-id: r22641
2006-05-25 23:20:35 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Paweł Kołodziejski
107073537e
imported AGI engine
...
svn-id: r22588
2006-05-23 23:43:52 +00:00
Torbjörn Andersson
6cdd98b617
After the GUI has finished, restore the old cursor palette (if any). For this
...
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp
svn-id: r22543
2006-05-20 10:59:25 +00:00