aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/dialogs.cpp
AgeCommit message (Collapse)Author
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
2016-11-27SCUMM: Fix dialog initializationEugene Sandulenko
2016-07-01SCUMM: Use exact strings in stringtable, fixes bug #6886Ben Castricum
Similar (fix) to bug #6739
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-04-14JANITORIAL: Reduce GUI header dependenciesOri Avtalion
2016-04-10ALL: Split SMALL_SCREEN_DEVICE into GUI_ENABLE_KEYSDIALOG and ↵Eugene Sandulenko
GUI_ONLY_FULLSCREEN
2015-11-28SCUMM: Add safety checkEugene Sandulenko
2014-10-27SCUMM: Fix bug 6739 - Untranslated dialogsBen Castricum
2014-08-20SCUMM: Fix Bug #6711- Wrong quit message shown in Pajama Sam Lost and Found.Kirben
2014-02-18SCUMM: Make GPL headers consistent in themselves.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2011-12-26SCUMM: Add a difficulty selection dialog for Loom FM-Towns.Johannes Schickel
It is in spirit of the DOS version's selection dialog, but it has the description above the buttons instead of below it.
2011-09-08SCUMM: Made some static data const.Johannes Schickel
2011-08-20SCUMM: Fix compilation when translation support is disabled.Johannes Schickel
For this I added a convenience version of getLanguageYesNo, which works on the currently setup GUI translation language. All other code which requires this acan also use it instead of having to worry about the USE_TRANSLATION and thus having two code paths.
2011-08-20SCUMM: Fix typo in commentEugene Sandulenko
2011-08-20I18N: Added comments to some of obscure translatable stringsEugene Sandulenko
2011-08-20SCUMM: Added support for localization in Y/N dialogEugene Sandulenko
2011-08-20SCUMM: Added translation support for V1 dialogsEugene Sandulenko
2011-08-20SCUMM: Added translation support to subtitle settingsEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
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-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-10-25SCUMM: Move class Player_V2CMS to its own header fileMax Horn
svn-id: r53829
2010-09-13SCUMM: Fix for bug #3064655 "Restart with F8 key not working properly".Johannes Schickel
svn-id: r52715
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
Now it is possible to specify hotkeys in place for ButtonWidget and CheckboxWidget (the only widgets with hotkeys now). Use de-facto standard with putting hotkey between tildes (~). Like '~O~pen'. The tildes gets stripped before after hotkey is extracted. This is done for giving translators possibility to specify their own hotkeys. Old hotkeys defined at widget instance creation are left for leaving possibility to specify non-printable hotkeys such as Common::ASCII_ESCAPE. Translation files were updated respectively. svn-id: r49766
2010-05-26Replace SCUMM F5 dialog by GMM & add help button to GMMMax Horn
The new "Help" button in the GMM is currently only used by SCUMM. To use it, an engine currently needs to subclass MainMenuDialog. svn-id: r49249
2010-04-06GUI: Unify various definitions of kOKCmd and move it to namespace GUIMax Horn
svn-id: r48564
2010-04-06SCUMM: Make HelpDialog & ConfigDialog internalMax Horn
svn-id: r48562
2010-04-06Remove old & undocumented MSVC 6 workaroundMax Horn
svn-id: r48561
2010-03-11GUI: Remove GuiObject::getMillis()Max Horn
svn-id: r48241
2010-02-27Fix bug #2959947 - SPYFOX1: Saves don't work from menu.Travis Howell
svn-id: r48142
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-01-05Fix broken Scumm dialogs, which is a regression from r46947. (They used a ↵Johannes Schickel
dummy name, which didn't exist in the theme config and later on just calculated the size on their own...) svn-id: r47057
2009-08-20Switch SCUMM engine to use the SaveLoadChooser from gui/ instead of ↵Johannes Schickel
implementing its own, which resulted in code duplication. svn-id: r43552
2009-08-16Fix F5's save button in DOTT CD for me. Actually I was able to reproduce the ↵Johannes Schickel
issue before I wrote this code, after reverting it for more testing, I couldn't reproduce it anymore. Probably it was some random problem, at least this code should now assure the "Save" button's state is always matching the return value of ScummEngine::canSaveGameStateCurrently. svn-id: r43436
2009-08-16Fix bug #2838464 "SCUMM: GUI messages misaligned".Johannes Schickel
svn-id: r43431
2009-07-23Simplify the code to check whether loading or saving a game is possible.Travis Howell
svn-id: r42671
2009-07-22Fix bug #1745396: "MI: Saved game from the credits sequence fails to load".Eugene Sandulenko
Now we specifically disallow saves in room 0 for all v4+ games. Original has exactly this check in all versions, and such games are impossible to load. Still the problem is not resolved for v0-v3 and HE games. svn-id: r42664
2009-07-16This commit is just for DrMcCoy. (forgot to fix two usages of whitespaces ↵Johannes Schickel
instead of tabs for indentation -.-) svn-id: r42539
2009-07-16Formatting fixes.Johannes Schickel
svn-id: r42538
2009-07-16Fixed bug 2820514 ("Help dialog causes crash")Vicent Marti
svn-id: r42537
2009-02-23Must intialize _keysDialog to NULLLars Persson
svn-id: r38819
2009-02-12Fixed working Keys button in in game options dialogLars Persson
Fixed key mappings dialog layout svn-id: r36285
2009-01-10Fixed uninitialised variables in the SCUMM save/load dialog. The updateInfos()Torbjörn Andersson
function needs to know the dimensions of the dialog, so don't call it until after calling Dialog::reflowLayout(). svn-id: r35805
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648