Keep level editor windows in screen bounds

This commit is contained in:
elasota
2020-04-05 22:31:22 -04:00
parent f46ae55d62
commit ffd9d9cc1f
6 changed files with 47 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ struct Window;
namespace PortabilityLayer
{
struct WindowDef;
struct Rect2i;
class WindowManager
{
@@ -29,6 +30,7 @@ namespace PortabilityLayer
virtual void DestroyWindow(Window *window) = 0;
virtual void DragWindow(Window *window, const Point &startPoint, const Rect &constraintRect) = 0;
virtual void SetWindowTitle(Window *window, const PLPasStr &title) = 0;
virtual Rect2i GetWindowFullRect(Window *window) const = 0;
virtual void RenderFrame(IGpDisplayDriver *displayDriver) = 0;