Initial work on WindowState support.

This commit is contained in:
the_fiddler 2008-04-25 08:42:53 +00:00
parent d4fb64261a
commit 3590ba5d29

View file

@ -65,7 +65,10 @@ namespace OpenTK.Platform.X11
// Fields used for fullscreen mode changes. // Fields used for fullscreen mode changes.
int pre_fullscreen_width, pre_fullscreen_height; int pre_fullscreen_width, pre_fullscreen_height;
bool fullscreen = false; bool fullscreen = false;
OpenTK.WindowState _window_state;
OpenTK.WindowBorder _window_border;
#endregion #endregion
@ -569,11 +572,17 @@ namespace OpenTK.Platform.X11
{ {
get get
{ {
throw new NotImplementedException(); return _window_state;
} }
set set
{ {
throw new NotImplementedException(); switch (value)
{
case OpenTK.WindowState.Normal:
break;
}
} }
} }
@ -589,7 +598,7 @@ namespace OpenTK.Platform.X11
} }
set set
{ {
throw new NotImplementedException(); //Functions.XChangeProperty(window.Display, window.WindowHandle,
} }
} }