From 70bcdc77ff42c74fcd8e6e7dffd4eb6b16f24f39 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 19 Feb 2016 16:10:32 +0100 Subject: GtkCrowContainer test, functionnal, keyboard issue --- src/Interface.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/Interface.cs') diff --git a/src/Interface.cs b/src/Interface.cs index 6b2e82fe..3dd20a25 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -60,6 +60,18 @@ namespace Crow public delegate void loadDefaultInvoker(object instance); public static Dictionary DefaultValuesLoader = new Dictionary(); + public static void LoadCursors(){ + //Load cursors + XCursor.Cross = XCursorFile.Load("#Crow.Images.Icons.Cursors.cross").Cursors[0]; + XCursor.Default = XCursorFile.Load("#Crow.Images.Icons.Cursors.arrow").Cursors[0]; + XCursor.NW = XCursorFile.Load("#Crow.Images.Icons.Cursors.top_left_corner").Cursors[0]; + XCursor.NE = XCursorFile.Load("#Crow.Images.Icons.Cursors.top_right_corner").Cursors[0]; + XCursor.SW = XCursorFile.Load("#Crow.Images.Icons.Cursors.bottom_left_corner").Cursors[0]; + XCursor.SE = XCursorFile.Load("#Crow.Images.Icons.Cursors.bottom_right_corner").Cursors[0]; + XCursor.H = XCursorFile.Load("#Crow.Images.Icons.Cursors.sb_h_double_arrow").Cursors[0]; + XCursor.V = XCursorFile.Load("#Crow.Images.Icons.Cursors.sb_v_double_arrow").Cursors[0]; + } + #region Load/Save public static void Save (string file, T graphicObject) -- cgit v1.3.1-4-g156e