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();
            //
        }
Exemple #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();
            //
        }