aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbPixmap.hh')
-rw-r--r--src/FbTk/FbPixmap.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/FbTk/FbPixmap.hh b/src/FbTk/FbPixmap.hh
index c8640a2..ca81cf4 100644
--- a/src/FbTk/FbPixmap.hh
+++ b/src/FbTk/FbPixmap.hh
@@ -69,6 +69,7 @@ public:
69 inline int depth() const { return m_depth; } 69 inline int depth() const { return m_depth; }
70 70
71 static Pixmap getRootPixmap(int screen_num); 71 static Pixmap getRootPixmap(int screen_num);
72 static void FbPixmap::rootwinPropertyNotify(int screen_num, Atom atom);
72 73
73 void create(Drawable src, 74 void create(Drawable src,
74 unsigned int width, unsigned int height, 75 unsigned int width, unsigned int height,
@@ -79,6 +80,14 @@ private:
79 Pixmap m_pm; 80 Pixmap m_pm;
80 unsigned int m_width, m_height; 81 unsigned int m_width, m_height;
81 int m_depth; 82 int m_depth;
83
84 /// Functions relating to the maintenance of root window pixmap caching
85 static void checkAtoms();
86 static void setRootPixmap(int screen_num, Pixmap pm);
87 // array of pixmaps: 1 per screen
88 static Pixmap *m_root_pixmaps;
89 static const char *root_prop_ids[];
90 static Atom root_prop_atoms[];
82}; 91};
83 92
84} // end namespace FbTk 93} // end namespace FbTk