diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Window.hh b/src/Window.hh index 8ce9563..fee2807 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -198,11 +198,11 @@ public: | |||
198 | 198 | ||
199 | // ------------------ | 199 | // ------------------ |
200 | // Per window transparency addons | 200 | // Per window transparency addons |
201 | unsigned char getFocusedAlpha() const { return frame().getAlpha(true); } | 201 | int getFocusedAlpha() const { return frame().getAlpha(true); } |
202 | unsigned char getUnfocusedAlpha() const { return frame().getAlpha(false); } | 202 | int getUnfocusedAlpha() const { return frame().getAlpha(false); } |
203 | void setFocusedAlpha(unsigned char alpha) { frame().setAlpha(true, alpha); } | 203 | void setFocusedAlpha(int alpha) { frame().setAlpha(true, alpha); } |
204 | void setUnfocusedAlpha(unsigned char alpha) { frame().setAlpha(false, alpha); } | 204 | void setUnfocusedAlpha(int alpha) { frame().setAlpha(false, alpha); } |
205 | void updateAlpha(bool focused, unsigned char alpha) { frame().setAlpha(focused, alpha); } | 205 | void updateAlpha(bool focused, int alpha) { frame().setAlpha(focused, alpha); } |
206 | 206 | ||
207 | bool getUseDefaultAlpha() const { return frame().getUseDefaultAlpha(); } | 207 | bool getUseDefaultAlpha() const { return frame().getUseDefaultAlpha(); } |
208 | void setDefaultAlpha() { frame().setDefaultAlpha(); } | 208 | void setDefaultAlpha() { frame().setDefaultAlpha(); } |