Commit graph

7 commits

Author SHA1 Message Date
Sam Lantinga
5759a8f1db Fixed issues with the touch coordinates in landscape mode.
In landscape mode the frame stays the same, and the transform property is modified with the appropriate rotation.
The touch coordinates are rotated by the transform, so if I want to normalize them by the frame rect, I have to transform the frame rect first.
2011-11-15 01:38:27 -05:00
Sam Lantinga
795a68e8a8 Work in progress fixing support for rotated video modes 2011-11-10 03:48:59 -05:00
Sam Lantinga
ad2a21d404 Lots of fixes importing SDL source wholesale into a new iOS project
--HG--
rename : src/libm/math.h => src/libm/math_libm.h
2011-10-31 05:56:58 -04:00
Kees Bakker
c33ade3bc3 Make SDL_uikitviewcontroller.window a real Objective-C property and synthesize 2011-09-28 21:42:02 +02:00
Kees Bakker
2bd415b42a Use a consistent source code format in src/video/uikit
For example:
* Opening bracket of a method/function on a new line at column 0
* space after "if", "while", etc
2011-09-27 22:51:26 +02:00
Kees Bakker
7797271a96 Cleanup out trailing whitespace in src/video/uikit 2011-09-27 21:02:26 +02:00
Kees Bakker
315893bf28 Split off SDL_uikitviewcontroller in its own module
--HG--
extra : rebase_source : 9f436d0751280968fb49307fb522b0d6c72d4409
2011-08-17 23:26:58 +02:00