diff options
Diffstat (limited to 'src/FbTk/Transparent.hh')
-rw-r--r-- | src/FbTk/Transparent.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/Transparent.hh b/src/FbTk/Transparent.hh index 154c223..8e9d9b9 100644 --- a/src/FbTk/Transparent.hh +++ b/src/FbTk/Transparent.hh | |||
@@ -29,10 +29,10 @@ namespace FbTk { | |||
29 | /// renders to drawable together with an alpha mask | 29 | /// renders to drawable together with an alpha mask |
30 | class Transparent { | 30 | class Transparent { |
31 | public: | 31 | public: |
32 | Transparent(Drawable source, Drawable dest, unsigned char alpha, int screen_num); | 32 | Transparent(Drawable source, Drawable dest, int alpha, int screen_num); |
33 | ~Transparent(); | 33 | ~Transparent(); |
34 | /// sets alpha value | 34 | /// sets alpha value |
35 | void setAlpha(unsigned char alpha); | 35 | void setAlpha(int alpha); |
36 | /// sets source drawable | 36 | /// sets source drawable |
37 | void setSource(Drawable src, int screen_num); | 37 | void setSource(Drawable src, int screen_num); |
38 | /// sets destination drawable | 38 | /// sets destination drawable |
@@ -45,7 +45,7 @@ public: | |||
45 | int dest_x, int dest_y, | 45 | int dest_x, int dest_y, |
46 | unsigned int width, unsigned int height) const; | 46 | unsigned int width, unsigned int height) const; |
47 | 47 | ||
48 | unsigned char alpha() const { return m_alpha; } | 48 | int alpha() const { return m_alpha; } |
49 | Drawable dest() const { return m_dest; } | 49 | Drawable dest() const { return m_dest; } |
50 | Drawable source() const { return m_source; } | 50 | Drawable source() const { return m_source; } |
51 | 51 | ||
@@ -55,7 +55,7 @@ public: | |||
55 | 55 | ||
56 | private: | 56 | private: |
57 | void freeAlpha(); | 57 | void freeAlpha(); |
58 | void allocAlpha(unsigned char newval); | 58 | void allocAlpha(int newval); |
59 | unsigned long m_alpha_pic; | 59 | unsigned long m_alpha_pic; |
60 | unsigned long m_src_pic; | 60 | unsigned long m_src_pic; |
61 | unsigned long m_dest_pic; | 61 | unsigned long m_dest_pic; |