aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-16 11:18:22 (GMT)
committersimonb <simonb>2006-04-16 11:18:22 (GMT)
commit553104ee1d53104fa0790a9793a7047c61dd073f (patch)
tree5ccc4968b10f604c05aaa6d3bb13fc206fab8faa /src/FbTk/FbPixmap.hh
parent02aa83a59eb3d9e209449b38808635f9e293a17a (diff)
downloadfluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.zip
fluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.tar.bz2
fix all compiler warnings with -Wall
Diffstat (limited to 'src/FbTk/FbPixmap.hh')
-rw-r--r--src/FbTk/FbPixmap.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/FbTk/FbPixmap.hh b/src/FbTk/FbPixmap.hh
index 33a64d2..2935978 100644
--- a/src/FbTk/FbPixmap.hh
+++ b/src/FbTk/FbPixmap.hh
@@ -41,15 +41,15 @@ public:
41 explicit FbPixmap(Pixmap pm); 41 explicit FbPixmap(Pixmap pm);
42 FbPixmap(const FbDrawable &src, 42 FbPixmap(const FbDrawable &src,
43 unsigned int width, unsigned int height, 43 unsigned int width, unsigned int height,
44 int depth); 44 unsigned int depth);
45 FbPixmap(Drawable src, 45 FbPixmap(Drawable src,
46 unsigned int width, unsigned int height, 46 unsigned int width, unsigned int height,
47 int depth); 47 unsigned int depth);
48 48
49 virtual ~FbPixmap(); 49 virtual ~FbPixmap();
50 50
51 void copy(const FbPixmap &the_copy); 51 void copy(const FbPixmap &the_copy);
52 void copy(Pixmap pixmap, int depth_convert, int screen_num); 52 void copy(Pixmap pixmap, unsigned int depth_convert, int screen_num);
53 /// rotates the pixmap to specified orientation (assumes ROT0 now) 53 /// rotates the pixmap to specified orientation (assumes ROT0 now)
54 void rotate(FbTk::Orientation orient); 54 void rotate(FbTk::Orientation orient);
55 /// scales the pixmap to specified size 55 /// scales the pixmap to specified size
@@ -67,7 +67,7 @@ public:
67 inline Drawable drawable() const { return m_pm; } 67 inline Drawable drawable() const { return m_pm; }
68 inline unsigned int width() const { return m_width; } 68 inline unsigned int width() const { return m_width; }
69 inline unsigned int height() const { return m_height; } 69 inline unsigned int height() const { return m_height; }
70 inline int depth() const { return m_depth; } 70 inline unsigned int depth() const { return m_depth; }
71 71
72 static Pixmap getRootPixmap(int screen_num, bool force_update=false); 72 static Pixmap getRootPixmap(int screen_num, bool force_update=false);
73 static void setRootPixmap(int screen_num, Pixmap pm); 73 static void setRootPixmap(int screen_num, Pixmap pm);
@@ -75,13 +75,13 @@ public:
75 75
76 void create(Drawable src, 76 void create(Drawable src,
77 unsigned int width, unsigned int height, 77 unsigned int width, unsigned int height,
78 int depth); 78 unsigned int depth);
79 79
80private: 80private:
81 void free(); 81 void free();
82 Pixmap m_pm; 82 Pixmap m_pm;
83 unsigned int m_width, m_height; 83 unsigned int m_width, m_height;
84 int m_depth; 84 unsigned int m_depth;
85 85
86 /// Functions relating to the maintenance of root window pixmap caching 86 /// Functions relating to the maintenance of root window pixmap caching
87 static void checkAtoms(); 87 static void checkAtoms();