Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Add some NSDraw* commands
Browse files Browse the repository at this point in the history
  • Loading branch information
garuma committed Jun 25, 2013
1 parent 92b4262 commit 130f725
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/AppKit/NSGraphics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,20 @@ public static void ShowAnimationEffect (NSAnimationEffect animationEffect, Point
[DllImport (Constants.AppKitLibrary)]
public extern static ;
#endif

[DllImport (Constants.AppKitLibrary, EntryPoint="NSDrawWhiteBezel")]
public extern static void DrawWhiteBezel (RectangleF aRect, RectangleF clipRect);

[DllImport (Constants.AppKitLibrary, EntryPoint="NSDrawLightBezel")]
public extern static void DrawLightBezel (RectangleF aRect, RectangleF clipRect);

[DllImport (Constants.AppKitLibrary, EntryPoint="NSDrawGrayBezel")]
public extern static void DrawGrayBezel (RectangleF aRect, RectangleF clipRect);

[DllImport (Constants.AppKitLibrary, EntryPoint="NSDrawDarkBezel")]
public extern static void DrawDarkBezel (RectangleF aRect, RectangleF clipRect);

[DllImport (Constants.AppKitLibrary, EntryPoint="NSDrawGroove")]
public extern static void DrawGroove (RectangleF aRect, RectangleF clipRect);
}
}

0 comments on commit 130f725

Please sign in to comment.