private static void Overlay_OnWindowBoundsChanged(int x, int y, int width, int height) { gfx.Resize(width, height); }