aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
2017-04-06GUI: Add method to know if a widget contains a given widgetThierry Crozat
2016-12-01GUI: Fix crash when slider values are out-of-boundsColin Snover
Out-of-bounds values are always indicative of a bug somewhere else, but at least not crashing here allows the user to recover by interacting with the slider control. The error will still be obvious because the associated text field will display the original weird value.
2016-09-04GUI: Initialize the PicButtonWidget class properlyEugene Sandulenko
2016-08-24GUI: Fix widget clippingEugene Sandulenko
2016-08-24GUI: Added transparency to PicWidgetsEugene Sandulenko
2016-08-24GUI: Added support for alphabitmaps in picbuttonsEugene Sandulenko
2016-08-24GUI: Added possibility to specify scale mode for AlphaBitmapsEugene Sandulenko
2016-08-24GUI: Implemented possibility to use alphabitmaps in GraphicsWidgetEugene Sandulenko
2016-08-24GUI: Added possibility to specify several state images for PicButtonWidgetEugene Sandulenko
2016-08-24GUI: Add mode to skip drawing of button for PicButtonEugene Sandulenko
2016-07-12GUI: Fix TabWidget height issuesAlexander Tkachev
Changes theme stx files to specify TabWidget's type. That fixes wrong TabWidget height. Changes TabWidget's getHeight() to return not only "children" height, but also tabs height. That fixes wrong clipping area. Changes Widget's findWidget to use getHeight(). That fixes bug when widgets in the bottom of TabWidget were not reacting to the mouse events.
2016-07-03GUI: Add checks in Widget::getBossClipRect()Alexander Tkachev
Prints a warning if clipping area is invalid and fixes it.
2016-07-03JANITORIAL: Remove trailing spacesAlexander Tkachev
2016-07-03GUI: Use clipping everywhereAlexander Tkachev
2016-07-03GUI: Fix blitAlphaBitmapClip()Alexander Tkachev
2016-07-03GUI: Make PopUpWidget clipAlexander Tkachev
2016-07-03GUI: Prepare button to be clippedAlexander Tkachev
2016-07-03GUI: Add ScrollContainerAlexander Tkachev
2016-07-03GUI: Use boss's x/y/w/h instead of clippingAreaAlexander Tkachev
2016-06-01GUI: Cleanup class initializationEugene Sandulenko
2016-05-16Merge pull request #722 from Abde-/masterEugene Sandulenko
GUI: Redraw Widget when setAlign() called
2016-04-14GUI: Remove 'sticky button' featureOri Avtalion
This feature made pressed buttons wait a few moments before returning to an unpressed state. It was half-implemented, and caused several visual bugs. Fixes #7083.
2016-04-13GUI: Remove highlighting when button widget is pressedOri Avtalion
Without this, buttons would stay highlighted after being un-pressed. Fixes #7094.
2016-03-30GUI: Enhanced StaticTextWidget with font styleEugene Sandulenko
2016-03-27GUI: Improve handling of button presses while moving the cursorOri Avtalion
Keep track of where a mouse press started when deciding how mouse-over and mouse-up should behave. This handles the following situations: 1) If a mouse press starts outside a button (e.g. the UI background), mouse-up inside the button has no effect. Previously, it triggered a button click. 2) If a mouse press starts inside a button, the cursor moves outside of its region, then back inside, the button will show as pressed. Previously, it showed as highlighted instead of pressed.
2016-03-25GUI: Widget: redraw when setAlign() calledAbdeselam El-Haman
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-10GUI: Initialise _hotkey in ButtonWidget constructorThierry Crozat
One of the two ButtonWidget constructor did not initialise _hotkey when given a non-null value. This caused valgrind to report an access to uninitialised variable in Dialog::handleKeyDown().
2013-08-03GUI: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GUI: Prefer getBasePtr instead of direct Surface::pixels access.Johannes Schickel
2012-12-27GUI: Change value by one on mouse wheel, not by one pixelTorbjörn Andersson
On file-grained sliders, changing the value by one pixel was unpredictable because it wouldn't change by the same amount every time. (And of course, some values were not possible to set.) On course-grained sliders, changing the value by one pixel would sometimes not change it at all, causing the slider to seem stuck. Now the slider can be set to any value.
2012-10-08Merge pull request #257 from lordhoto/graphics-conversionJohannes Schickel
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-28GUI: Use in-place Surface conversion in widget code.Johannes Schickel
2012-07-24GUI: Implement saving in the grid based save/load chooser.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-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-06-12GUI: Take advantage of Surface::fillRect in GraphicsWidget::setGfx.Johannes Schickel
2012-05-07GUI: Fix bug with button pressed stateOleksiy Kurochko
2012-05-03GUI: Implemented pressed state for buttonsOleksiy Kurochko
2012-01-29GUI: Slight formatting fix.Johannes Schickel
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-06-02GUI: Replace some s(n)printf uses by Common::String::formatMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL