private static void _OnReshape(int width, int height) { Window w = null; if (mvarLastFullscreenWindow != null) { w = mvarLastFullscreenWindow; } else { int handle = Internal.FreeGLUT.Methods.glutGetWindow(); w = handleWindows[handle]; } ResizeEventArgs e = new ResizeEventArgs(w.Size, new Dimension2D(width, height)); w.OnResizing(e); }
protected virtual void OnResizing(ResizeEventArgs e) { }