Sunny Sachanandani
79c2953f54
Documentation and code safety updates. (x11 renderer)
2010-08-08 19:26:30 +05:30
Jim Grandpre
ef04c29fdd
Removed some debug prints.
2010-08-07 11:35:24 -04:00
Jim Grandpre
9e84eb9fa5
Fixed Dollar Recognition.
2010-08-07 11:32:11 -04:00
egottlieb
cd2d456d46
Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree(). Still not actually showing anything on Windows, though there's no crashes and everything compiles fine. Bugger.
2010-08-06 20:22:14 -04:00
egottlieb
9e01a7bbb1
Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
2010-08-06 13:52:38 -04:00
Jim Grandpre
f15f76c9ad
Re-enabled dollar gesture
2010-08-06 01:55:38 -04:00
egottlieb
983d7b8fd6
Finally figured out how to use autorelease pools.
2010-08-05 21:27:32 -04:00
egottlieb
c95526b7ce
Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
2010-08-05 18:58:45 -04:00
egottlieb
08c64cf886
Shaped windows for Cocoa build and testshape runs, but the actual shaping doesn't work. Something, however, is definitely happening, because we get the backgrounds drawn in two different colors.
2010-08-05 01:03:24 -04:00
egottlieb
91e4d53502
Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
2010-08-05 00:53:38 -04:00
Jim Grandpre
bcd4b4df6f
Fixed gestureMulti. Disabled dollar gesture temporarily.
2010-08-04 23:17:30 -04:00
dewyatt
d980c084c7
Updated to fit SDL style a little more.
2010-08-04 23:17:12 -04:00
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
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
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
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
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
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
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
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
ef47472280
- Cleaned up a bunch of code
...
- Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be
- More work on the sound system. But it still crashes pretty horribly, not sure why yet.
2010-07-27 21:21:24 +02:00