aboutsummaryrefslogtreecommitdiff
path: root/gui/console.cpp
AgeCommit message (Collapse)Author
2019-05-05GUI: Use a truetype font for the debug consoleBastien Bouclet
2018-05-07GUI: Add copy and paste support to the graphical consoleBastien Bouclet
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-03-12GUI: Remove the ThemeItem draw queuesBastien Bouclet
Drawing nows happens directly when the Dialog or Widget draw methods are called. This makes it easy to debug why a particular low level draw method was called, by inspecting the call stack. This replaces the notion of "buffering" by two independant ways to control what is drawn and where: - The active layer is used to select whether the foreground or background part of the dialogs are rendered by the draw calls. - The active surface is used to select if the draw calls affect the back buffer or the screen. The foreground layer of the active dialog is drawn directly to the screen. Its background layer is drawn to the back buffer. This way widgets can restore the back buffer in order to update without having to redraw the dialog's background. Dialogs lower in the dialog stack are drawn entirely to the back buffer.
2018-01-27GUI: Remove Dialog::markAsDirty to expose full GUI redrawsBastien Bouclet
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2017-09-05GUI: Remove code that closes debugger if # or ~ keys are pressedPaul Gilbert
2017-08-06GUI: Mark some fall-through cases as intentionalBastien Bouclet
Comments explain how the num lock handling works before the fall-through cases.
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
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