Commit Graph

3659 Commits

Author SHA1 Message Date
Sam Lantinga
7a7d43524f Added atan implementation from uClibc 2010-08-29 16:51:48 -07:00
Sam Lantinga
62a1d95e50 Whoops, return "" even if the window is invalid. 2010-08-29 16:28:04 -07:00
Sam Lantinga
92a7dec92f The title is stored internally as NULL if it's empty, and returned as "" 2010-08-29 16:26:35 -07:00
Sam Lantinga
317cd0515f Added atan2 implementation from uClibc 2010-08-29 16:05:34 -07:00
Sam Lantinga
b66ae96de5 Documentation clarification 2010-08-29 15:26:12 -07:00
Sam Lantinga
d343754786 Fixed compiling with Visual Studio 2008 2010-08-29 14:22:22 -07:00
Sam Lantinga
39db467ca6 While you can actually write to the error buffer, conceptually it's read-only. 2010-08-29 12:00:09 -07:00
Sam Lantinga
f0480c0501 Added a typedef for the thread function to simplify documentation 2010-08-28 22:56:52 -07:00
Andreas Schiffler
b0d0e9f2f0 Update VS2010 project to add new files; update new files so code builds on Win32/Win64 2010-08-23 23:44:28 -07:00
Sam Lantinga
3c0f319cce Fixed documentation typo 2010-08-22 17:19:10 -07:00
Sam Lantinga
993db1a6aa Fixed obsolete documentation 2010-08-22 15:34:28 -07:00
Sam Lantinga
b7c5d88e6a Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows 2010-08-22 13:45:56 -07:00
Sam Lantinga
6ee211b35d Merged no changes? 2010-08-22 12:43:27 -07:00
Sam Lantinga
f86560f17a Removed Daniel's test code 2010-08-22 12:39:56 -07:00
Sam Lantinga
d4d88abae0 Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME 2010-08-22 12:39:27 -07:00
Sam Lantinga
4afe9b8f26 Cleanup from the Android commit 2010-08-22 12:35:34 -07:00
Sam Lantinga
4df9989dd4 Removed spurious carriage returns 2010-08-22 12:34:31 -07:00
Sam Lantinga
ac80a80f6a Merged Paul's Google Summer of Code work from SDL-gsoc2010_android 2010-08-22 12:23:55 -07:00
Sam Lantinga
7f6ad8e572 Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture 2010-08-22 12:07:55 -07:00
Sam Lantinga
dd3bf43610 Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
Sam Lantinga
fe0cdcd582 According to Jim, the touchTest directory is no longer necessary. 2010-08-22 12:00:02 -07:00
Sam Lantinga
45fff76a4f Don't need to use strlen() to determine if there's text.
Use the SDL safe strcpy() function
2010-08-22 11:56:07 -07:00
Jim Grandpre
19cbdaa0c7 Fixed hgIgnore to ignore test/gesturetest 2010-08-19 13:49:11 -04:00
Jim Grandpre
3b876a9b92 Updated README's 2010-08-19 13:47:12 -04:00
Sam Lantinga
b03ba1321d Removed obsolete test project 2010-08-19 00:21:20 -07:00
Paul Hunkin
faaae689b9 Updated the readme 2010-08-17 17:28:14 +12:00
egottlieb
6d0fb58d50 Create all shaped windows at -1000,-1000 and save the real coordinates. 2010-08-17 01:11:11 -04:00
Paul Hunkin
fe9cff081b 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
b6a4181ee9 Recoded Cocoa code that got erased by... failure to commit? Merge? Eh. 2010-08-16 14:01:00 -04:00
egottlieb
b09f1ba43d Moved the +1 to mostly eliminate the visual artifact. 2010-08-16 10:48:54 -04:00
egottlieb
394cc7bd48 Raised binarization cutoff to eliminate alpha-blending of trollface. 2010-08-16 09:55:35 -04:00
egottlieb
91ba94a87c 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
ce14844102 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
2c4b1f57f7 Removed useless debugging code. 2010-08-15 22:03:38 -04:00
Eli Gottlieb
0292ed62d8 Added last test shape. Because. 2010-08-15 21:46:46 -04:00
egottlieb
d7e4ccead0 Added hiding-as-positioning trick and finally fixed flags. 2010-08-15 21:46:04 -04:00
Eli Gottlieb
4246295677 Changed flags and positioning (for the fake-hiding) as Andreas recommended. 2010-08-15 18:52:57 -04:00
Jim Grandpre
e9d12a479a Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture 2010-08-15 00:36:28 -04:00
egottlieb
502e27f1c8 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
1dac65bd3a 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
412a885716 Added initial README.android 2010-08-14 16:17:17 +12:00
Jim Grandpre
bb00fc114d 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
2384244845 Working on the sound system 2010-08-14 12:35:21 +12:00
Sam Lantinga
6b5ac4fefa Fixed so the origin of the touch events is the upper left. 2010-08-13 17:05:06 -07:00
Eli Gottlieb
c02cbc3cbc 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
885a15db6b Fix for deleting the last uncommit character 2010-08-12 16:00:47 +02:00
Sam Lantinga
40a17f8980 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
0f67a475f9 Fixed documentation error 2010-08-14 12:28:43 -07:00
Sam Lantinga
8ed311fcbf Updated with the latest version of glext.h 2010-08-14 12:22:06 -07:00
egottlieb
15e6500cbb Fixing variable naming style. 2010-08-10 16:30:53 -04:00