diff options
author | rathnor <rathnor> | 2004-09-12 14:56:20 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-09-12 14:56:20 (GMT) |
commit | 42c1fd3ae3dd058e146b7350c65b74386123c25c (patch) | |
tree | cc549c2c7b12c87f8c33198f5b30f00d9dd30bc6 /src/FbWinFrameTheme.hh | |
parent | c39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff) | |
download | fluxbox-42c1fd3ae3dd058e146b7350c65b74386123c25c.zip fluxbox-42c1fd3ae3dd058e146b7350c65b74386123c25c.tar.bz2 |
preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
Diffstat (limited to 'src/FbWinFrameTheme.hh')
-rw-r--r-- | src/FbWinFrameTheme.hh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh index 71f8753..e8397d0 100644 --- a/src/FbWinFrameTheme.hh +++ b/src/FbWinFrameTheme.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrameTheme.hh,v 1.15 2004/01/11 16:13:09 fluxgen Exp $ | 22 | // $Id: FbWinFrameTheme.hh,v 1.16 2004/09/12 14:56:18 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBWINFRAMETHEME_HH | 24 | #ifndef FBWINFRAMETHEME_HH |
25 | #define FBWINFRAMETHEME_HH | 25 | #define FBWINFRAMETHEME_HH |
@@ -94,12 +94,16 @@ public: | |||
94 | 94 | ||
95 | inline Shape::ShapePlace shapePlace() const { return *m_shape_place; } | 95 | inline Shape::ShapePlace shapePlace() const { return *m_shape_place; } |
96 | inline const BorderTheme &border() const { return m_border; } | 96 | inline const BorderTheme &border() const { return m_border; } |
97 | unsigned char alpha() const { return *m_alpha; } | ||
98 | 97 | ||
99 | unsigned int titleHeight() const { return *m_title_height; } | 98 | unsigned int titleHeight() const { return *m_title_height; } |
100 | unsigned int bevelWidth() const { return *m_bevel_width; } | 99 | unsigned int bevelWidth() const { return *m_bevel_width; } |
101 | unsigned int handleWidth() const { return *m_handle_width; } | 100 | unsigned int handleWidth() const { return *m_handle_width; } |
102 | 101 | ||
102 | unsigned char focusedAlpha() const { return m_focused_alpha; } | ||
103 | unsigned char unfocusedAlpha() const { return m_unfocused_alpha; } | ||
104 | void setFocusedAlpha(unsigned char alpha) { m_focused_alpha = alpha; } | ||
105 | void setUnfocusedAlpha(unsigned char alpha) { m_unfocused_alpha = alpha; } | ||
106 | |||
103 | private: | 107 | private: |
104 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus, m_label_active; | 108 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus, m_label_active; |
105 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; | 109 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; |
@@ -114,7 +118,7 @@ private: | |||
114 | FbTk::ThemeItem<FbTk::Justify> m_textjustify; | 118 | FbTk::ThemeItem<FbTk::Justify> m_textjustify; |
115 | FbTk::ThemeItem<Shape::ShapePlace> m_shape_place; | 119 | FbTk::ThemeItem<Shape::ShapePlace> m_shape_place; |
116 | 120 | ||
117 | FbTk::ThemeItem<int> m_alpha, m_title_height, m_bevel_width, m_handle_width; | 121 | FbTk::ThemeItem<int> m_title_height, m_bevel_width, m_handle_width; |
118 | BorderTheme m_border; | 122 | BorderTheme m_border; |
119 | 123 | ||
120 | FbTk::GContext m_label_text_focus_gc, m_label_text_unfocus_gc, m_label_text_active_gc; | 124 | FbTk::GContext m_label_text_focus_gc, m_label_text_unfocus_gc, m_label_text_active_gc; |
@@ -125,6 +129,8 @@ private: | |||
125 | Cursor m_cursor_lower_right_angle; | 129 | Cursor m_cursor_lower_right_angle; |
126 | Cursor m_cursor_upper_left_angle; | 130 | Cursor m_cursor_upper_left_angle; |
127 | Cursor m_cursor_upper_right_angle; | 131 | Cursor m_cursor_upper_right_angle; |
132 | unsigned char m_focused_alpha; | ||
133 | unsigned char m_unfocused_alpha; | ||
128 | }; | 134 | }; |
129 | 135 | ||
130 | #endif // FBWINFRAMETHEME_HH | 136 | #endif // FBWINFRAMETHEME_HH |