Пример #1
0
        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);
        }
Пример #2
0
 protected virtual void OnResizing(ResizeEventArgs e)
 {
 }
Пример #3
0
 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);
 }
Пример #4
0
 protected virtual void OnResizing(ResizeEventArgs e)
 {
 }