LibGUI: Add Window::window_type()

We already have Window::set_window_type(), so a getter for m_window_type
makes sense as well.
This commit is contained in:
Linus Groh 2020-08-13 21:11:41 +02:00 committed by Andreas Kling
parent 28c68fb241
commit e58d3b8481
Notes: sideshowbarker 2024-07-19 03:39:54 +09:00

View file

@ -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; }