Esempio n. 1
0
 /// <summary>
 /// Will be called whenever the window is resized
 /// </summary>
 /// <param name="width">New window width</param>
 /// <param name="height">New window height</param>
 protected override void OnWindowResize(int width, int height)
 {
     OnWindowSize?.Invoke(width, height);
 }
Esempio n. 2
0
 private void WindowSize(int w, int h)
 {
     OnWindowSize?.Invoke(w, h);
 }