568 Commits

Author SHA1 Message Date
Gregory Montoir
42d4032b59 committed patch #1255847, thanks Simon Sawatzki.
svn-id: r18653
2005-08-10 18:30:55 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
19e118324d Don't count the time it takes to do the blending when timing the slide
action of the console. (I thought I could do this simpler by doing the
blending in open(), but for some reason I couldn't get that to work, and I
would still have had to blend in drawDialog() anyway, so maybe this is for
the best...)

svn-id: r18541
2005-07-14 06:58:06 +00:00
Torbjörn Andersson
983643bc5a Cache the blended background in a surface, so that the blending only needs
to be made once, instead of whenever the console is redrawn. (This is the
same trick as the About dialog uses.)

It should speed up the drawing quite a bit, though it's not particularly
noticeable on the computer I'm using at the moment, so I can't say for
sure.

svn-id: r18540
2005-07-13 14:38:26 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Torbjörn Andersson
1d39f986c9 Whitespace changes.
svn-id: r18449
2005-06-24 16:08:31 +00:00
Torbjörn Andersson
7dc3082a35 I don't think we need <ctype.h> here.
svn-id: r18448
2005-06-24 16:05:24 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
1c361ee409 Fixed credits order again
svn-id: r18439
2005-06-23 13:55:32 +00:00
Max Horn
e4236ba567 Fixed credits order
svn-id: r18436
2005-06-23 13:09:26 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
096e04ef05 Added virtual destructor, to silence a few more GCC 4 warnings
svn-id: r18419
2005-06-20 17:59:00 +00:00
Torbjörn Andersson
63984c3a23 The alternative form of drawString() is no longer needed.
svn-id: r18326
2005-06-03 13:09:24 +00:00
Torbjörn Andersson
41f69db19f Cleanup.
svn-id: r18324
2005-06-03 12:33:03 +00:00
Torbjörn Andersson
ec958e975e Cleanup.
svn-id: r18323
2005-06-03 12:21:52 +00:00
Torbjörn Andersson
6ee65dafb9 Cleanup. (I think you can see the pattern here. :-)
svn-id: r18322
2005-06-03 12:18:30 +00:00
Torbjörn Andersson
3772bb9873 Cleanup.
svn-id: r18321
2005-06-03 12:07:53 +00:00
Torbjörn Andersson
6408377337 Cleanup.
svn-id: r18320
2005-06-03 12:00:38 +00:00
Torbjörn Andersson
7dfa96a8b8 Cleanup.
svn-id: r18319
2005-06-03 11:33:15 +00:00
Torbjörn Andersson
36e8989a6e Cleanup
svn-id: r18318
2005-06-03 11:15:03 +00:00
Torbjörn Andersson
14956529f6 Cleanup.
svn-id: r18316
2005-06-03 09:32:58 +00:00
Torbjörn Andersson
bf89c8a4b9 The GUI has reached the point where I think it's safe to begin removing the
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.

Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.

svn-id: r18310
2005-06-02 12:29:01 +00:00
Max Horn
1c24c28eb5 Restored alphabetical order (and documented it in a comment); retired Jamieson and Ruediger (have been inactive for 1 resp. 1.5 years)
svn-id: r18235
2005-05-23 22:20:35 +00:00
Torbjörn Andersson
4d9edbedc6 Made the chooser dialog scale itself, albeit in a slightly hackish way.
svn-id: r18194
2005-05-20 15:59:29 +00:00
Torbjörn Andersson
801db4a515 Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.

svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
81453854ee Big version of the popup widget. It could use a bit more polish, though...
svn-id: r18185
2005-05-19 17:03:31 +00:00
Torbjörn Andersson
7d0d766988 More scaling work. It's still more about infrastructure than layout: I want
to give each widget the opportunity to scale itself.

There's a slight regression this time, though: In the small version of the
GUI, some of the buttons (e.g. "SoundFont") have their text truncated. Not
good.

svn-id: r18182
2005-05-19 13:10:57 +00:00
Torbjörn Andersson
d927a41638 Make sure the labels for the volume sliders aren't truncated. (This is my
last scaling change today. Feel free to continue. :-)

svn-id: r18172
2005-05-18 16:17:25 +00:00
Torbjörn Andersson
35dda2b636 Added big slider widget. There is nothing in the widget itself that's
dependent on size, so the two different sizes are handled through a new
addSlider() function.

Figuring out why the big widget won't let you set volume to 0 is left as an
exercise for the reader.

svn-id: r18170
2005-05-18 15:58:39 +00:00
Torbjörn Andersson
4aac7819d1 Some more scaling work. Parts of the options dialogs scale themselves. Some
of them better than others.

svn-id: r18165
2005-05-18 14:11:53 +00:00
Max Horn
81287495e9 Remove duplicate _ws member
svn-id: r18164
2005-05-18 10:30:52 +00:00
Max Horn
4c9761592a Remove the label code from SliderWidget (simplifies it a lot); instead use a StaticTextWidget for the label
svn-id: r18163
2005-05-18 10:24:02 +00:00
Max Horn
77a237c86e Revised scrollbar look again
svn-id: r18162
2005-05-18 10:17:00 +00:00
Torbjörn Andersson
ef8e42473a Made use of addCheckbox(). I had to add an alternative form of the function
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)

svn-id: r18161
2005-05-18 10:12:20 +00:00
Torbjörn Andersson
f0e43fb2a6 New function: addCheckbox()
svn-id: r18159
2005-05-18 09:21:03 +00:00
Torbjörn Andersson
16a1f8814b Big version of the checkbox widget.
svn-id: r18154
2005-05-18 07:23:21 +00:00
Max Horn
e05da91674 Added automatic word wrapping to the about scroller
svn-id: r18145
2005-05-17 23:41:35 +00:00
Max Horn
42db49b15a Center about dialog, and make it just wide enough to display the credits, but not wider
svn-id: r18139
2005-05-17 21:40:29 +00:00
Torbjörn Andersson
4ecb6d650f Added "big" version of the Tab widget, and made use of it.
svn-id: r18134
2005-05-17 06:19:42 +00:00
Torbjörn Andersson
99ef35bdd4 Fixed caret regression in editable text fields.
svn-id: r18133
2005-05-17 06:19:11 +00:00
Torbjörn Andersson
c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Torbjörn Andersson
9a17302f57 Use the same offset - string width for the item number - for every line in
the list. There's a slight hack here: I've assumed that all digits have the
same width.

svn-id: r18129
2005-05-16 13:28:34 +00:00
Torbjörn Andersson
469319aa70 Made the buttons scale themselves too.
svn-id: r18127
2005-05-16 10:26:20 +00:00
Torbjörn Andersson
6a0ba15b0d Made the file/directory browser dialog scale itself.
svn-id: r18126
2005-05-16 09:24:28 +00:00
Torbjörn Andersson
6bcfb6ed97 Fixed the SoundFont button's behaviour in the Edit Game dialog.
svn-id: r18125
2005-05-16 06:33:33 +00:00
Max Horn
2935434504 Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
2005-05-16 00:38:30 +00:00
Max Horn
c9290b68ff Made the launcher dialog scale itself
svn-id: r18122
2005-05-16 00:26:23 +00:00
Max Horn
06cc657f0d Use big font in ListWidget if it is in kBigScrollBarWidth mode
svn-id: r18118
2005-05-15 18:22:44 +00:00
Max Horn
8c3085eb2b Center button label vertically, too (possible now that the GUI scaling is off)
svn-id: r18117
2005-05-15 18:22:17 +00:00
Max Horn
841c600fef Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant
svn-id: r18115
2005-05-15 18:02:10 +00:00