summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylanddecoration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddecoration.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylanddecoration.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddecoration.h b/src/plugins/platforms/wayland/qwaylanddecoration.h
index b1f31ed11..91d32d561 100644
--- a/src/plugins/platforms/wayland/qwaylanddecoration.h
+++ b/src/plugins/platforms/wayland/qwaylanddecoration.h
@@ -78,6 +78,9 @@ public:
QWindow *window() const;
QWaylandWindow *waylandWindow() const;
+ void setForegroundColor(const QColor &c);
+ inline QColor foregroundColor() const;
+
void setBackgroundColor(const QColor &c);
inline QColor backgroundColor() const;
@@ -107,6 +110,7 @@ private:
Qt::CursorShape m_cursorShape;
Qt::MouseButtons m_mouseButtons;
+ QColor m_foregroundColor;
QColor m_backgroundColor;
QStaticText m_windowTitle;
};
@@ -126,6 +130,11 @@ inline QWaylandWindow *QWaylandDecoration::waylandWindow() const
return m_wayland_window;
}
+inline QColor QWaylandDecoration::foregroundColor() const
+{
+ return m_foregroundColor;
+}
+
inline QColor QWaylandDecoration::backgroundColor() const
{
return m_backgroundColor;