summaryrefslogtreecommitdiffstats
path: root/platform/x11/os_x11.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2017-12-10 20:38:26 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-04-07 17:11:45 +0300
commitddae098deec89d67228a74623ebe7f5db39f425b (patch)
tree87aa891c0447ce6db35bd4676ff3a7cb2265e9cf /platform/x11/os_x11.h
parentec110076caca7a75ffb4795c32362bc52151dbcc (diff)
downloadredot-engine-ddae098deec89d67228a74623ebe7f5db39f425b.tar.gz
Experimental support for windows with per-pixel transparency (macOS, X11 and Windows).
Diffstat (limited to 'platform/x11/os_x11.h')
-rw-r--r--platform/x11/os_x11.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/x11/os_x11.h b/platform/x11/os_x11.h
index 610dba0716..7f7680c0a6 100644
--- a/platform/x11/os_x11.h
+++ b/platform/x11/os_x11.h
@@ -171,6 +171,8 @@ class OS_X11 : public OS_Unix {
PowerX11 *power_manager;
+ bool layered_window;
+
CrashHandler crash_handler;
int audio_driver_index;
@@ -262,6 +264,10 @@ public:
virtual void set_borderless_window(bool p_borderless);
virtual bool get_borderless_window();
+
+ virtual bool get_window_per_pixel_transparency_enabled() const;
+ virtual void set_window_per_pixel_transparency_enabled(bool p_enabled);
+
virtual void set_ime_position(const Point2 &p_pos);
virtual String get_unique_id() const;