aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
AgeCommit message (Collapse)Author
2009-01-02Got rid of GuiManager::clearDragWidget instead handle it via a new widget ↵Johannes Schickel
flag WIDGET_IGNORE_DRAG. svn-id: r35662
2008-12-27GUI: Added Widget::setVisible convenience wrapperMax Horn
svn-id: r35572
2008-12-24Added valueToBarWidth to calculate SliderWidget's bar width like it was done ↵Jordi Vilalta Prat
before (as discussed with LordHoto) svn-id: r35519
2008-12-23Modify the SliderWidget value by using the mouse wheelJordi Vilalta Prat
svn-id: r35513
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-11-12GUI: Got rid of the WidgetSize stuffMax Horn
svn-id: r35022
2008-11-12GUI: Got rid of most 'built-in' variablesMax Horn
svn-id: r35018
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-08Pushing down some header depsMax Horn
svn-id: r34936
2008-08-13Finished legacy API cleanup. Removed all legacy code.Vicent Marti
Possible regressions. svn-id: r33833
2008-01-09Cleanup.Torbjörn Andersson
svn-id: r30357
2007-11-04- made Widget::_flags privateJohannes Schickel
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
2007-10-28Proper implementation of ".enabled" theme widget property.Eugene Sandulenko
svn-id: r29282
2007-06-30Changed GUI system to use Common::KeyState stateMax Horn
svn-id: r27786
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-03Replaced 'typedef Common::String String' with explicit usages of ↵Max Horn
Common::String (mainly to make doxygen happy) svn-id: r25360
2006-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
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-05-18Fix bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch". AlsoEugene Sandulenko
fix same problem in scumm help dialog. svn-id: r22522
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-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-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