Revision: 5752
http://skim-app.svn.sourceforge.net/skim-app/?rev=5752&view=rev
Author: hofman
Date: 2009-09-15 13:40:31 +0000 (Tue, 15 Sep 2009)
Log Message:
-----------
don't upgrade private coregraphics transition code to 64-bit safe, because it
apparently hasn't been
Modified Paths:
--------------
trunk/SKTransitionController.m
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2009-09-15 12:34:10 UTC (rev 5751)
+++ trunk/SKTransitionController.m 2009-09-15 13:40:31 UTC (rev 5752)
@@ -51,8 +51,8 @@
#pragma mark Private Core Graphics types and functions
-typedef NSInteger CGSConnection;
-typedef NSInteger CGSWindow;
+typedef int CGSConnection;
+typedef int CGSWindow;
typedef enum _CGSTransitionType {
CGSNone,
@@ -91,14 +91,14 @@
CGSTransitionType type;
CGSTransitionOption option;
CGSWindow wid; // Can be 0 for full-screen
- CGFloat *backColour; // Null for black otherwise pointer to 3 CGFloat
array with RGB value
+ float *backColour; // Null for black otherwise pointer to 3 CGFloat array
with RGB value
} CGSTransitionSpec;
extern CGSConnection _CGSDefaultConnection(void) __attribute__((weak_import));
-extern OSStatus CGSNewTransition(const CGSConnection cid, const
CGSTransitionSpec* spec, NSInteger *pTransitionHandle)
__attribute__((weak_import));
-extern OSStatus CGSInvokeTransition(const CGSConnection cid, NSInteger
transitionHandle, CGFloat duration) __attribute__((weak_import));
-extern OSStatus CGSReleaseTransition(const CGSConnection cid, NSInteger
transitionHandle) __attribute__((weak_import));
+extern OSStatus CGSNewTransition(const CGSConnection cid, const
CGSTransitionSpec* spec, int *pTransitionHandle) __attribute__((weak_import));
+extern OSStatus CGSInvokeTransition(const CGSConnection cid, int
transitionHandle, float duration) __attribute__((weak_import));
+extern OSStatus CGSReleaseTransition(const CGSConnection cid, int
transitionHandle) __attribute__((weak_import));
#pragma mark Check whether the above functions are actually defined at run time
@@ -471,7 +471,7 @@
}
// declare our variables
- NSInteger handle = -1;
+ int handle = -1;
CGSTransitionSpec spec;
// specify our specifications
spec.unknown1 = 0;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit