egottlieb
b72231e508
Create all shaped windows at -1000,-1000 and save the real coordinates.
2010-08-17 01:11:11 -04:00
Paul Hunkin
ab688d00e3
Cleanups.
...
- Moved to 'project' instead of 'testproject'
- Removed extraneous .c files
- Removed the android_libs folder (that was against the NDK agreement anyway)
2010-08-17 15:35:56 +12:00
egottlieb
18dce59eb7
Recoded Cocoa code that got erased by... failure to commit? Merge? Eh.
2010-08-16 14:01:00 -04:00
egottlieb
c510c4d902
Moved the +1 to mostly eliminate the visual artifact.
2010-08-16 10:48:54 -04:00
egottlieb
781d130602
Raised binarization cutoff to eliminate alpha-blending of trollface.
2010-08-16 09:55:35 -04:00
egottlieb
9f396e2964
Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end.
2010-08-16 01:17:19 -04:00
Eli Gottlieb
80d2377e78
Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations?
2010-08-15 23:57:50 -04:00
egottlieb
b109f61935
Removed useless debugging code.
2010-08-15 22:03:38 -04:00
Eli Gottlieb
61aae3b891
Added last test shape. Because.
2010-08-15 21:46:46 -04:00
egottlieb
affaf98f34
Added hiding-as-positioning trick and finally fixed flags.
2010-08-15 21:46:04 -04:00
Eli Gottlieb
b3840496be
Changed flags and positioning (for the fake-hiding) as Andreas recommended.
2010-08-15 18:52:57 -04:00
Jim Grandpre
794c5cb3ee
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00
egottlieb
6d46437524
Mostly seem to have fixed SDL_CalculateShapeTree. Mostly. There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree().
...
Oh well, back into the salt mine.
2010-08-14 20:29:51 -04:00
egottlieb
4e4cb86ffe
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
2010-08-14 16:14:36 -04:00
Paul Hunkin
beeccf04c7
Added initial README.android
2010-08-14 16:17:17 +12:00
Jim Grandpre
68b3cfb42f
Fixed bugs related to keyboard handling in gestureSDLTest. Fixed gesture code (dynamic memory allocation). Cleaned up gesture and test code.
2010-08-13 23:08:32 -04:00
Paul Hunkin
b2104a9057
Working on the sound system
2010-08-14 12:35:21 +12:00
Sam Lantinga
c26da073d3
Fixed so the origin of the touch events is the upper left.
2010-08-13 17:05:06 -07:00
Eli Gottlieb
0a86be6abb
Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
2010-08-12 18:17:15 -04:00
Jjgod Jiang
43cd4e54ac
Fix for deleting the last uncommit character
2010-08-12 16:00:47 +02:00
Sam Lantinga
819cc95139
Couriersud to Sam
...
Hi Sam,
20100815_1.diff contains updates for the directfb driver:
- more documentation, mainly on software OpenGL in README.directfb
- Revised error handling leading to leaner code
- Improved/fixed OpenGL handling of multiple contexts.
- Made the built-in simple window manager handle OpenGL windows.
- Rewrote pixelformat mapping - this was quite ugly before.
Well, all software GL, but working :-)
2010-08-16 09:04:55 -07:00
Sam Lantinga
f0de16c63e
Fixed documentation error
2010-08-14 12:28:43 -07:00
Sam Lantinga
dfd7489f5b
Updated with the latest version of glext.h
2010-08-14 12:22:06 -07:00
egottlieb
e9b801a764
Fixing variable naming style.
2010-08-10 16:30:53 -04:00
Eli Gottlieb
25775cdb23
Fixed a bug in X11 shaping that refused to use color-key mode.
2010-08-10 16:10:26 -04:00
Eli Gottlieb
5f2c8902e0
Fixing bugs introduced into X11 shaping implementation by merge.
2010-08-10 15:45:59 -04:00
egottlieb
b6eeb0d250
Switched over to poly-polygon region building and shape-tree traversal for Win32.
2010-08-10 15:39:46 -04:00
Eli Gottlieb
f294cf6a4c
Fixed formatting of SDL_shape.c post-merge again.
2010-08-09 20:32:15 -04:00
Eli Gottlieb
4e4cf1cebe
Merged branches again.
2010-08-09 20:29:21 -04:00
Eli Gottlieb
f4b4b47ab1
Fixed overwriting of SDL_shape.c in merge.
2010-08-09 20:27:45 -04:00
egottlieb
1b9202537c
Updated shapes folder.
2010-08-09 16:26:45 -04:00
Eli Gottlieb
56d94ad5b3
Merging branches. Will begin correcting mistakes introduced by merging.
2010-08-09 15:41:33 -04:00
Eli Gottlieb
30693e9160
Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation.
2010-08-09 15:37:20 -04:00
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