Initial work on WindowState support.
This commit is contained in:
parent
d4fb64261a
commit
3590ba5d29
1 changed files with 13 additions and 4 deletions
|
@ -65,7 +65,10 @@ namespace OpenTK.Platform.X11
|
|||
|
||||
// Fields used for fullscreen mode changes.
|
||||
int pre_fullscreen_width, pre_fullscreen_height;
|
||||
bool fullscreen = false;
|
||||
bool fullscreen = false;
|
||||
|
||||
OpenTK.WindowState _window_state;
|
||||
OpenTK.WindowBorder _window_border;
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -569,11 +572,17 @@ namespace OpenTK.Platform.X11
|
|||
{
|
||||
get
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return _window_state;
|
||||
}
|
||||
set
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
switch (value)
|
||||
{
|
||||
case OpenTK.WindowState.Normal:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -589,7 +598,7 @@ namespace OpenTK.Platform.X11
|
|||
}
|
||||
set
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
//Functions.XChangeProperty(window.Display, window.WindowHandle,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue