aboutsummaryrefslogtreecommitdiff
path: root/backends/events/default
AgeCommit message (Collapse)Author
2008-07-24KeymapManager - implemented loading/saving of keymapsStephen Kennedy
- Refactoring of code to map a key to a UserAction - now we call a method on UserAction to do it (and it then tells the Keymap class) - General cleanup of code svn-id: r33262
2008-07-23Most of Keymapper class completeStephen Kennedy
DefaultEventManager now initialises Keymapper and passes key press events to it svn-id: r33227
2008-07-21Changed pushEvent to use a const& argumentStephen Kennedy
svn-id: r33175
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-15Reverted some incorrect changes and fixed sound settings issues for LURE. ↵Christopher Page
Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM. svn-id: r33081
2008-07-13SKY works with the new GMM implementation, also updated gui/newgui.cpp and ↵Christopher Page
prevented pushEvent from pushing more than one EVENT_QUIT into the artificialEventQueue svn-id: r33041
2008-07-12Added comments in virtual-keyboard-parser.h describing the file format. ↵Stephen Kennedy
Added a delay functionality to the delivery of artificial events in DefaultEventManager, to get round events being ignored when delivered consecutively. svn-id: r33012
2008-07-11Better handling of virtual keyboard and gui being displayed at the same ↵Stephen Kennedy
time. VK now also uses its own cursor. svn-id: r33008
2008-07-11Queen works with the new GMM implementation, and made a correction to a ↵Christopher Page
change in parallaction svn-id: r32999
2008-07-09Added pushEvent to EventManager (from cpage88's branch) and changed ↵Stephen Kennedy
VirtualKeyboard so that it uses this method to feed key presses its resulting key press events. svn-id: r32977
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-07Implemented Common::EventManager::pushEvent() to insert fake events into the ↵Christopher Page
event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow. svn-id: r32952
2008-07-07- changed VirtualKeyboard classes to Common namespaceStephen Kennedy
- updated XMLParser from Tanoku's branch svn-id: r32943
2008-07-07- renaming of filesStephen Kennedy
svn-id: r32942
2008-07-07- moved VirtualKeyboard files into backends/common directoryStephen Kennedy
svn-id: r32941
2008-07-07WIP: VirtualKeyboard updates:Stephen Kennedy
- got keyboard bitmap displaying (no transparency as yet) - simple event loop for VK to capture mouse clicks done (and untested code to process the clicks) - pollEvent() method to deliver the virtual key press events to EventManager svn-id: r32939
2008-07-02Changes to implementation of the GMMChristopher Page
svn-id: r32872
2008-06-26Quit or RTL from the main menu now triggers an EVENT_QUIT in ↵Christopher Page
DefaultEventManager::pollEvent() svn-id: r32813
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-02-24Remove double inclusion of config-manager.hFilippos Karapetis
svn-id: r30951
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-09-24Silence warning.Johannes Schickel
svn-id: r29087
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-01Only invoke g_engine->pauseEngine if g_engine != NULLMax Horn
svn-id: r27831
2007-06-30Added Engine::pauseEngine method (allows outside code, like the backend, to ↵Max Horn
pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine svn-id: r27797
2007-06-30Added global support for the (so far undocumented) confirm_exit config keyMax Horn
svn-id: r27788
2007-06-21Modified version of patch #1740493 (EVENTS: Event Key Codes)Max Horn
svn-id: r27592
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
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17cleanupMax Horn
svn-id: r26169
2007-03-17oopsMax Horn
svn-id: r26157
2007-03-17Implemented a simple EventManager classMax Horn
svn-id: r26154