aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
AgeCommit message (Collapse)Author
2007-04-15Fixing some memory leaks in the GUI codeMax Horn
svn-id: r26515
2007-03-16Added new file gui/object.cpp (collecting GuiObject methods in there), and ↵Max Horn
renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted) svn-id: r26147
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-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-04-16This should fix wrong colors of the scummvm logo in the new theme after ↵Johannes Schickel
screen change. svn-id: r21953
2006-03-09Converted last dialogs to new scheme. Now it seems to be everything. Please,Eugene Sandulenko
test throghoutly. svn-id: r21157
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-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
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-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-03-13Revamped the font code: now it's very easy to switch between the 'original' ↵Max Horn
SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui svn-id: r13243
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-05minor tweaksMax Horn
svn-id: r11149
2003-11-03removed PushButtonWidgetMax Horn
svn-id: r11120
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-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721
2002-11-22changed the key input system in NewGUI: pass both the keycode and the ascii ↵Max Horn
value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225) svn-id: r5691
2002-11-21Implemented EditTextWidget; fixed Add Game/Remove Game in launcher; make use ↵Max Horn
of EditTextWidget in EditGameDialog; various other tweaks svn-id: r5665
2002-11-19added some preliminary game auto detect code to the launcher; this required ↵Max Horn
a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work svn-id: r5600
2002-11-10fixed dialog redrawing (when you switched in the save/load dialog between ↵Max Horn
save and load mode, it would loose the transparency) svn-id: r5512
2002-11-05make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable ↵Max Horn
hack to swap ints svn-id: r5427
2002-10-23use a 'real' caret instead of appending an understcore while editingMax Horn
svn-id: r5289
2002-10-19reworked the way the save/load dialog works. yup, still not perfect, but ↵Max Horn
we're hopefully getting closer. Feedback welcome svn-id: r5189
2002-10-16patch #620627: mouse wheel support for NewGuiMax Horn
svn-id: r5169
2002-10-16dialogs now can be run 'modal'Max Horn
svn-id: r5168
2002-10-12revised options dialogMax Horn
svn-id: r5130
2002-10-01fixed ListWidget drawin/behaviour if there are less items than fit on one ↵Max Horn
page; enhanced launcher dialog to disable start button if nothing is selected svn-id: r5068