aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
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-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-03CleanupTorbjörn Andersson
svn-id: r18318
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-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-18Big version of the checkbox widget.Torbjörn Andersson
svn-id: r18154
2005-05-15Center button label vertically, too (possible now that the GUI scaling is off)Max Horn
svn-id: r18117
2005-05-12Quick fix to make button texts etc. draw at the correct position. (TheyTorbjörn Andersson
were being drawn at unscaled coordinates.) I don't know if this is the correct fix, but the change is small and easy to revert, if need be. svn-id: r18072
2005-05-11Start work on support for 'big' widgetsMax Horn
svn-id: r18060
2005-05-08cleanupMax Horn
svn-id: r17980
2005-05-08A simple widget which renders any 16 bit graphics surface given to it (part ↵Max Horn
of patch #1163026) svn-id: r17977
2005-04-16setLabel should probably cause an automatic redraw...Max Horn
svn-id: r17638
2005-01-06Switching GUI to an alternate font; using a second, bigger, font for 640x480 ↵Max Horn
games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to svn-id: r16467
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-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