924 Commits

Author SHA1 Message Date
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