Mercurial > hg > ucis.core
comparison FBGUI/FBGUI.cs @ 40:e3329f686b95
FBGUI: Added hand cursor
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Thu, 25 Apr 2013 23:39:55 +0200 |
parents | 41b2d01ae458 |
children | aedd0e4adef7 |
comparison
equal
deleted
inserted
replaced
39:41b2d01ae458 | 40:e3329f686b95 |
---|---|
625 public static readonly FBGCursor SizeBottom = SizeLeft.RotateFlip(RotateFlipType.Rotate90FlipY); | 625 public static readonly FBGCursor SizeBottom = SizeLeft.RotateFlip(RotateFlipType.Rotate90FlipY); |
626 public static readonly FBGCursor SizeTopLeft = LoadFromResource("cursor_topleft", 1, 1); | 626 public static readonly FBGCursor SizeTopLeft = LoadFromResource("cursor_topleft", 1, 1); |
627 public static readonly FBGCursor SizeTopRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipX); | 627 public static readonly FBGCursor SizeTopRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipX); |
628 public static readonly FBGCursor SizeBottomLeft = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipY); | 628 public static readonly FBGCursor SizeBottomLeft = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipY); |
629 public static readonly FBGCursor SizeBottomRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipXY); | 629 public static readonly FBGCursor SizeBottomRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipXY); |
630 public static readonly FBGCursor Hand = LoadFromResource("cursor_hand", 5, 0); | |
630 public static FBGCursor ArrowCursor { get { return Arrow; } } | 631 public static FBGCursor ArrowCursor { get { return Arrow; } } |
631 } | 632 } |
632 public class FBGRenderer : FBGContainerControl, IDisposable { | 633 public class FBGRenderer : FBGContainerControl, IDisposable { |
633 private FBGCursor cursor = null; | 634 private FBGCursor cursor = null; |
634 private Point cursorposition = Point.Empty; | 635 private Point cursorposition = Point.Empty; |