aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
AgeCommit message (Collapse)Author
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2012-08-28GUI: Use in-place Surface conversion in widget code.Johannes Schickel
2012-07-09GUI: Make container widget a bit more container like.Johannes Schickel
Now it is possible to add sub widgets to a ContainerWidget and allow for these to get events too.
2012-06-29GUI: Use a black rect when no thumbnail is available in the thumbnail load ↵Johannes Schickel
chooser.
2012-06-20GUI: Allow tooltips to be changed after widget creation.Johannes Schickel
2012-06-13GUI: Allow Surfaces with abitrary RGB pixel formats to be used in ↵Johannes Schickel
PicButtonWidget and GraphicsWidget. Only 1Bpp aka paletted surfaces are not supported.
2012-05-03GUI: Implemented pressed state for buttonsOleksiy Kurochko
2011-12-13GUI: Handle adding clear buttons that don't exist in layoutsTarek Soliman
The buttons in the keymapper are dynamically generated and don't exist in the layout; They have no name.
2011-12-13GUI: Move addClearButton() from options.cpp to widget.cppTarek Soliman
This is so it can be used outside options.cpp
2011-10-25GUI: Made PicButtonWidget derivative of ButtonWidgetEugene Sandulenko
2011-08-06GUI: Consistent behavior of ButtonWidget::setLabel()Eugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-20GUI: Fix Memory Leak from PicButtonWidget _gfx Member.David Turner
This widget is only currently used by Hugo. svn-id: r55364
2011-01-03GUI: Implement PicButtonWidgetEugene Sandulenko
It is a button with picture intead of text. To be used by Hugo engine svn-id: r55099
2010-07-23GUI: Fix tooltip drawingEugene Sandulenko
With help of Tanoku tooltips were switched from widgets to dialogs which helped to fix nasty bug with background not being restored. Although it is basically a hack around inconsistent font backbuffering in our GUI code, for the time being it is feasible. The patch was extended with way to specify tooltip background in the theme file. svn-id: r51217
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
2010-06-15GUI: Implement radiobuttons.Eugene Sandulenko
Implement radiobuttons in GUI. Also closes FR #2821529: "GUI: volume and subtitles speed sliders". Subtitle toggle button is replaced by three radiobuttons grouped by a single group. Updated translations and themes. svn-id: r49767
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
Now it is possible to specify hotkeys in place for ButtonWidget and CheckboxWidget (the only widgets with hotkeys now). Use de-facto standard with putting hotkey between tildes (~). Like '~O~pen'. The tildes gets stripped before after hotkey is extracted. This is done for giving translators possibility to specify their own hotkeys. Old hotkeys defined at widget instance creation are left for leaving possibility to specify non-printable hotkeys such as Common::ASCII_ESCAPE. Translation files were updated respectively. svn-id: r49766
2010-03-11cleanupMax Horn
svn-id: r48240
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
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