aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrameTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-04 12:49:20 (GMT)
committerfluxgen <fluxgen>2003-08-04 12:49:20 (GMT)
commit261ae69cd1fefeb053390853c5cfc83a5a576298 (patch)
tree2ac4693e2cdf3a8e0fec31cbacb91fb189a9266e /src/FbWinFrameTheme.hh
parent10c972f7f790fa3d48d9f41abe4cce2933e8f5e3 (diff)
downloadfluxbox-261ae69cd1fefeb053390853c5cfc83a5a576298.zip
fluxbox-261ae69cd1fefeb053390853c5cfc83a5a576298.tar.bz2
added alpha option for transparent
Diffstat (limited to 'src/FbWinFrameTheme.hh')
-rw-r--r--src/FbWinFrameTheme.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh
index 6acf395..903dfd7 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.6 2003/07/10 11:38:12 fluxgen Exp $ 22// $Id: FbWinFrameTheme.hh,v 1.7 2003/08/04 12:49:20 fluxgen Exp $
23 23
24#ifndef FBWINFRAMETHEME_HH 24#ifndef FBWINFRAMETHEME_HH
25#define FBWINFRAMETHEME_HH 25#define FBWINFRAMETHEME_HH
@@ -88,6 +88,9 @@ public:
88 inline Cursor lowerRightAngleCursor() const { return m_cursor_lower_right_angle; } 88 inline Cursor lowerRightAngleCursor() const { return m_cursor_lower_right_angle; }
89 89
90 inline Shape::ShapePlace shapePlace() const { return *m_shape_place; } 90 inline Shape::ShapePlace shapePlace() const { return *m_shape_place; }
91
92 unsigned char alpha() const { return *m_alpha; }
93
91private: 94private:
92 FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus; 95 FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus;
93 FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; 96 FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus;
@@ -103,8 +106,11 @@ private:
103 FbTk::ThemeItem<FbTk::Justify> m_textjustify; 106 FbTk::ThemeItem<FbTk::Justify> m_textjustify;
104 FbTk::ThemeItem<Shape::ShapePlace> m_shape_place; 107 FbTk::ThemeItem<Shape::ShapePlace> m_shape_place;
105 108
109 FbTk::ThemeItem<int> m_alpha;
110
106 GC m_label_text_focus_gc, m_label_text_unfocus_gc; 111 GC m_label_text_focus_gc, m_label_text_unfocus_gc;
107 GC m_button_pic_focus_gc, m_button_pic_unfocus_gc; 112 GC m_button_pic_focus_gc, m_button_pic_unfocus_gc;
113
108 FbTk::Subject m_theme_change; 114 FbTk::Subject m_theme_change;
109 115
110 Cursor m_cursor_move, m_cursor_lower_left_angle, m_cursor_lower_right_angle; 116 Cursor m_cursor_move, m_cursor_lower_left_angle, m_cursor_lower_right_angle;