Exemplo n.º 1
0
        public QtHost(IntPtr windowHandle)
            : base(windowHandle)
        {
            if (windowHandle == IntPtr.Zero)
                throw new ArgumentNullException("windowHandle");

            _mouseWheelPos = 0;

            // Start the application
            _theApp = new FuseeApp();

            _theApp.CanvasImplementor = this;
            _theApp.InputImplementor = this;
            _theApp.Run();
            //
        }
Exemplo n.º 2
0
        public QtHost(IntPtr windowHandle)
            : base(windowHandle)
        {
            if (windowHandle == IntPtr.Zero)
            {
                throw new ArgumentNullException("windowHandle");
            }

            _mouseWheelPos = 0;



            // Start the application
            _theApp = new FuseeApp();

            _theApp.CanvasImplementor = this;
            _theApp.InputImplementor  = this;
            _theApp.Run();
            //
        }