the Fiddler's picture

[Platform] IGraphicsMode implementations depend on System.Windows.Forms

Project:The Open Toolkit library
Version:0.9.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:the Fiddler
Status:in progress
Description

This causes issues when using OpenTK with GTK# or other toolkits. It also reduces portability to platforms that do not provide System.Windows.Forms implementations.

We need to remove the System.Windows.Forms dependency from core OpenTK:

  1. Move OpenTK.GLControl to a different assembly (done).
  2. Remove WinForms-specific code from OpenTK.Platform.Utilities (done).
  3. Remove System.Windows.Forms.Control from the IGraphicsMode implementations.
  4. Remove System.Windows.Forms.NativeWindow from the win32 IInputDriver implementation.

Comments

the Fiddler's picture

#1

Version:0.9.9-2b» 0.9.x-dev
Status:open» in progress

#3 is partly implemented in trunk.
#4 is in progress in the input branch.