summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-08-07 19:40:02 -0400
committerAndreas Kling <kling@serenityos.org>2022-08-09 12:08:21 +0200
commit8904a61d71355b2786108aeab1f3b2cb5f139b18 (patch)
tree3c4c0086dc6c2aba8d239a5bd6c67fac81cbf613 /Userland/Libraries
parent9d7345d17bc5f2949a9f928c4bd759ec8d7b03e4 (diff)
downloadserenity-8904a61d71355b2786108aeab1f3b2cb5f139b18.zip
LibGUI+WindowServer: Add a SystemEffects wrapper and helpers
SystemEffects provides a tidy way to work with system-wide visual options passed through IPC.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGUI/SystemEffects.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/SystemEffects.h b/Userland/Libraries/LibGUI/SystemEffects.h
new file mode 100644
index 0000000000..acddc02f7f
--- /dev/null
+++ b/Userland/Libraries/LibGUI/SystemEffects.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2022, the SerenityOS developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <Services/WindowServer/SystemEffects.h>
+
+namespace GUI {
+
+using SystemEffects = WindowServer::SystemEffects;
+using ShowGeometry = WindowServer::ShowGeometry;
+using Effects = WindowServer::Effects;
+
+}