aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
AgeCommit message (Collapse)Author
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.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26GUI: Save/restore last scroll position in the list save/load dialog.Johannes Schickel
This should give a better user experience, since the user will not have to scroll back to where he was when he used the dialog last. Thanks to wjp for suggesting this.
2012-03-25GUI: Move predictive dialog to common guiOleksiy Kurochko
2012-02-25GUI: Let edit text widgets use a non-bold (aka normal) font.Johannes Schickel
This change was done per request of _sev.
2012-01-29GRAPHICS/GUI: Implement kerning support for Font.Johannes Schickel
This adapts the related graphics code, which is the generic Font API and the TTF font implementation. It furthermore adapts the GUI to properly take care of kerning in text input widgets.
2011-10-28GUI: Change scrollbar repeat handling from a timer proc to handleTickle.Johannes Schickel
This should be less heavy on timer usage and makes sure no race conditions will occur.
2011-10-27GUI: Slight formatting fix.Johannes Schickel
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-06-02GUI: Replace some s(n)printf uses by Common::String::formatMax Horn
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-17GUI: Trying to clarify my comment on ctrl-a/ctrl-e *sigh*Max Horn
2011-05-17GUI: Text editing tweaksMax Horn
- Streamline keypad handling - Allow up/down to act like home/end - On Mac OS X, allow ctrl-a and ctrl-e to act like home/end
2011-05-17GUI: For a list entry in edit mode, move caret to endMax Horn
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-04-16GUI: Let EditTextWidget notify when the editing is finishedEugene Sandulenko
2010-11-16GUI: Push down some header (inter)dependenciesMax Horn
svn-id: r54267
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