aboutsummaryrefslogtreecommitdiff
path: root/gui/console.h
AgeCommit message (Collapse)Author
2018-03-28GUI: Added override specifiersEugene Sandulenko
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.
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-06-03GUI: Fix some commentsMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-16GUI: Push down some header (inter)dependenciesMax Horn
svn-id: r54267
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-01GUI: Rename ConsolDialog methods (v)printf, putcharMax Horn
svn-id: r54006
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
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054
2009-05-11Turned fixed-size lists of debugger/console commands and variables into more ↵Max Horn
flexible data structures svn-id: r40458
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-06-30Changed GUI system to use Common::KeyState stateMax Horn
svn-id: r27786
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-09Removing some unnecessary #includesMax Horn
svn-id: r26044
2006-09-16Added GUI::ConsoleDialoggetCharsPerLine() method, and added a big FIXME ↵Max Horn
comment to gui/console.h svn-id: r23892
2006-09-16Overhaul of the debugger codeMax Horn
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker restrictions) * Change the base Debugger class to *not* be a template class anymore; instead, a thin (template based) wrapper class is used to hook up debugger commands * Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single version of each in GUI::Debugger * New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries the console to determine when to wrap * Debugger::preEnter and postEnter aren't pure virtual anymore svn-id: r23890
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-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
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-26Properly process screen change event in consoleEugene Sandulenko
svn-id: r22643
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-10-08Use font managerChris Apers
svn-id: r18964
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-13Cache the blended background in a surface, so that the blending only needsTorbjörn Andersson
to be made once, instead of whenever the console is redrawn. (This is the same trick as the About dialog uses.) It should speed up the drawing quite a bit, though it's not particularly noticeable on the computer I'm using at the moment, so I can't say for sure. svn-id: r18540
2005-06-02The GUI has reached the point where I think it's safe to begin removing theTorbjörn Andersson
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING, _scaleFactor and _scaleEnable. Also removed drawBitmap() since we no longer use bitmaps for widget decorations. svn-id: r18310
2005-04-17Use variable width scrollbar in the console dialogMax Horn
svn-id: r17652
2005-04-17Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scalingMax Horn
svn-id: r17646
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-12clean up slide codeMax Horn
svn-id: r16040
2004-11-27Add slide animation effect to the consoleMax Horn
svn-id: r15903
2004-05-23Applied patch #956989 ("Varous console fixes"). Fingolfin said it lookedTorbjörn Andersson
ok, and as far as I can tell it does fix bugs #941811 and #941814, just as it promised. svn-id: r13849
2004-05-05Cleaned up console code a bit - wrap around logic needs workMax Horn
svn-id: r13793
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-28cleanupMax Horn
svn-id: r11416
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-26cleanupMax Horn
svn-id: r10982
2003-09-20make console height/width based on a float percentage of the overlay size -> ↵Max Horn
the overlay isn't so tiny anymore in COMI svn-id: r10329
2003-05-03Patch #731613: debugger tab-completion (thanks, Willem!)Max Horn
svn-id: r7293
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup .... LastPaweł Kołodziejski
svn-id: r6721