summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSCompositor.h
diff options
context:
space:
mode:
authorChristopher Dumas <christopherdumas@gmail.com>2019-05-26 10:14:03 -0700
committerAndreas Kling <awesomekling@gmail.com>2019-05-27 21:40:53 +0200
commitc23882dde1f8a46f82b599ece5bb4b59606d030b (patch)
tree549ca3ad885aab8706ef2ff489f5b5b1558d9a33 /Servers/WindowServer/WSCompositor.h
parent50154a23cbd51f72eeb199b8b56acfa8d7bb694a (diff)
downloadserenity-c23882dde1f8a46f82b599ece5bb4b59606d030b.zip
can now tile background and made sure the IRC choose server popup still works
Diffstat (limited to 'Servers/WindowServer/WSCompositor.h')
-rw-r--r--Servers/WindowServer/WSCompositor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSCompositor.h b/Servers/WindowServer/WSCompositor.h
index f0ea27bf14..ea65bd24bf 100644
--- a/Servers/WindowServer/WSCompositor.h
+++ b/Servers/WindowServer/WSCompositor.h
@@ -10,6 +10,8 @@
class Painter;
class WSCursor;
+enum class WallpaperMode { Simple, Tile, Center, Unchecked };
+
class WSCompositor final : public CObject {
public:
static WSCompositor& the();
@@ -55,5 +57,6 @@ private:
Rect m_last_geometry_label_rect;
String m_wallpaper_path;
+ WallpaperMode m_wallpaper_mode { WallpaperMode::Unchecked };
RetainPtr<GraphicsBitmap> m_wallpaper;
};