Mercurial > hg > ucis.core
changeset 40:e3329f686b95
FBGUI: Added hand cursor
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Thu, 25 Apr 2013 23:39:55 +0200 |
parents | 41b2d01ae458 |
children | 3fddcf72ea6a |
files | FBGUI/FBGUI.cs FBGUI/cursor_hand.png UCIS.Core.csproj |
diffstat | 3 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/FBGUI/FBGUI.cs Wed Apr 24 00:30:18 2013 +0200 +++ b/FBGUI/FBGUI.cs Thu Apr 25 23:39:55 2013 +0200 @@ -627,6 +627,7 @@ public static readonly FBGCursor SizeTopRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipX); public static readonly FBGCursor SizeBottomLeft = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipY); public static readonly FBGCursor SizeBottomRight = SizeTopLeft.RotateFlip(RotateFlipType.RotateNoneFlipXY); + public static readonly FBGCursor Hand = LoadFromResource("cursor_hand", 5, 0); public static FBGCursor ArrowCursor { get { return Arrow; } } } public class FBGRenderer : FBGContainerControl, IDisposable {
--- a/UCIS.Core.csproj Wed Apr 24 00:30:18 2013 +0200 +++ b/UCIS.Core.csproj Thu Apr 25 23:39:55 2013 +0200 @@ -187,6 +187,9 @@ <EmbeddedResource Include="FBGUI\cursor_left.png" /> <EmbeddedResource Include="FBGUI\cursor_arrow.png" /> </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="FBGUI\cursor_hand.png" /> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets.