aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh
index 7cdf9bb..162bf3d 100644
--- a/src/FbWinFrame.hh
+++ b/src/FbWinFrame.hh
@@ -121,9 +121,9 @@ public:
121 void updateTabProperties() { alignTabs(); } 121 void updateTabProperties() { alignTabs(); }
122 122
123 /// Alpha settings 123 /// Alpha settings
124 void setAlpha(bool focused, unsigned char value); 124 void setAlpha(bool focused, int value);
125 void applyAlpha(); 125 void applyAlpha();
126 unsigned char getAlpha(bool focused) const; 126 int getAlpha(bool focused) const;
127 127
128 void setDefaultAlpha(); 128 void setDefaultAlpha();
129 bool getUseDefaultAlpha() const; 129 bool getUseDefaultAlpha() const;
@@ -377,9 +377,9 @@ private:
377 bool m_need_render; 377 bool m_need_render;
378 int m_button_size; ///< size for all titlebar buttons 378 int m_button_size; ///< size for all titlebar buttons
379 /// alpha values 379 /// alpha values
380 typedef FbTk::ConstObjectAccessor<unsigned char, FbWinFrameTheme> AlphaAcc; 380 typedef FbTk::ConstObjectAccessor<int, FbWinFrameTheme> AlphaAcc;
381 FbTk::DefaultValue<unsigned char, AlphaAcc> m_focused_alpha; 381 FbTk::DefaultValue<int, AlphaAcc> m_focused_alpha;
382 FbTk::DefaultValue<unsigned char, AlphaAcc> m_unfocused_alpha; 382 FbTk::DefaultValue<int, AlphaAcc> m_unfocused_alpha;
383 383
384 FbTk::Shape m_shape; 384 FbTk::Shape m_shape;
385}; 385};