Commit Graph

3350 Commits

Author SHA1 Message Date
jimtla
edc78a1b7e Added Iphone project. Iphone multi-touch is now functional. 2010-07-31 01:24:50 +04:00
jimtla
214939549f Upgraded touchId/fingerId to long. Changed position variables to floats. 2010-07-30 23:18:35 +04:00
Jim Grandpre
57e38a4e3e Added better logging 2010-07-29 12:26:59 -04:00
Jim Grandpre
26f08cee05 Prevented SDL_SendDown from sending on nonexistent touch devices. 2010-07-29 12:24:34 -04:00
Sam Lantinga
c36fe02431 Fixed the code so we receive Cocoa touch events 2010-07-28 23:32:13 -07:00
jimtla
9a936a4317 Added cocoatouch.h 2010-07-27 18:14:09 +04:00
jimtla
e1dbf710f4 Finished (untested) OS X code. 2010-07-27 05:21:24 +04:00
jimtla
2826ce67af Added preliminary touch code to SDL_cocoakeyboard.m 2010-07-24 22:28:38 +04:00
jimtla
01ca66c30f Fixed x11 compile bugs. 2010-07-22 08:12:28 +04:00
Jim Grandpre
f6ee9250d5 Merged changes 2010-07-17 23:16:57 -04:00
Jim Grandpre
87a940b759 Fixed Warning related to SDL_GestureAddTouch 2010-07-17 23:16:23 -04:00
Sam Lantinga
41b1e698ff Revision 3163 added the following formats for OpenGL ES:
SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGR565
2010-07-16 22:16:05 -07:00
Jim Grandpre
9a0295a962 Merged changes 2010-07-16 20:53:44 -04:00
Jim Grandpre
d18ef30119 Bug fixes, now using RWops instead of File pointers. 2010-07-16 20:48:43 -04:00
Sam Lantinga
1e201db3ce Started trying to build gesture code for iPhone 2010-07-15 06:51:16 -07:00
Jim Grandpre
4b707013d1 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS. 2010-07-13 18:31:09 -04:00
Sam Lantinga
6f2000e6d2 Merged changes from the main SDL codebase 2010-07-12 21:09:23 -07:00
Jim Grandpre
035486360f Added Iphone support (untested) 2010-07-12 22:03:25 -04:00
Sam Lantinga
b07db7e9c3 Implemented X11 system window manager info for SDL 1.3. It's simple. Really. 2010-07-12 01:20:57 -07:00
Sam Lantinga
e026e96e95 Made it possible to switch the text format in one place 2010-07-12 00:49:26 -07:00
Sam Lantinga
b758d7ddd5 Added X11 clipboard support.
As far as I know there isn't any real way to tell when the clipboard contents have changed without polling them, so I didn't implement the clipboard update event on X11.
2010-07-12 00:36:55 -07:00
Sam Lantinga
8c81b4fdae Fixed compile warnings 2010-07-12 00:35:24 -07:00
Sam Lantinga
6540320beb Fixed compile warnings 2010-07-12 00:35:14 -07:00
Sam Lantinga
c9dcaef79e Fixed compiler warning 2010-07-12 00:33:24 -07:00
Jim Grandpre
9e7603a6ba Added some files I had previosuly missed 2010-07-11 01:15:39 -04:00
Jim Grandpre
bdbb130028 Moved $1 Gestures into the SDL Library 2010-07-09 00:50:40 -07:00
Sam Lantinga
b833ea1351 Amazingly the Windows code is almost identical to the Mac OS X code. :) 2010-07-08 23:07:34 -07:00
Sam Lantinga
ddf0465549 Added an event when the clipboard is updated, triggered after the window gains the keyboard focus. 2010-07-08 22:54:03 -07:00
Sam Lantinga
8a86c556fd Made the new public headers public 2010-07-08 06:21:48 -07:00
Sam Lantinga
f8e47b7402 Updated Xcode project files for clipboard API
Fixed generation of SDL_revision.h when hg is in the path set up in .bash_profile
2010-07-08 06:16:27 -07:00
Sam Lantinga
ca5e2aca83 Added Windows clipboard support 2010-07-08 05:43:34 -07:00
Sam Lantinga
01e31dbb30 Added Mac OS X implementation of clipboard support 2010-07-08 00:35:58 -07:00
Sam Lantinga
fe0b80fa05 I missed the Objective C files when updating the copyright date... 2010-07-08 00:03:39 -07:00
Sam Lantinga
4ceea8d275 Added simple clipboard test 2010-07-08 00:00:07 -07:00
Sam Lantinga
8697bbff30 Need to add new headers to Makefile.in 2010-07-07 23:59:20 -07:00
Sam Lantinga
e4fe1bb40f Simplified clipboard API for sanity's sake.
A complete clipboard implementation would support multiple formats that could be queried at runtime, events for when the clipboard contents changed, support for HTML, images, etc.  We're not going that crazy, at least for now. :)
2010-07-07 23:54:03 -07:00
Sam Lantinga
2612b4c651 Whoops, updated the copyright date 2010-07-07 23:26:07 -07:00
Sam Lantinga
261b8d8865 First pass at clipboard API, still very much in progress 2010-07-07 23:24:04 -07:00
Sam Lantinga
a517ddf4a5 Added SDL_FOURCC() 2010-07-07 21:36:09 -07:00
Sam Lantinga
46bbcfe087 Turn on blending if we're converting from a surface with colorkey enabled 2010-07-07 21:35:44 -07:00
Sam Lantinga
e983e5bb65 Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
Updated iPhone demos (which build and run again)
2010-07-07 18:58:51 -07:00
Jim Grandpre
9d8bd2bcf5 Moved Multi finger gesture recognition into the library. 2010-07-07 04:13:08 -07:00
Sam Lantinga
a7b73120cb The arguments to main() should be NULL terminated (SuS v3 compliant) 2010-07-06 22:26:03 -07:00
Sam Lantinga
c216be7072 Re-implemented single mouse touches on the iPhone/iPad 2010-07-06 22:08:19 -07:00
Sam Lantinga
2be0429676 Removed obsolete header file 2010-07-06 10:58:23 -07:00
Sam Lantinga
221b03a7cd Fixed fullscreen window position
Fixed position calculation for centered windows
2010-07-06 08:22:36 -07:00
Jim Grandpre
1573d0bde8 Added multi-finger gestures 2010-07-06 02:05:27 -07:00
Sam Lantinga
77b65aa14a Merged changes from default 2010-07-05 22:48:35 -07:00
Sam Lantinga
a4b79afc6a Cleaned up the mouse window focus handling: you always pass in the relative window when sending a mouse event.
Fixed a bug where only mouse wheel up was sent on Mac OS X
Fixed a bug where mouse window focus was getting hosed by the fullscreen mouse code on Mac OS X
2010-07-05 22:48:13 -07:00
Sam Lantinga
a2dd563d6c Removed obsolete test program. Ryan may resurrect it when the new multi-mouse code is implemented. 2010-07-05 22:45:45 -07:00