diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2009-06-05 09:34:10 +0800 |
---|---|---|
committer | Joel Bosveld <Joel.Bosveld@gmail.com> | 2009-07-01 20:59:31 +0800 |
commit | 0a4cf3fd9e2f1eff7094da3ef49d270d72ac5452 (patch) | |
tree | d018f8e8e77f2d2709c9f3dc82f3be758f1a3b0f /include | |
parent | f85695851ff26722ef377a95d81e818a2b3422bf (diff) | |
download | zcomp-0a4cf3fd9e2f1eff7094da3ef49d270d72ac5452.tar.gz zcomp-0a4cf3fd9e2f1eff7094da3ef49d270d72ac5452.tar.bz2 |
Make CompWindow::alpha () wrappable
Diffstat (limited to 'include')
-rw-r--r-- | include/core/window.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/core/window.h b/include/core/window.h index 2f65b38..ac8ff0a 100644 --- a/include/core/window.h +++ b/include/core/window.h @@ -225,10 +225,12 @@ class WindowInterface : public WrapableInterface<CompWindow, WindowInterface> virtual void stateChangeNotify (unsigned int lastState); virtual void updateFrameRegion (CompRegion ®ion); + + virtual bool alpha (); }; class CompWindow : - public WrapableHandler<WindowInterface, 13>, + public WrapableHandler<WindowInterface, 14>, public PluginClassStorage { public: @@ -447,8 +449,6 @@ class CompWindow : bool syncWait (); - bool alpha (); - bool alive (); bool overrideRedirect (); @@ -500,6 +500,8 @@ class CompWindow : WRAPABLE_HND (12, WindowInterface, void, updateFrameRegion, CompRegion &); + WRAPABLE_HND (13, WindowInterface, bool, alpha); + friend class PrivateWindow; friend class CompScreen; friend class PrivateScreen; |