From 4b2a6f8c6e36c1644e42e0aa62695dbfcfa3f615 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Feb 2017 15:40:03 -0500 Subject: [PATCH] Add a better default cursor. --- ShiftOS.WinForms/Resources/DefaultMouse.bmp | Bin 3382 -> 3382 bytes ShiftOS.WinForms/Tools/ControlManager.cs | 1 + 2 files changed, 1 insertion(+) diff --git a/ShiftOS.WinForms/Resources/DefaultMouse.bmp b/ShiftOS.WinForms/Resources/DefaultMouse.bmp index 9ae6143520472ac6d2ed71ffebeb80a267f2536b..f13ea19dd7def6a4205557cd190f809228341611 100644 GIT binary patch literal 3382 zcmeIuJr08~3V*n8{Vi{{Zj$%^vl;0zV9WD>Cb0oh*b%^k6Z>oes2 zm)+KT>~o2p~3W}}Ws&6l2Grp4~@HMZ8* z+8V#dZuNWZ7XOT0^UvBP-@?xMR(8s_v}51emi`Ev{wSM1)=`OXpD|Bhp1?Iv-~&j# BWJ4;iX`Iwhf)8{{VVAqT~nvgnnzF0U&CW~dh|V-gYVQ@lxO{##cJ!1-Wii= zQ7-(9)zdILa`srZKf=@=JKwtNxzW1C)4fri^=XDz+nLDSV?vLxm=_#&GJjNKT+wC) igEq^v!^Uq*|e-=Brxq;k3ZXh>sY~TX{LT^w2 diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs index 1067c3f..52f7682 100644 --- a/ShiftOS.WinForms/Tools/ControlManager.cs +++ b/ShiftOS.WinForms/Tools/ControlManager.cs @@ -144,6 +144,7 @@ namespace ShiftOS.WinForms.Tools mouse = Properties.Resources.DefaultMouse; var mBmp = new Bitmap(mouse); + mBmp.MakeTransparent(Color.FromArgb(1, 0, 1)); var gfx = Graphics.FromImage(mBmp); var handle = mBmp.GetHicon();