diff options
-rw-r--r-- | src/FbWinFrameTheme.cc | 6 | ||||
-rw-r--r-- | src/FbWinFrameTheme.hh | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/FbWinFrameTheme.cc b/src/FbWinFrameTheme.cc index e747c03..c084748 100644 --- a/src/FbWinFrameTheme.cc +++ b/src/FbWinFrameTheme.cc | |||
@@ -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.cc,v 1.4 2003/06/11 14:52:45 fluxgen Exp $ | 22 | // $Id: FbWinFrameTheme.cc,v 1.5 2003/07/10 11:38:12 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWinFrameTheme.hh" | 24 | #include "FbWinFrameTheme.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -56,7 +56,9 @@ FbWinFrameTheme::FbWinFrameTheme(int screen_num): | |||
56 | m_button_unfocus_color(*this, "window.button.unfocus.picColor", "Window.Button.Unfocus.PicColor"), | 56 | m_button_unfocus_color(*this, "window.button.unfocus.picColor", "Window.Button.Unfocus.PicColor"), |
57 | 57 | ||
58 | m_font(*this, "window.font", "Window.Font"), | 58 | m_font(*this, "window.font", "Window.Font"), |
59 | m_textjustify(*this, "window.justify", "Window.Justify") { | 59 | m_textjustify(*this, "window.justify", "Window.Justify"), |
60 | m_shape_place(*this, "window.shape", "Window.Shape") { | ||
61 | |||
60 | // create GCs | 62 | // create GCs |
61 | Display *disp = FbTk::App::instance()->display(); | 63 | Display *disp = FbTk::App::instance()->display(); |
62 | Window rootwin = RootWindow(disp, screen_num); | 64 | Window rootwin = RootWindow(disp, screen_num); |
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh index 5bcf90e..6acf395 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.5 2003/06/11 14:52:25 fluxgen Exp $ | 22 | // $Id: FbWinFrameTheme.hh,v 1.6 2003/07/10 11:38:12 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBWINFRAMETHEME_HH | 24 | #ifndef FBWINFRAMETHEME_HH |
25 | #define FBWINFRAMETHEME_HH | 25 | #define FBWINFRAMETHEME_HH |
@@ -30,6 +30,7 @@ | |||
30 | #include "Color.hh" | 30 | #include "Color.hh" |
31 | #include "FbTk/Theme.hh" | 31 | #include "FbTk/Theme.hh" |
32 | #include "Subject.hh" | 32 | #include "Subject.hh" |
33 | #include "Shape.hh" | ||
33 | 34 | ||
34 | class FbWinFrameTheme: public FbTk::Theme { | 35 | class FbWinFrameTheme: public FbTk::Theme { |
35 | public: | 36 | public: |
@@ -86,6 +87,7 @@ public: | |||
86 | inline Cursor lowerLeftAngleCursor() const { return m_cursor_lower_left_angle; } | 87 | inline Cursor lowerLeftAngleCursor() const { return m_cursor_lower_left_angle; } |
87 | inline Cursor lowerRightAngleCursor() const { return m_cursor_lower_right_angle; } | 88 | inline Cursor lowerRightAngleCursor() const { return m_cursor_lower_right_angle; } |
88 | 89 | ||
90 | inline Shape::ShapePlace shapePlace() const { return *m_shape_place; } | ||
89 | private: | 91 | private: |
90 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus; | 92 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus; |
91 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; | 93 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; |
@@ -99,6 +101,7 @@ private: | |||
99 | 101 | ||
100 | FbTk::ThemeItem<FbTk::Font> m_font; | 102 | FbTk::ThemeItem<FbTk::Font> m_font; |
101 | FbTk::ThemeItem<FbTk::Justify> m_textjustify; | 103 | FbTk::ThemeItem<FbTk::Justify> m_textjustify; |
104 | FbTk::ThemeItem<Shape::ShapePlace> m_shape_place; | ||
102 | 105 | ||
103 | GC m_label_text_focus_gc, m_label_text_unfocus_gc; | 106 | GC m_label_text_focus_gc, m_label_text_unfocus_gc; |
104 | GC m_button_pic_focus_gc, m_button_pic_unfocus_gc; | 107 | GC m_button_pic_focus_gc, m_button_pic_unfocus_gc; |