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