summaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index d09ed90..3a5d18d 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -29,6 +29,7 @@
29#include <X11/Xlib.h> 29#include <X11/Xlib.h>
30#include <memory> 30#include <memory>
31#include <string> 31#include <string>
32#include <set>
32 33
33namespace FbTk { 34namespace FbTk {
34 35
@@ -194,6 +195,8 @@ public:
194 /// forces full background change, recalcing of alpha values if necessary 195 /// forces full background change, recalcing of alpha values if necessary
195 void updateBackground(bool only_if_alpha); 196 void updateBackground(bool only_if_alpha);
196 197
198 static void updatedAlphaBackground(int screen);
199
197protected: 200protected:
198 /// creates a window with x window client (m_window = client) 201 /// creates a window with x window client (m_window = client)
199 explicit FbWindow(Window client); 202 explicit FbWindow(Window client);
@@ -226,6 +229,12 @@ private:
226 Pixmap m_lastbg_pm; 229 Pixmap m_lastbg_pm;
227 230
228 FbWindowRenderer *m_renderer; 231 FbWindowRenderer *m_renderer;
232
233 static void addAlphaWin(FbWindow &win);
234 static void removeAlphaWin(FbWindow &win);
235
236 typedef std::set<FbWindow *> FbWinList;
237 static FbWinList m_alpha_wins;
229}; 238};
230 239
231bool operator == (Window win, const FbWindow &fbwin); 240bool operator == (Window win, const FbWindow &fbwin);