aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
AgeCommit message (Collapse)Author
2006-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-06-02Let deleteWidget() check if it's deleting _mouseWidget, _focusedWidget orTorbjörn Andersson
_dragWidget. We don't want to keep references to the deleted widget. svn-id: r22836
2006-05-31More cleanup. We shouldn't need these widget size parameters either.Torbjörn Andersson
svn-id: r22799
2006-04-19Started to prepare the gui for runtime resolution switches.Johannes Schickel
(some little things could be missing yet though) svn-id: r22017
2006-04-18- PopUpWidget (drop down list) does not shadow underlying dialog anymoreEugene Sandulenko
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn up to 4 times svn-id: r21998
2006-03-24Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) ↵Max Horn
to a minimum svn-id: r21426
2006-03-09Converted last dialogs to new scheme. Now it seems to be everything. Please,Eugene Sandulenko
test throghoutly. svn-id: r21157
2006-03-08o Converted most (all?) widgets to new scheme.Eugene Sandulenko
o Converted global options dialog to new scheme. svn-id: r21137
2006-03-07o More widgets fot alternative constructorsEugene Sandulenko
o Cleanup of launcher dialog o Implemented useWithPrefix keyword svn-id: r21131
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-01-28- Fixes a bug that the debugger crashed while openingJohannes Schickel
- Changed gradient calculating - added background saving for all dialog/widget backgrounds for now (change that later maybe) - changed ScummDialog to use the colors of our launcher dialog svn-id: r20276
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
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-03Cleanup.Torbjörn Andersson
svn-id: r18324
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-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-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-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-11Start work on support for 'big' widgetsMax Horn
svn-id: r18060
2005-04-17Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scalingMax Horn
svn-id: r17646
2005-03-12Forgot to remove thisMax Horn
svn-id: r17103
2005-03-12Fix popup widget in scaled GUI modeMax Horn
svn-id: r17099
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-06Patch #1092994 (Selfscaling GUI)Max Horn
svn-id: r16455
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Renamed _clickedWidget -> _dragWidget; if a drag is in process, send the ↵Max Horn
mouse moved / mouse up events to the widget on which the drag is performed (this fixes at least one bug and improves the user experience) svn-id: r16362
2004-12-25Fix bug #1091189 (GUI: Launcher List/Edit game interaction)Max Horn
svn-id: r16326
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-06erik's patch for bug #854470Max Horn
svn-id: r11521
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-07fixed memory leak in TabWidgetMax Horn
svn-id: r11191
2003-11-07spelling fixesJonathan Gray
svn-id: r11178
2003-11-03removed PushButtonWidgetMax Horn
svn-id: r11120
2003-11-02more changes to allow widget nesting to fully workMax Horn
svn-id: r11068
2003-11-02refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed ↵Max Horn
NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor) svn-id: r11061
2003-11-02make coordinate calculation based on position of parent -> needed for nested ↵Max Horn
widgets svn-id: r11058
2003-11-02introduced common base class GuiObject for Dialog/Widget -> step towards ↵Max Horn
making it possible to nest widgets (needed for TabWidget) svn-id: r11052
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-07-23Don't check for hotkeys when ascii is 0, since that is the default hotkeyTorbjörn Andersson
for widgets that have none. (This means the Shift key words in text edit widgets again, for instance.) svn-id: r9148
2003-07-22fixed button hotkeys in dialogs with a focused widget (e.g. the F5 save/load ↵Max Horn
dialog) svn-id: r9127
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726