Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
cfe7ecd6d9
Don't track the modifier state, use the eventmanager instead (this also fixes bug #1657322 , GUI: 'Mass Add' button text does not revert after mass add)
...
svn-id: r26174
2007-03-17 16:05:16 +00:00
Max Horn
a73c6c3670
Added new file gui/object.cpp (collecting GuiObject methods in there), and renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted)
...
svn-id: r26147
2007-03-16 20:47:41 +00:00
Torbjörn Andersson
d7e9510265
Updated the conditions for the "override" checkboxes. Most of it is probably
...
only noticeable if you edit the config file manually, but the volume settings
should definitely affect the Audio override if there is no separate Volume tab.
svn-id: r26066
2007-03-10 18:25:37 +00:00
Max Horn
0219b46e9d
Simplified addGameToConf and at the same time made it more powerful: Copy all key/value pairs returned by the detector to the new config file domain
...
svn-id: r25701
2007-02-18 18:39:46 +00:00
Max Horn
da67fb9de4
Redraw the launcher after doing a mass add
...
svn-id: r25699
2007-02-18 18:36:21 +00:00
Max Horn
94507bb44d
Improved 'Mass Detector': Now displays a dialog which displays the scan progress to the user, and can be cancelled (the whole thing still needs to be polished)
...
svn-id: r25697
2007-02-18 18:23:52 +00:00
Eugene Sandulenko
dae00f1a4a
Disable clear soundfont path button when path is not selected.
...
svn-id: r25568
2007-02-13 21:41:49 +00:00
Max Horn
986ff06af9
Fix for bug #1656870 (GUI: MassAdd: One Has to click twice to confirm)
...
svn-id: r25491
2007-02-11 14:25:46 +00:00
Eugene Sandulenko
0d01bdd799
Make Add Button caption react to Shift key.
...
svn-id: r25373
2007-02-04 02:36:23 +00:00
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
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
Torbjörn Andersson
d6e67af247
Fixed excessive indentation and removed leftover printf.
...
svn-id: r24749
2006-11-19 22:32: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
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
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
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
1a10cacfb9
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
...
svn-id: r23662
2006-08-04 13:55:53 +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
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +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
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
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
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
9b2e92b686
Patch from bugreport #1503715 : "Quit should clear domain"
...
svn-id: r23036
2006-06-11 21:41:04 +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
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
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
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
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
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
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Max Horn
dad44b45d3
Removed Base::setTarget, and some minor cleanup & tweaks
...
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
5d5c02d66c
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
...
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
6321cfc874
Turned the last remaining few GameDetector methods into static methods
...
svn-id: r22344
2006-05-04 22:52:18 +00:00
Max Horn
d016c353c5
Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
...
svn-id: r22315
2006-05-03 20:43:26 +00:00
Won Star
95c134c9a8
Fix compile with DISABLE_FANCY_THEME.
...
svn-id: r22060
2006-04-20 12:25:25 +00:00
Johannes Schickel
30787714d3
Started to prepare the gui for runtime resolution switches.
...
(some little things could be missing yet though)
svn-id: r22017
2006-04-19 01:05:28 +00:00
Johannes Schickel
955b53fb88
Fixes bug with wrong colors in the logo after a screen change. (this time it works!)
...
svn-id: r21984
2006-04-17 18:50:33 +00:00
Johannes Schickel
b99632831f
This should fix wrong colors of the scummvm logo in the new theme after screen change.
...
svn-id: r21953
2006-04-16 20:33:52 +00:00
Max Horn
555a568e59
Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
...
svn-id: r21943
2006-04-16 13:58:11 +00:00
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +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
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
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
c9970b78b5
Rearrange launcher.
...
Logo is still shown weirdly.
svn-id: r21268
2006-03-14 02:19:38 +00:00