aboutsummaryrefslogtreecommitdiff
path: root/common/events.h
AgeCommit message (Collapse)Author
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-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-02Changes to implementation of the GMMChristopher Page
svn-id: r32872
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-04-11Correct documentationJordi Vilalta Prat
svn-id: r31486
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-12-29Added events for the middle mouse button - EVENT_MBUTTONDOWN and EVENT_MBUTTONUPPaul Gilbert
svn-id: r30068
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-06-22Moved keyboard stuff to a separate header fileMax Horn
svn-id: r27640
2007-06-22Added constructor & reset() method to Common::KeyStateMax Horn
svn-id: r27634
2007-06-22Promoted the struct inside Common::Event which captures the keystate to a ↵Max Horn
full-blown independent struct named KeyState (makes it easier for engines to capture the full keystate, instead of only the keycode or only the ascii/unicode value) svn-id: r27626
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Added Common::KEYCODE_INALIDMax Horn
svn-id: r27622
2007-06-22Added 'ASCII_' enum values for certain standard keys, and update commentMax Horn
svn-id: r27619
2007-06-22Replace tabs by spaces in keycode enum, to ensure proper indentionMax Horn
svn-id: r27618
2007-06-22Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* ↵Max Horn
constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/ svn-id: r27616
2007-06-22Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)Max Horn
svn-id: r27612
2007-06-21Modified version of patch #1740493 (EVENTS: Event Key Codes)Max Horn
svn-id: r27592
2007-06-03Adding the new kFeatureDisableKeyFiltering OSystem feature.Kostas Nakos
This feature is used by agi's prediction dialog and is a hint to the backend to temporarily switch off any keyboard mapping, used in devices with limited keyboard input. Also, supply some comments to the newly added event & feature. svn-id: r27069
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-05-29added EVENT_PREDICTIVE_DIALOG event to bring up the predictive dialog on ↵Kostas Nakos
demand by the backends svn-id: r27005
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-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-03-17Implemented a simple EventManager classMax Horn
svn-id: r26154