summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-08-13 21:11:41 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-14 10:28:03 +0200
commite58d3b8481809e8b08cce2396ed38b3e6391a0d4 (patch)
tree914823665e42cc4f8a9a4326974b647c8dabb023 /Libraries
parent28c68fb241737c66562b20e2a26118225ec589ea (diff)
downloadserenity-e58d3b8481809e8b08cce2396ed38b3e6391a0d4.zip
LibGUI: Add Window::window_type()
We already have Window::set_window_type(), so a getter for m_window_type makes sense as well.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/Window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Window.h b/Libraries/LibGUI/Window.h
index 94de9fa5d8..fcfeaf2ae7 100644
--- a/Libraries/LibGUI/Window.h
+++ b/Libraries/LibGUI/Window.h
@@ -82,6 +82,8 @@ public:
void set_double_buffering_enabled(bool);
void set_has_alpha_channel(bool);
void set_opacity(float);
+
+ WindowType window_type() const { return m_window_type; }
void set_window_type(WindowType);
int window_id() const { return m_window_id; }