summaryrefslogtreecommitdiff
path: root/Widgets/WindowManager.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-14 01:23:01 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-14 01:23:01 +0200
commit959a1b0750328b59b25953bec7a9e8da95b3e058 (patch)
treeb86c27ac2592d2083109493ac0cf056c526180a9 /Widgets/WindowManager.h
parent3ebea059961ec027ee0298e38201aa43f7e9451c (diff)
downloadserenity-959a1b0750328b59b25953bec7a9e8da95b3e058.zip
Close the MsgBox when clicking the OK button.
This feels vaguely crashy. I haven't tested window/widget destruction before so there's sure to be bugs.
Diffstat (limited to 'Widgets/WindowManager.h')
-rw-r--r--Widgets/WindowManager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Widgets/WindowManager.h b/Widgets/WindowManager.h
index f53c29740e..02073ba3cb 100644
--- a/Widgets/WindowManager.h
+++ b/Widgets/WindowManager.h
@@ -27,6 +27,10 @@ public:
Window* activeWindow() { return m_activeWindow.ptr(); }
void setActiveWindow(Window*);
+ bool isVisible(Window&) const;
+
+ void repaint();
+
private:
WindowManager();
~WindowManager();