aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/editable.cpp
AgeCommit message (Collapse)Author
2019-09-21BACKENDS: Add a default clipboard implementationCameron Cawley
2018-04-29GUI: Add copy to clipboard shortcut for EditableWidgetThierry Crozat
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2016-08-24ALL: Move Clipboard support to OSystemAlexander Tkachev
Commit adds kFeatureClipboardSupport. hasTextInClipboard() and getTextFromClipboard(). OSystem_SDL has this feature if SDL2 is used. EditableWidget and StorageWizardDialog use g_system to access clipboard now.
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-07-03GUI: Use clipping everywhereAlexander Tkachev
2016-07-03GUI: Add drawSquareClip()Alexander Tkachev
2015-11-07GUI: Make disabled EditTextWidget not allowing to edit the stringEugene Sandulenko
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: 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-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
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-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-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