aboutsummaryrefslogtreecommitdiff
path: root/gui/console.cpp
AgeCommit message (Collapse)Author
2013-11-14GUI: Use Common::String for console history, to ensure buffer safety.Joel Teichroeb
Previously, if the user enters a command that is more than 256 characters, it will overflow the history buffer. By using a Common::String, this is not possible.
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-09-19GUI: Silence GCC warningTorbjörn Andersson
Rename local variable 'buffer' to keep it from clashing with the buffer() method.
2011-09-19GUI: Replace ConsoleDialog use of vsnprintf by Common::String::vformat()Littleboy
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: Fixed build failure in console due to missing header.David Turner
svn-id: r54268
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
2010-11-01GUI: Rename ConsolDialog methods (v)printf, putcharMax Horn
svn-id: r54006
2010-10-18Revert "GUI: Use vprintf in Console class. Patch by littleboy"Eugene Sandulenko
svn-id: r53585
2010-10-18GUI: Use vprintf in Console class. Patch by littleboyEugene Sandulenko
svn-id: r53577
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-06-28common console: also show prompt, if the engine wrote onto gui console since ↵Martin Kiewitz
last call - fixes sci breakpoints svn-id: r50449
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-01Fix behavior of delete key, when the cursor is at the end of the input line.Johannes Schickel
svn-id: r47802
2010-02-01Fix assert after ^W and Delete key events in the debugger, when there's ↵Johannes Schickel
nothing on the line. svn-id: r47801
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-12-09Include font.h instead of fontman.h in places that don't need fontman :)Max Horn
svn-id: r46311
2009-07-16Fixed bug: In-game console doesn't stay centered when switching resolutions ↵Vicent Marti
on the fly. svn-id: r42540
2009-05-11Turned fixed-size lists of debugger/console commands and variables into more ↵Max Horn
flexible data structures svn-id: r40458
2009-03-04Fix bug #2621207 "GUI: Debug console glitch".Johannes Schickel
svn-id: r39128
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-12GUI: Turn scrollbar width into a theme variableMax Horn
svn-id: r35021
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-10-13Fixed: Ingame debug console in all games.Vicent Marti
svn-id: r34792
2008-08-13Finished legacy API cleanup. Removed all legacy code.Vicent Marti
Possible regressions. svn-id: r33833
2008-08-08Resolution-dependence in XML files.Vicent Marti
G1X scaler GUI now loads. Added layout for the launcher menu. MILESTONE: All core GUI dialogs/widgets working on G2x/G3x MILESTONE: Completely removed old Evaluator/Parser. Improved layout expanding again. Improved XML parser. Several bugfixes. svn-id: r33704
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-16Renamed kLineWidth to kCharsPerLine, and moved some enum constants into ↵Max Horn
class ConsoleDialog (to avoid name clashes with other code) svn-id: r23889
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-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-07-10Call handleScreenChanged() when opening the console. Otherwise, we may getTorbjörn Andersson
garbage and/or crashes if the scaler has changed since the console was created. svn-id: r23480
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-05Fix various typenames to comply to the ScummVM coding guidelinesMax Horn
svn-id: r22928
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-05-26- Put scrollbar inside of list widgetEugene Sandulenko
- Use resize() instead of setPos() and setSize() where applicable svn-id: r22646
2006-05-26Do not create scrollbar copy on each resolution switchEugene Sandulenko
svn-id: r22645
2006-05-26Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.Eugene Sandulenko
svn-id: r22644
2006-05-26Properly process screen change event in consoleEugene Sandulenko
svn-id: r22643
2006-03-09Converted last dialogs to new scheme. Now it seems to be everything. Please,Eugene Sandulenko
test throghoutly. svn-id: r21157
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-02-01Patch #1420942 (console page down fix)Max Horn
svn-id: r20342
2006-01-31Implements the usage of cached backgrounds in the old theme as well,Johannes Schickel
that should fix redrawing bugs with the about dialog. Also I displayed cached background usage in the console for now, since it produces redraw bugs with the old theme (maybe someone with knowledge how redrawing of that dialog is handled should look at that). svn-id: r20337