Created
June 17, 2013 15:51
-
-
Save topgenorth/5797966 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace InfColorPicker | |
{ | |
[BaseType(typeof(UIView))] | |
public partial interface InfColorBarView | |
{ | |
} | |
[BaseType(typeof(UIImageView))] | |
public partial interface InfColorSquareView | |
{ | |
[Export("hue")] | |
float Hue { get; set; } | |
} | |
[BaseType(typeof(UIControl))] | |
public partial interface InfColorBarPicker | |
{ | |
[Export("value")] | |
float Value { get; set; } | |
} | |
[BaseType(typeof(UIControl))] | |
public partial interface InfColorSquarePicker | |
{ | |
[Export("hue")] | |
float Hue { get; set; } | |
[Export("value")] | |
PointF Value { get; set; } | |
} | |
[BaseType(typeof(UIViewController))] | |
public partial interface InfColorPickerController | |
{ | |
[Export("initWithFrame:")] | |
IntPtr Constructor (RectangleF frame); | |
[Export("sourceColor")] | |
UIColor SourceColor { get; set; } | |
[Export("resultColor")] | |
UIColor ResultColor { get; set; } | |
[Export("presentModallyOverViewController")] | |
void PresentModallyOverViewController (UIViewController controller); | |
} | |
[BaseType(typeof(NSObject))] | |
[Model] | |
public partial interface InfColorPickerControllerDelegate | |
{ | |
[Export("colorPickerControllerDidFinish")] | |
void ColorPickerControllerDidFinish (InfColorPickerController controller); | |
[Export("colorPickerControllerDidChangeColor")] | |
void ColorPickerControllerDidChangeColor(InfColorPickerController controller); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment