aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
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-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-01-26Revert old change - proper fix is to avoid playing in portrait mode :)Nicolas Bacca
svn-id: r12605
2004-01-19Add comment for checkbox CE tweakNicolas Bacca
svn-id: r12522
2004-01-18Small tweak for the checkbox control on CENicolas Bacca
svn-id: r12478
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-07added checkboxes to the 'Edit Game...' dialog which let the user determine ↵Max Horn
whether to override global settings or not; besides other things, this fixes bug #837599 (Default volume is 0 for newly added games) svn-id: r11196
2003-11-07enable StaticTextWidget by default; make CheckboxWidget::handleMouseUp send ↵Max Horn
the checkbox state along with its command svn-id: r11193
2003-11-07draw StaticTextWidget differently if disabledMax Horn
svn-id: r11192
2003-11-07fixed memory leak in TabWidgetMax Horn
svn-id: r11191
2003-11-03removed PushButtonWidgetMax Horn
svn-id: r11120
2003-11-03added a builtin label to PopUpWidgetMax Horn
svn-id: r11076
2003-11-03added built-in label for SliderWidgetMax Horn
svn-id: r11075
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-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-11-01fixed Widget::draw for bordered items to adjust _h; removed unused label ↵Max Horn
param from SliderWidget constructor; cleanup svn-id: r11041
2003-07-31back disable warnings into stdafx.h, vc6 is lack of warnings supportPaweł Kołodziejski
svn-id: r9337
2003-07-31Disabled unknown pragma warning in MSVC-6.Jamieson Christian
svn-id: r9320
2003-07-30the VC warning for unknown pragmas is now gloabally disabled, no need to ↵Max Horn
work around it locally svn-id: r9300
2003-05-21Variable initializations in SliderWidgetTorbjörn Andersson
svn-id: r7786
2003-03-26Make it possible to disable popups/checkboxesMax Horn
svn-id: r6864
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721
2002-12-12changed the slider widget, better suited to represent volume settings this ↵Max Horn
way (IMO) svn-id: r5918
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-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-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-222002-09-21 Matt Hargett <matt@use.net>Matt Hargett
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate PDBs on all builds. * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp, dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp: Fix warnings where possible. One pragma added to eliminate warning of unknown pragmas. * string.cpp: If unknown escape sequence, print warning. svn-id: r4998
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-31use class String for widget labelsMax Horn
svn-id: r4878
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-27added support for right aligned text; made use of that in the sound dialog; ↵Max Horn
less redrawing in the sound dialog svn-id: r4649
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-26fixed sliderMax Horn
svn-id: r4646
2002-07-26fixed crash on some systems by setting defaults for the slider value rangeMax Horn
svn-id: r4636
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-16limit slider drag rangeMax Horn
svn-id: r4566
2002-07-16patch by painelf that enables editing in the ListWidget (alas as usual with ↵Max Horn
many mods to his patch by me :-) svn-id: r4561
2002-07-15allow static text/button widgets in NewGUI to be drawn centredMax Horn
svn-id: r4551
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-12Countless changes to the New GUI; some hightligths: new ScrollBarWidget ↵Max Horn
class; ListWidget is usable (demo shows it off); added custom String/StringList classes svn-id: r4521