#if STUPID set custom cursor #endif

This commit is contained in:
Michael 2017-02-04 20:28:16 -05:00
parent dbae223e1e
commit 865c072d43
2 changed files with 2 additions and 8 deletions

View file

@ -137,6 +137,7 @@ namespace ShiftOS.WinForms.Tools
public static void SetCursor(Control ctrl)
{
#if STUPID
if (!(ctrl is WebBrowser))
{
var mouse = SkinEngine.GetImage("mouse");
@ -151,6 +152,7 @@ namespace ShiftOS.WinForms.Tools
var cursor = new Cursor(handle);
ctrl.Cursor = cursor;
}
#endif
}
public static void SetupControl(Control ctrl)

View file

@ -153,14 +153,6 @@ namespace ShiftOS.Engine {
[ShifterDescription("The font style used by the system.")]
public Font MainFont = SysFont;
[Image("mouse")]
[ShifterMeta("System")]
[ShifterCategory("General")]
[ShifterName("Mouse image")]
[ShifterDescription("Select an image to be displayed as the system mouse cursor.")]
[RequiresUpgrade("skinning")]
public byte[] MouseCursorImage = null;
[ShifterEnumMask(new[] { "Right", "Left"})]
[ShifterMeta("Windows")]
[ShifterCategory("Title Buttons")]