Skip to content

Instantly share code, notes, and snippets.

@kangaroo
Created January 20, 2011 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kangaroo/0d434b005d2286ef7c11 to your computer and use it in GitHub Desktop.
Save kangaroo/0d434b005d2286ef7c11 to your computer and use it in GitHub Desktop.
diff --git a/src/appkit.cs b/src/appkit.cs
index dbd712f..786a126 100644
--- a/src/appkit.cs
+++ b/src/appkit.cs
@@ -150,8 +150,8 @@ namespace MonoMac.AppKit {
[Export ("animationDidEnd:"), EventArgs ("NSAnimation")]
void AnimationDidEnd (NSAnimation animation);
- [Export ("animation:valueForProgress:"), DelegateName ("NSAnimationProgress"), DefaultValue (0.0)]
- float AnimationProgress (NSAnimation animation, float progress);
+ [Export ("animation:valueForProgress:"), DelegateName ("NSAnimationProgress"), DefaultValue ("progress")]
+ float OnGetCurve (NSAnimation animation, float progress);
[Export ("animation:didReachProgressMark:"), EventArgs ("NSAnimation")]
void AnimationDidReachProgressMark (NSAnimation animation, float progress);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment