aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
AgeCommit message (Collapse)Author
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24GUI: Add Ctrl+V handling in EditableWidgetAlexander Tkachev
In SDL2 there is SDL_GetClipboardText(), so EditableWidget could support pasting into it. No copying yet, as there is no selecting.
2016-08-24GUI: Minor Container fixesAlexander Tkachev
I should've done these in PR, I guess.
2016-08-24GUI: Fix Container's visibility issueAlexander Tkachev
Now it respects outer code's decision to hide or move some widgets around. Outer code must be CommandReceiver which is set as ScrollContainer's target.
2016-07-22GUI: Fix regression in multicolumn PopUp widgetEugene 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-03JANITORIAL: Remove trailing spacesAlexander Tkachev
2016-07-03GUI: Use clipping everywhereAlexander Tkachev
2016-07-03GUI: Fix PopUpDialogAlexander Tkachev
2016-07-03GUI: Add drawTabClip()Alexander Tkachev
2016-07-03GUI: Add drawSquareClip()Alexander Tkachev
2016-07-03GUI: Add VectorRendererSpec::drawTriangleClip()Alexander Tkachev
2016-07-03GUI: Add ThemeLayoutTabWidgetAlexander Tkachev
2016-07-03GUI: Fix Dialog's and TabWidget's reflowLayout()Alexander Tkachev
2016-07-03GUI: Hide scrollbar in ScrollContainerWidget when neededAlexander Tkachev
2016-07-03GUI: Fix ScrollContainerWidget's reflowLayout()Alexander Tkachev
2016-07-03GUI: Update ScrollContainerWidgetAlexander Tkachev
2016-07-03GUI: Fix ScrollContainerWidget look a bitAlexander Tkachev
2016-07-03GUI: Make ScrollContainerWidget do full redrawAlexander Tkachev
2016-07-03GUI: Make ScrollContainerWidget hide childrenAlexander Tkachev
2016-07-03GUI: Make PopUpWidget clipAlexander Tkachev
2016-07-03GUI: drawRoundedSquareClip()Alexander Tkachev
2016-07-03GUI: Remove _clippingArea from ScrollContainerAlexander Tkachev
2016-07-03GUI: Cleanup in ScrollContainerAlexander Tkachev
2016-07-03GUI: Add ScrollContainerAlexander 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
2015-11-07GUI: Make disabled EditTextWidget not allowing to edit the stringEugene Sandulenko
2014-10-28GUI: Remove trailing whitespaceFilippos Karapetis
2014-04-06GUI: Tab cycling handles multiple themes.Zerophase
First visible tab moves up when a theme's width cannot fit another tab.
2014-04-01GUI: Fix tab cycling when total tabs increase.Zerophase
Tab cycling ignores tab width, and slides correctly for larger tab counts.
2014-04-01GUI: Add Tab cycling to TabWidgetZerophase
Tab and Shift-Tab can now cycle between each Tab of the Edit Game menu.
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-24GUI: Do not draw text outside edit rect in EditableWidget.Johannes Schickel
2013-11-24GUI: Fix undrawing caret glitch when the edit text is inversed.Johannes Schickel
This is prominently visible in the list based save/load chooser since the edit string is drawn on a special green background there. When the caret is at the end of the edit string this would result in the green color missing at the place of the (undrawn) caret. To avoid this we simply draw a fake space now.
2013-11-24GUI: Document EditableWidget::getEditRect.Johannes Schickel
2013-11-24GUI: Draw caret over the whole height of the edit rect.Johannes Schickel
This improves the look of the editable widgets.
2013-11-24GUI: Fix out-of-bounds check in EditableWidget::drawCaret.Johannes Schickel
The line "y + editRect.height() + 2" is not included in drawing anymore. Thus it is allowed to equal EditableWidget::_h.
2013-11-24GUI: Fix character redrawing behind caret in EditTextWidgets.Johannes Schickel
This fixes an ugly y position change when the caret is moved to a character in an edit text widget.
2013-11-24GUI: Fix EditTextWidget::getEditRect's returned height.Johannes Schickel
2013-11-24GUI: Fix ListWidget::getEditRect's returned height.Johannes Schickel
2013-09-30GUI: Fix missing initializers for ListWidget. CID 1002259.D G Turner
2013-08-16GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)Narek Mailian
Includes code from https://github.com/inisider/scummvm/ , which has been squashed and bugfixed
2013-07-03TIZEN: bada port updated to tizenChris Warren-Smith
2013-04-16GUI: Always try to show as many entries as possible in ListWidget.Johannes Schickel
In case there were less items in the list than on a page, it was possible that a "scrollTo" call scrolled items out of the view even though all could be displayed. This caused odd behavior in the load dialog in T7G. There the list contains 10 entries. In case the last one was loaded via the dialog, the next time it was brought up again it showed the 9th entry at the top of the view and effectively hiding all the others. It furthermore did not show the scroll bar because all entries would have fit onto one page. To prevent this odd behavior, a boundary check has been added to all places where the scroll position is set. This has been taken from "scrollToCurrent" which already tried to prevent this. This fixes the second issue described in bug #3610960 "T7G - savegame glitches".
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?
2012-12-13COMMON: Add wrapper for isprint.Johannes Schickel
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.