Add close box support to floating windows

This commit is contained in:
elasota
2020-05-02 02:59:19 -04:00
parent e546c05ea0
commit 62d9766ee0
4 changed files with 200 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ namespace PortabilityLayer
virtual void FindWindow(const Point &point, Window **outWindow, short *outRegion) const = 0;
virtual void DestroyWindow(Window *window) = 0;
virtual void DragWindow(Window *window, const Point &startPoint, const Rect &constraintRect) = 0;
virtual bool HandleCloseBoxClick(Window *window, const Point &startPoint) = 0;
virtual void SetWindowTitle(Window *window, const PLPasStr &title) = 0;
virtual Rect2i GetWindowFullRect(Window *window) const = 0;