aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2005-07-14Don't count the time it takes to do the blending when timing the slideTorbjörn Andersson
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-13Cache the blended background in a surface, so that the blending only needsTorbjörn Andersson
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-05* Start of generic key configuration support for ScummVMLars Persson
* 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-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24I don't think we need <ctype.h> here.Torbjörn Andersson
svn-id: r18448
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-23Fixed credits order againMax Horn
svn-id: r18439
2005-06-23Fixed credits orderMax Horn
svn-id: r18436
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
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-20Added virtual destructor, to silence a few more GCC 4 warningsMax Horn
svn-id: r18419
2005-06-03The alternative form of drawString() is no longer needed.Torbjörn Andersson
svn-id: r18326
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18324
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18323
2005-06-03Cleanup. (I think you can see the pattern here. :-)Torbjörn Andersson
svn-id: r18322
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18321
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18320
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18319
2005-06-03CleanupTorbjörn Andersson
svn-id: r18318
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18316
2005-06-02The GUI has reached the point where I think it's safe to begin removing theTorbjörn Andersson
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-05-23Restored alphabetical order (and documented it in a comment); retired ↵Max Horn
Jamieson and Ruediger (have been inactive for 1 resp. 1.5 years) svn-id: r18235
2005-05-20Made the chooser dialog scale itself, albeit in a slightly hackish way.Torbjörn Andersson
svn-id: r18194
2005-05-20Added big editable text widget, and removed some cruft. I think this meansTorbjörn Andersson
that all our widgets are able to scale themselves now, but I could be mistaken. svn-id: r18192
2005-05-19Big version of the popup widget. It could use a bit more polish, though...Torbjörn Andersson
svn-id: r18185
2005-05-19More scaling work. It's still more about infrastructure than layout: I wantTorbjörn Andersson
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-18Make sure the labels for the volume sliders aren't truncated. (This is myTorbjörn Andersson
last scaling change today. Feel free to continue. :-) svn-id: r18172
2005-05-18Added big slider widget. There is nothing in the widget itself that'sTorbjörn Andersson
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-18Some more scaling work. Parts of the options dialogs scale themselves. SomeTorbjörn Andersson
of them better than others. svn-id: r18165
2005-05-18Remove duplicate _ws memberMax Horn
svn-id: r18164
2005-05-18Remove the label code from SliderWidget (simplifies it a lot); instead use a ↵Max Horn
StaticTextWidget for the label svn-id: r18163
2005-05-18Revised scrollbar look againMax Horn
svn-id: r18162
2005-05-18Made use of addCheckbox(). I had to add an alternative form of the functionTorbjörn Andersson
because most checkboxes are on tabs. (We'll probably need a similar form of addButton() as well.) svn-id: r18161
2005-05-18New function: addCheckbox()Torbjörn Andersson
svn-id: r18159
2005-05-18Big version of the checkbox widget.Torbjörn Andersson
svn-id: r18154
2005-05-17Added automatic word wrapping to the about scrollerMax Horn
svn-id: r18145
2005-05-17Center about dialog, and make it just wide enough to display the credits, ↵Max Horn
but not wider svn-id: r18139
2005-05-17Added "big" version of the Tab widget, and made use of it.Torbjörn Andersson
svn-id: r18134
2005-05-17Fixed caret regression in editable text fields.Torbjörn Andersson
svn-id: r18133
2005-05-16Fixed drawing of the caret. (It was drawn using the GUI font, rather thanTorbjörn Andersson
the widget's font.) svn-id: r18130
2005-05-16Use the same offset - string width for the item number - for every line inTorbjörn Andersson
the list. There's a slight hack here: I've assumed that all digits have the same width. svn-id: r18129
2005-05-16Made the buttons scale themselves too.Torbjörn Andersson
svn-id: r18127
2005-05-16Made the file/directory browser dialog scale itself.Torbjörn Andersson
svn-id: r18126
2005-05-16Fixed the SoundFont button's behaviour in the Edit Game dialog.Torbjörn Andersson
svn-id: r18125
2005-05-16Enlarge the option dialogs; note that the widgets should be rearranged / ↵Max Horn
enlarged, too; they aren't yet svn-id: r18123
2005-05-16Made the launcher dialog scale itselfMax Horn
svn-id: r18122
2005-05-15Use big font in ListWidget if it is in kBigScrollBarWidth modeMax Horn
svn-id: r18118
2005-05-15Center button label vertically, too (possible now that the GUI scaling is off)Max Horn
svn-id: r18117
2005-05-15Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a ↵Max Horn
param to the ListWidget constructor to choose a 'big' variant svn-id: r18115
2005-05-15Turn off auto scaling for nowMax Horn
svn-id: r18114
2005-05-15Add a switch which allows turning off the automatic GUI scaling easilyMax Horn
svn-id: r18112