
[Platform] IGraphicsMode implementations depend on System.Windows.Forms
Posted Tuesday, 8 September, 2009 - 13:04 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 0.9.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | the Fiddler |
| Status: | in progress |
Jump to:
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:
- Move
OpenTK.GLControlto a different assembly (done). - Remove WinForms-specific code from
OpenTK.Platform.Utilities(done). - Remove
System.Windows.Forms.Controlfrom theIGraphicsModeimplementations. - Remove
System.Windows.Forms.NativeWindowfrom the win32 IInputDriver implementation.


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