Exemplo n.º 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);
        }
Exemplo n.º 2
0
 protected virtual void OnResizing(ResizeEventArgs e)
 {
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 protected virtual void OnResizing(ResizeEventArgs e)
 {
 }