aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
AgeCommit message (Collapse)Author
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-07GUI widget positions:Eugene Sandulenko
o Add 'true' and 'false' constants o add .visible widget property o allow dots to be part of section and key names in configs svn-id: r21123
2006-03-07More work on customizable GUI.Eugene Sandulenko
o Implemented special alias 'prev' o Added new calling scheme to several widgets o Partially converted launcher dialog to new scheme o Converted couple widgets of chooser dialog svn-id: r21118
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-02-01Implemented shadow drawing, also extended the theme config againJohannes Schickel
(new color entries for highlighted buttons and for other widgets). Also added a 'highlight' check to the CheckBox widget. Changed the PopUpDialog to use a shadow around itself. svn-id: r20341
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-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-11Start work on support for 'big' widgetsMax Horn
svn-id: r18060
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-04-06Removed unnecessary semi-colons.Torbjörn Andersson
svn-id: r17418
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357
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-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
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-03Widget::handleCommand delegates unhandled commands to the bossMax Horn
svn-id: r11071
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-11-01fixed Widget::draw for bordered items to adjust _h; removed unused label ↵Max Horn
param from SliderWidget constructor; cleanup svn-id: r11041
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-07-22whitespacesMax Horn
svn-id: r9125
2003-04-12incresed button width a little more for spanish gamesMax Horn
svn-id: r6988
2003-03-26grow default buttons size & browser dialog to accomodate for spanish gamesMax Horn
svn-id: r6871
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721
2002-12-25more -pedantic warnings fixedMax Horn
svn-id: r6109
2002-12-13added TODO commentMax Horn
svn-id: r5938
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-05make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable ↵Max Horn
hack to swap ints svn-id: r5427
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-12revised options dialogMax Horn
svn-id: r5130