aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
2006-05-31More cleanup. We shouldn't need these widget size parameters either.Torbjörn Andersson
svn-id: r22799
2006-05-31Cleanup. We no longer need these widget size parameters.Torbjörn Andersson
svn-id: r22798
2006-05-29Introduces special switch for GraphicsWidget for use of theme transparency ↵Johannes Schickel
again. svn-id: r22746
2006-05-29- adds option to fill GraphicsWidgets with a special colorJohannes Schickel
- updates builtin theme config for my next commit - bumps theme config svn-id: r22743
2006-05-29- changes transparency parameter of Theme::drawSurface to alpha parameter.Johannes Schickel
- adds possibility to draw GraphicsWidgets with alpha values. svn-id: r22738
2006-05-27Major GUI update:Eugene Sandulenko
- Implemented padding in console - Update only current line in console instead of whole screen - Fixed caret positioning in edit text widget - Improved buttons drawing, now they look more realistic - Added label spacing in popup widget - Correct shadow in popup widget - Fixed up with selected popup widget being drawn on wrong tab - Added shading to list dialog - Adjusted shading of inactive widgets - Proper coloring of browset (add game) dialog - Introduced Container widget - Used Container widget in scumm save/load dialog. Now it looks properly - Adjusted button colors even more. Now they match almost perfectly albeit with banding - Made scrollbar appear only when it is really needed svn-id: r22670
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-03-24Fix chechbox label alignment.Eugene Sandulenko
svn-id: r21433
2006-03-24Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) ↵Max Horn
to a minimum svn-id: r21426
2006-03-24o Move built-in evaluator constants to AssocArray to speed it upEugene Sandulenko
o Introduced .align text widget property o Moved all text widgets to use it and populated theme config file svn-id: r21420
2006-03-14Rearrange launcher.Eugene Sandulenko
Logo is still shown weirdly. svn-id: r21268
2006-03-09Converted all scumm dialogs to new schemeEugene Sandulenko
svn-id: r21147
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-24Turn off background caching for the graphics widget, so that the SCUMMTorbjörn Andersson
save/load dialog really cleans the thumbnail area when there is no thumbnail. svn-id: r20843
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-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-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