mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
#if STUPID set custom cursor #endif
This commit is contained in:
parent
dbae223e1e
commit
865c072d43
2 changed files with 2 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue