Johannes Schickel
c4317a8da1
SDL: Fake key events for unassociated TEXTINPUT events.
2015-03-05 20:08:35 +01:00
Johannes Schickel
26fb7b2c8f
SDL: Remove TEXTINPUT events we associate with KEYDOWN.
2015-03-05 20:08:34 +01:00
Johannes Schickel
627d766325
SDL: Add basic abstraction class for the SDL window.
2015-02-16 01:03:29 +01:00
Johannes Schickel
8530997fff
SDL: Add experimental support for SDL2.
...
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25 20:23:25 +01:00
Johannes Schickel
3a2db0135d
SDL: Refactor WM specific functionality into SdlGraphicsManager.
2015-01-25 18:57:38 +01:00
Joel Teichroeb
ee9b60676a
SDL: Warn if the selected joystick does not exist
2015-01-04 09:39:55 -08:00
Johannes Schickel
63304ee9ec
SDL: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
Johannes Schickel
53f9c0d69b
SDL: Send EVENT_SCREEN_CHANGED after receiving SDL_VIDEORESIZE when necessary.
...
This fixes some ugly crashes when resizing the window in OpenGL mode.
2013-10-19 22:17:42 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
ec0b4f7b96
SDL: Allow for the meta key flag to be used
2012-04-09 11:19:25 -04:00
Johannes Schickel
5ea975ad0c
SDL: Fix indentation.
2011-10-01 15:53:15 +02:00
Matthew Hoops
622e8d9da6
BACKENDS: Set alt+f4 to be used for quitting on Windows
2011-09-30 23:47:36 -04:00
Johannes Schickel
04ab0e58b4
SDL: Take advantage of SdlGraphicsManager.
...
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.
Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.
Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Bastien Bouclet
2daf69267d
SDL: Don't rely on SDL keycodes and OSystem keycodes being the same.
...
SDL 1.3 shuffles keycodes around ...
2011-08-06 15:52:02 +02:00
Bastien Bouclet
872d672c33
SDL: Allow building with current SDL 1.3hg
2011-06-22 19:44:46 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Johannes Schickel
2067bec18e
SDL: Remove left over traces from the time the SdlEventSource subclassed DefaultEventManager.
2011-06-19 19:35:27 +02:00
Max Horn
39076ef972
BUILD: Rename UNIX #define to POSIX
2011-05-25 13:23:03 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
59e77ed667
ALL: Mark printf and various other symbols as forbidden
...
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!
Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
2011-05-02 16:31:31 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
57c932abdd
BACKENDS: Reduce header interdependencies
...
svn-id: r55808
2011-02-07 17:53:15 +00:00
Filippos Karapetis
2126aa588f
SDL: Don't send key up events for special keys that are handled by handleKeyDown()
...
Fixes bug #3166522 at the SDL level (fix 1/2)
svn-id: r55567
2011-01-27 14:17:59 +00:00
Max Horn
4bed2b3ff5
SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
...
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
df05ed1a46
BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
...
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
4e0e406181
SDL: Move #include <SDL.h> into a special wrapper file
...
svn-id: r54572
2010-11-29 16:16:50 +00:00
Max Horn
364382cf9f
SDL: Change refs to SdlEventManager to SdlEventSource
...
svn-id: r54544
2010-11-28 18:39:04 +00:00
Max Horn
7760077cf5
Merging the gsoc2010-opengl branch
...
svn-id: r54518
2010-11-28 14:56:31 +00:00
Johannes Schickel
1769b520aa
OPENGL: Cleanup.
...
svn-id: r53434
2010-10-13 15:42:33 +00:00
Johannes Schickel
a2b96a2516
OPENGL: Replace SdlEventManager by SdlEventSource.
...
Formerly SdlEventManager was a subclass of DefaultEventManager but did not
really have anything in common with the idea of our EventManager interface.
Now I made a new object SdlEventSource which only subclasses EventSource
and which is responsible for obtaining events from SDL (and processing them).
svn-id: r53433
2010-10-13 15:42:16 +00:00
Alejandro Marzini
58d256c15e
SDL: Make use of SDL_BACKEND instead of platform specific defines.
...
svn-id: r52029
2010-08-12 06:30:26 +00:00
Lars Persson
2e55bcf383
SYMBIAN platform. Correct building of SDL refacturing for Symbian.
...
svn-id: r51587
2010-08-01 19:40:46 +00:00
Alejandro Marzini
38b4098f67
SDL: Hack to handle special SDL events.
...
svn-id: r51015
2010-07-19 05:33:58 +00:00
Alejandro Marzini
f53028d4a2
Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager.
...
svn-id: r50900
2010-07-15 01:21:20 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +00:00
Alejandro Marzini
4dca7c7e02
Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions.
...
svn-id: r50796
2010-07-11 04:32:24 +00:00
Alejandro Marzini
fda9416cc8
Cleanup and documentation.
...
svn-id: r50609
2010-07-03 00:13:45 +00:00
Alejandro Marzini
c174d5327b
Modularized GP2XWIZ backend.
...
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
fd77e4b09c
Modularized Linuxmoto port.
...
svn-id: r50474
2010-06-29 01:08:36 +00:00
Alejandro Marzini
d04a2a266d
Modularized Samsung TV port.
...
svn-id: r50258
2010-06-25 05:02:40 +00:00
Alejandro Marzini
99c0f82608
Fixed some disabled code that was with problems after modularization.
...
svn-id: r49899
2010-06-16 04:34:44 +00:00
Alejandro Marzini
360b82858c
Added SdlEventManager.
...
svn-id: r49635
2010-06-13 20:31:25 +00:00