Commit graph

3838 commits

Author SHA1 Message Date
egottlieb
f77e383d26 Building under OS X with command-line tools now works. 2010-08-03 23:41:57 -04:00
egottlieb
6295237d5f Compiling for cocoa now works. Does it run? We'll see. 2010-08-03 23:22:31 -04:00
egottlieb
57c8f6a466 Implemented shaped windows for Cocoa. Still need to see if they actually work. 2010-08-03 21:56:05 -04:00
dewyatt
aa7b525b35 Large commit with initial reading string support, TSF UILess code, etc. 2010-08-03 16:57:49 -04:00
dewyatt
12881b428c Added SDL_wcslcpy and SDL_wcslcat. 2010-08-03 16:52:10 -04:00
egottlieb
2d2a93ff5d Removed superfluous VS2010 build files. 2010-08-03 10:10:06 -04:00
egottlieb
8f1459d90c Got basic, pre-actually-writing-anything Cocoa to build. 2010-08-03 00:47:33 -04:00
Jim Grandpre
c219144751 Minimized functionality of gestureSDLTest. 2010-08-03 00:18:00 -04:00
Eli Gottlieb
34bbabf02e Why wasn't this in the repository? 2010-08-02 23:58:22 -04:00
Eli Gottlieb
c013c279ef Added SDL_cocoashape.h 2010-08-02 23:33:04 -04:00
Sunny Sachanandani
ad2351c699 Fixed the code to use the correct scaling transformation matrix with XRender. 2010-08-03 08:53:20 +05:30
Sunny Sachanandani
6a85ea7b52 Merge. 2010-08-03 08:05:53 +05:30
egottlieb
0a0b18c761 Added and re-added VS2010 solution files. 2010-08-02 22:20:13 -04:00
egottlieb
4caaaf9b10 Added VS2010 build files. 2010-08-02 21:43:08 -04:00
Sunny Sachanandani
0669fef25b Added some comments. 2010-08-02 17:14:09 +05:30
egottlieb
56ab3ca590 Worked on Windows implementation and the quad-trees. 2010-08-02 01:54:59 -04:00
Sunny Sachanandani
d96742b024 Fixed a huge bug with texture scaling. 2010-08-02 11:13:40 +05:30
Jim Grandpre
a4c4851398 Fixed some Gesture bugs 2010-08-02 00:14:53 -04:00
egottlieb
c33852e995 Added VS2010 tests solution file. 2010-08-01 23:27:22 -04:00
egottlieb
e44b848675 Added Windows build files for testshape. 2010-08-01 23:26:37 -04:00
egottlieb
7e4a59dccf Converted some project files to VS2010, adding new files. Backups were made. 2010-08-01 23:16:32 -04:00
egottlieb
2c1ceff2c4 Changed the file name to its correct, required one. 2010-08-01 23:07:59 -04:00
Eli Gottlieb
6c23f8c602 Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT. 2010-08-01 21:10:42 -04:00
Sam Lantinga
2a8820a2a9 Fixed sending motion and finger up events 2010-07-31 20:55:33 -07:00
Sam Lantinga
b7caec8ae2 Fixed various type and print format issues 2010-07-31 20:38:37 -07:00
jimtla
39ee818f98 Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working). 2010-07-31 20:02:54 +04:00
Eli Gottlieb
0e0ad58e1f Added Andreas's VS2010 patch for testshape. 2010-07-30 18:04:21 -04:00
jimtla
598471cf71 Added Iphone project. Iphone multi-touch is now functional. 2010-07-31 01:24:50 +04:00
jimtla
c9b9312be3 Upgraded touchId/fingerId to long. Changed position variables to floats. 2010-07-30 23:18:35 +04:00
Sam Lantinga
4d435bce47 When querying the display size for a fullscreen window, the display size is the size of the fullscreen video mode. 2010-07-30 00:55:00 -07:00
Sam Lantinga
7685a1892c Documentation updates 2010-07-29 20:24:05 -07:00
Eli Gottlieb
d5e0ecb0f0 Added Andreas's patch to fix my silly C++-style errors. 2010-07-29 22:57:39 -04:00
Eli Gottlieb
980298285c Added the header to the repo. Oops. 2010-07-29 12:49:17 -04:00
Jim Grandpre
6ed8759bcc Added better logging 2010-07-29 12:26:59 -04:00
Jim Grandpre
a4a0897a1d Prevented SDL_SendDown from sending on nonexistent touch devices. 2010-07-29 12:24:34 -04:00
Sam Lantinga
73db548db1 Fixed the code so we receive Cocoa touch events 2010-07-28 23:32:13 -07:00
Sam Lantinga
4f5f86477a For consistency, swapped line order 2010-07-28 22:24:13 -07:00
Sam Lantinga
dc048bcb73 Added dynamic loading of XFixes and XDamage on Mac OS X 2010-07-28 22:22:08 -07:00
Eli Gottlieb
9a3f51f3c5 Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32. 2010-07-28 23:35:24 -04:00
Sunny Sachanandani
dd3e79b2df Oops! 2010-07-28 15:35:18 +05:30
Sunny Sachanandani
09828c4620 Depend on XRender version 0.10 or above and XFixes version 2.0 or above. Moved these dependency checks into CheckXRender() and CheckXFixes(). 2010-07-28 15:33:28 +05:30
Sunny Sachanandani
1771e1fe4a Set the default XRender filter to "fast". testoverlay2 works now. 2010-07-28 15:13:16 +05:30
Sam Lantinga
a57835d4af Added missing pixel format 2010-07-28 01:32:39 -07:00
Sam Lantinga
0a74c700e4 Fixed compiling without XRender enabled 2010-07-28 01:14:48 -07:00
Sam Lantinga
a8d497359f Moved brace to the beginning of the line for the beginning of functions 2010-07-28 01:05:58 -07:00
Sam Lantinga
d8e7cebd11 Merged Sunny's XRender changes from SDL-gsoc2010_xrender 2010-07-28 00:54:23 -07:00
Sunny Sachanandani
b277b530a1 Add some comments. 2010-07-28 13:08:14 +05:30
Sunny Sachanandani
457eb7e007 Add support for texture modulation (both color and alpha). testsprite2 works now with --cyclealpha and --cyclecolor. 2010-07-28 11:56:17 +05:30
Sam Lantinga
8d14ec12cc Andrey A.
I made a video driver GAPI/RAW for WinCE (SDL-1.3).
RAW mode has a priority, and also, GAPI mode works with environment
"SDL_VIDEO_RENDERER=gapi" and for RAW mode "SDL_VIDEO_RENDERER=raw".

I checked the work on the screens of VGA, WVGA, QVGA, WQVGA, HVGA,
 + tested all modes with WindowsMobile Emulator.

Also, correctly draws the pointer position and the scale of the pointer
for VGA/WVGA modes,
correctly draws top left position for DM orientation screen, and
portrait/landscape/square geometry the screen also correct.

Also, I added a small fix for GDI fullscreen mode.

Patch for latest revision SDL-1.3 in an attachment.
Also added small path for mingw32ce build.
2010-07-27 21:31:28 -07:00
Paul Hunkin
9c7acc6623 More joystick stuff 2010-07-27 21:58:18 +02:00