the Fiddler's picture

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

Project:The Open Toolkit library
Category:bug report
Assigned:the Fiddler

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.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


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.

the Fiddler's picture


Version:0.9.x-dev» 1.0-2010-10-06
Status:in progress» closed

This is part of opentk-1.0