예제 #1
0
        public WindowsFormsOpenGL(AbstractOsMappingWidget app, SystemWindow childSystemWindow)
        {
            switch (childSystemWindow.BitDepth)
            {
            case 32:
                glControl = new MyGLControl(32, childSystemWindow.StencilBufferDepth);
                break;

            default:
                throw new NotImplementedException();
            }

            Controls.Add(glControl);

            SetUpFormsWindow(app, childSystemWindow);

            HookWindowsInputAndSendToWidget communication = new HookWindowsInputAndSendToWidget(glControl, aggAppWidget);
        }
        public WindowsFormBitmap(AbstractOsMappingWidget app, SystemWindow childSystemWindow)
        {
            SetUpFormsWindow(app, childSystemWindow);

            HookWindowsInputAndSendToWidget communication = new HookWindowsInputAndSendToWidget(this, aggAppWidget);
        }
예제 #3
0
		public WindowsFormsOpenGL(AbstractOsMappingWidget app, SystemWindow childSystemWindow)
		{
			switch (childSystemWindow.BitDepth)
			{
				case 32:
					glControl = new MyGLControl(32, childSystemWindow.StencilBufferDepth);
					break;

				default:
					throw new NotImplementedException();
			}

			Controls.Add(glControl);

			SetUpFormsWindow(app, childSystemWindow);

			HookWindowsInputAndSendToWidget communication = new HookWindowsInputAndSendToWidget(glControl, aggAppWidget);
		}
예제 #4
0
		public WindowsFormBitmap(AbstractOsMappingWidget app, SystemWindow childSystemWindow)
		{
			SetUpFormsWindow(app, childSystemWindow);

			HookWindowsInputAndSendToWidget communication = new HookWindowsInputAndSendToWidget(this, aggAppWidget);
		}