aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
2019-10-07GRAPHICS: Vector renderer clipping rect related cleanupsBastien Bouclet
Selecting whether a clipping variant of a draw call needs to be used is no longer the responsibility to the caller. The clipping rect is now part of the state of the renderer. Also fix some of the draw calls to better apply the clipping rect.
2019-10-03GUI: Add Missing Switch Default CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-09-01TTS: Prepare for windows TTSJaromir Wysoglad
Add windows configuration in configure Add basic skeleton to backends Check if ttsMan is initialized in GUI
2019-09-01TTS: Reformat tts volume setting for GUIJaromir Wysoglad
2019-09-01TTS: Convert strings to UTF-8Jaromir Wysoglad
Conversion happens only for languages, that might needed (not for english)
2019-09-01TTS: Restrict TTS on linux to only englishJaromir Wysoglad
Unfortunatedly the encoding used by ScummVM breaks the speech-dispatcher, so after trying to say non-ascii character the connection has to be restarted. So for now I am restricting the GUI TTS to english only.
2019-09-01TTS: Add text to speech to the GUI.Jaromir Wysoglad
2018-07-24GUI: Fix container widgets not receiving eventsThierry Crozat
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-04-19GUI: Remove alpha bitmap supportBastien Bouclet
It was never used since its introduction 4 years ago It was not updated to work with the clipping rect
2018-01-27GUI: Remove Dialog::markAsDirty to expose full GUI redrawsBastien Bouclet
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
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.