aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/popup.cpp
AgeCommit message (Collapse)Author
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-03-28GUI: Added override specifiersEugene Sandulenko
2018-03-12GUI: Remove the ThemeItem draw queuesBastien Bouclet
Drawing nows happens directly when the Dialog or Widget draw methods are called. This makes it easy to debug why a particular low level draw method was called, by inspecting the call stack. This replaces the notion of "buffering" by two independant ways to control what is drawn and where: - The active layer is used to select whether the foreground or background part of the dialogs are rendered by the draw calls. - The active surface is used to select if the draw calls affect the back buffer or the screen. The foreground layer of the active dialog is drawn directly to the screen. Its background layer is drawn to the back buffer. This way widgets can restore the back buffer in order to update without having to redraw the dialog's background. Dialogs lower in the dialog stack are drawn entirely to the back buffer.
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2017-08-06GUI: Mark some fall-through cases as intentionalBastien Bouclet
Comments explain how the num lock handling works before the fall-through cases.
2016-07-22GUI: Fix regression in multicolumn PopUp widgetEugene Sandulenko
2016-07-03GUI: Fix PopUpDialogAlexander Tkachev
2016-07-03GUI: Make PopUpWidget clipAlexander Tkachev
2016-06-01GUI: Cleanup class initializationEugene Sandulenko
2016-05-02GUI: Initialize widget paddingEugene Sandulenko
2016-03-30GUI: Implement immediate coordinate mode for PopUp widgetEugene Sandulenko
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2012-12-27GUI: Don't allow changing disabled popup widgets with mouse wheelTorbjörn Andersson
This was another inconsistency between changing the widget by clicking and changing it with the mouse wheel. Hopefully the last one, though.
2012-12-27GUI: Notify when popup widget changes by mousewheelTorbjörn Andersson
This is consistent with the notification when the widget changes by clicking. As far as I can tell, that notification was added shortly before mouse wheel handling was added. It missing from the mouse wheel handler was presumably just an oversight.
2012-12-27GUI: Redraw the popup widget when a the selection changesTorbjörn Andersson
Otherwise, it will look like the value hasn't changed until the widget is redrawn for other reasons, e.g. by mouse-over. Incidentally, does anyone know why handleMouseDown() calls sendCommand() when the selection changes, while handleMouseWheel() does not?
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
2010-11-16GUI: Commit some changes missing in my previous commit (oops)Max Horn
svn-id: r54266
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264