aboutsummaryrefslogtreecommitdiff
path: root/gui/editable.cpp
AgeCommit message (Collapse)Author
2010-06-15GUI: Added tooltips to more widgets.Eugene Sandulenko
svn-id: r49779
2010-05-26Patch #2951677: Text boxes should init with the caret at the beginningEugene Sandulenko
svn-id: r49239
2010-05-08Prevent editable widgets from adding various characters when F1-F12 is ↵Johannes Schickel
pressed by the user. Formerly the code just casted the "ascii" value of the key event to "byte" and thus truncating the character value. Now that would be fine, if we would not allow values >= 256 in the ascii field, for example 322 for F8 which in turn resulted in a "B" added to the editable field. I just added a check for the values being in the byte range before doing the cast, which fixes this. svn-id: r48967
2010-04-05Commit of patch #2980691 "GSoC: GUI: Caret blink shaves pixels [...] (bug ↵Johannes Schickel
#2951681)". svn-id: r48551
2010-03-11GUI: Remove GuiObject::getMillis()Max Horn
svn-id: r48241
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-01partly reverting r46807 ffs. Regression in numpad handling - ID: 2943361Martin Kiewitz
svn-id: r47796
2009-12-31Minor additions: added full keypad support to GUI and SCIYotam Barnoy
svn-id: r46808
2009-06-06Add to launcher not yet functional search widget.Eugene Sandulenko
Make EditableWidget CommandSender svn-id: r41267
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-06-30Changed GUI system to use Common::KeyState stateMax Horn
svn-id: r27786
2007-06-22Use KEYCODE constants.Torbjörn Andersson
svn-id: r27598
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-10-04Fix for bug #1570189 (GUI: crash when pressing "delete" at the end of the name)Max Horn
svn-id: r24113
2006-08-04Changed GUI code to do 'lazy'/'just-in-time' reflowing, so that client code ↵Max Horn
doesn't have to forward EVENT_SCREEN_CHANGED to us (this may initially cause some regressions, please report any induced crashes or oddities you observe to me) svn-id: r23663
2006-06-21Fixed warning.Torbjörn Andersson
svn-id: r23210
2006-06-20Applied patches from bug report #1276480, "GUI: Accented characters". ThisTorbjörn Andersson
changes quite a lot of things in the font renderer and the convbdf tools, so there may be regressions, but we want this feature for 0.9.0. svn-id: r23208
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-05-31Cleanup. We no longer need these widget size parameters.Torbjörn Andersson
svn-id: r22798
2006-05-27make EditableWidget's caret visible when it movesWillem Jan Palenstijn
svn-id: r22682
2006-05-27Oops. More advanced warning recovered a mechanic mistake. Fixing.Eugene Sandulenko
svn-id: r22671
2006-05-27Major GUI update:Eugene Sandulenko
- Implemented padding in console - Update only current line in console instead of whole screen - Fixed caret positioning in edit text widget - Improved buttons drawing, now they look more realistic - Added label spacing in popup widget - Correct shadow in popup widget - Fixed up with selected popup widget being drawn on wrong tab - Added shading to list dialog - Adjusted shading of inactive widgets - Proper coloring of browset (add game) dialog - Introduced Container widget - Used Container widget in scumm save/load dialog. Now it looks properly - Adjusted button colors even more. Now they match almost perfectly albeit with banding - Made scrollbar appear only when it is really needed svn-id: r22670
2006-03-08o Converted most (all?) widgets to new scheme.Eugene Sandulenko
o Converted global options dialog to new scheme. svn-id: r21137
2006-03-07More work on customizable GUI.Eugene Sandulenko
o Implemented special alias 'prev' o Added new calling scheme to several widgets o Partially converted launcher dialog to new scheme o Converted couple widgets of chooser dialog svn-id: r21118
2006-02-24Fixed redraw glitch. Our editable widgets were asking the theme to draw a veryTorbjörn Andersson
wide caret. Changed that width to 1. svn-id: r20842
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18319
2005-05-20Added big editable text widget, and removed some cruft. I think this meansTorbjörn Andersson
that all our widgets are able to scale themselves now, but I could be mistaken. svn-id: r18192
2005-05-17Fixed caret regression in editable text fields.Torbjörn Andersson
svn-id: r18133
2005-05-16Fixed drawing of the caret. (It was drawn using the GUI font, rather thanTorbjörn Andersson
the widget's font.) svn-id: r18130
2005-01-29Move more text editing code into class EditableWidget; ListWidget now has ↵Max Horn
all the editing capabilities of EditTextWidget svn-id: r16694
2005-01-29Started to merge the text editing code in ListWidget and EditTextWidgetMax Horn
svn-id: r16692