예제 #1
0
        private static void InitializeOSX()
        {
            var platform = Native.AvaloniaNativePlatform.Initialize();

            WindowingInterface         = platform;
            PlatformThreadingInterface = new Native.PlatformThreadingInterface(platform.Factory.CreatePlatformThreadingInterface());
            StandardCursorFactory      = new Native.CursorFactory(platform.Factory.CreateCursorFactory());
        }
예제 #2
0
        private static void InitializeOSX()
        {
            var platform = Native.AvaloniaNativePlatform.Initialize();

            WindowingInterface         = platform;
            PlatformThreadingInterface = new Native.PlatformThreadingInterface(platform.Factory.CreatePlatformThreadingInterface());
            StandardCursorFactory      = new Native.CursorFactory(platform.Factory.CreateCursorFactory());
            SystemDialogImplementation = new Native.SystemDialogs(platform.Factory.CreateSystemDialogs());
            ClipboardInterface         = new Native.ClipboardImpl(platform.Factory.CreateClipboard());
        }
예제 #3
0
 public SignaledCallback(PlatformThreadingInterface parent)
 {
     _parent = parent;
 }