aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
AgeCommit message (Collapse)Author
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
2002-09-28patch #612722: MI2 NewGui title fixMax Horn
svn-id: r5030
2002-09-19moved the Scumm specific dialogs to scumm/dialogs.*Max Horn
svn-id: r4973
2002-09-19Added overlay to OSystem interface; implemented overlay in SDL backend (all ↵Max Horn
other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X svn-id: r4971
2002-09-08changed the way listbox draw selected items; list box now has a frame & ↵Max Horn
different spacing; clicking outside any widget doesn't cause the focus widget to loose focus; other tweaks svn-id: r4906
2002-08-21oops, accidentally checked in a hacked up version of this :-)Max Horn
svn-id: r4791
2002-08-21Initial revisionMax Horn
svn-id: r4785
2002-07-27heaps of changes to NewGUI: mouseDown/Up events now count the clicks (so you ↵Max Horn
can detect double/triple clicks); ListWidget sends a message if an item was double clicked or changed; you can abort editing in the ListWidget by pressing ESC; SaveLoadDialog will save when you double click and item, and when you finish editing an item by pressing return, will save svn-id: r4656
2002-07-27improved the sound dialog; but my goal is to get rid of it, and merge the ↵Max Horn
sound & misc dialogs into the options dialog svn-id: r4648
2002-07-26make sure the mouse over widget and the focused widget are informed when the ↵Max Horn
dialog is closed svn-id: r4645
2002-07-26added painelf's (still unfinished) sound dialog in NewGUI. Beware, this is ↵Max Horn
work in progress, don't report problems with it just yet, we already know they are there :-) svn-id: r4635
2002-07-19added khalek's about dialog (but changed the text items to be centered)Max Horn
svn-id: r4600
2002-07-19disable transparency for the pause dialog for nowMax Horn
svn-id: r4598
2002-07-18put stuff in util.h into namespace ScummVM; fixed stupid bug in String ↵Max Horn
class; took painelf's patch which implements save/load dialog in new GUI and fixed it slightly; various other minor changes svn-id: r4591
2002-07-13added latest of painelf's patches which makes NewGui handle system events ↵Max Horn
directly (code becomes much cleaner and more powerful this way); he also implemented a 'focus' item in NewGui; atop of this several changes of my own that further improve the GUI behaviour svn-id: r4541
2002-07-13took painelf's change, modified it a lot, and now here's the result :-)Max Horn
svn-id: r4540
2002-07-13Let ListWidget have an 'active' itemJames Brown
svn-id: r4529