Sam Lantinga
2582c3aa59
Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
2014-06-23 11:06:50 -07:00
Sam Lantinga
fee876047b
commit 9e211e646f9d51dc1372c9f3c8f47a78caf4f2a5
...
Author: Sam Clegg <sbc@chromium.org>
Date: Fri Jun 20 12:52:11 2014
Fix win32 build which was failing due to missing PRIs64.
This change adds definitions for the C99 PRIs16 and PRIu64
which are missing from <stdint.h> on at last win32 and
possibly other platforms.
These already existed in testgesture.c so I removed them
from there also.
2014-06-21 11:24:06 -07:00
Sam Lantinga
cbd1d2988e
Fixed bug 2475 - Incorrect SDL_Log() format specifiers in test/testgesture.c
...
rettichschnidi
The floats should not be interpreted as integers. Patch against the current head attached.
2014-04-17 22:40:57 -07:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Philipp Wiesemann
badb94560e
Changed parameter name for gesture template save functions from "src" to "dst".
2013-11-02 12:07:21 +01:00
Gabriel Jacobo
8515791f86
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
871473e032
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Gabriel Jacobo
f93c78450b
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Andreas Schiffler
7582a71d05
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
2013-08-14 23:30:10 -07:00
Sam Lantinga
7eff345ecb
Updated the copyright year for the test programs
2013-07-25 09:51:21 -07:00
Philipp Wiesemann
9b5b5539ee
Fixed compiler warnings in test program by using wrapped functions.
2013-07-14 19:56:22 +02:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
1916ec2de3
Updated touch API
...
* Normalized touch coordinates as floats in the 0...1 range
* Removed unused touchpad concepts from the API
* Added API functions to get active touch devices and current finger state
2013-03-03 01:01:33 -08:00
Sam Lantinga
0f0ebd3ffe
Fixed bug 1672 - Found: seg-fault with testgesture
...
automata 2012-12-23 22:05:21 PST
An incorrect guard resulted in segmentation faults with the
SDL/test/testgesture executable. The attached patch fixes this issue, and also
allows the program's window to properly handle resize events.
Apply the attached patch to .../SDL/test/testgesture.c
2012-12-31 14:08:43 -08:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
5dcb9d6a2a
Removed newlines from log messages
...
Slightly speeded up event history processing each frame
2011-03-09 15:51:51 -08:00
Sam Lantinga
f2f0596d35
Use SDL_Log() so the messages show up on iPhone and Android
2011-03-09 15:08:41 -08:00
Sam Lantinga
ee32f9fe9d
Make the globals static so they're initialized to zero.
2011-03-09 14:47:37 -08:00
Sam Lantinga
848802dbb4
Fixed testgesture to work on the iPhone
2011-03-09 14:46:09 -08:00
Sam Lantinga
ec39fffe84
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
Sam Lantinga
08ad787807
Fixed bug #925
...
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
62570ee8ec
Fixed crash if the gesture coordinates go negative - FIXME: Should this protection be at a lower level?
2010-11-30 18:08:01 -08:00
Sam Lantinga
deaf19e6c2
Added a Visual Studio project for testgesture
2010-11-30 12:38:46 -08:00
Jim Grandpre
e9d12a479a
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00