diff options
author | fluxgen <fluxgen> | 2003-09-12 21:34:22 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-12 21:34:22 (GMT) |
commit | 00514c3f0859a147158ddc7efbb952c0b50a3bb0 (patch) | |
tree | f201f7802fb5ed2cc51fc1c8387f57bc957fe3d1 /src/RootTheme.hh | |
parent | b0b517b70c183d5ab6ffc3a49763bb0267be5d6a (diff) | |
download | fluxbox_pavel-00514c3f0859a147158ddc7efbb952c0b50a3bb0.zip fluxbox_pavel-00514c3f0859a147158ddc7efbb952c0b50a3bb0.tar.bz2 |
using FbTk GContext
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r-- | src/RootTheme.hh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh index 9d6cc4f..a23e439 100644 --- a/src/RootTheme.hh +++ b/src/RootTheme.hh | |||
@@ -19,15 +19,17 @@ | |||
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: RootTheme.hh,v 1.3 2003/08/25 16:02:24 fluxgen Exp $ | 22 | // $Id: RootTheme.hh,v 1.4 2003/09/12 21:34:22 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef ROOTTHEME_HH | 24 | #ifndef ROOTTHEME_HH |
25 | #define ROOTTHEME_HH | 25 | #define ROOTTHEME_HH |
26 | 26 | ||
27 | #include "FbTk/Theme.hh" | 27 | #include "FbTk/Theme.hh" |
28 | #include "Color.hh" | 28 | #include "FbTk/Color.hh" |
29 | #include "FbTk/GContext.hh" | ||
29 | 30 | ||
30 | #include <X11/Xlib.h> | 31 | #include <X11/Xlib.h> |
32 | |||
31 | #include <string> | 33 | #include <string> |
32 | 34 | ||
33 | 35 | ||
@@ -44,13 +46,13 @@ public: | |||
44 | 46 | ||
45 | int bevelWidth() const { return *m_bevel_width; } | 47 | int bevelWidth() const { return *m_bevel_width; } |
46 | int handleWidth() const { return *m_handle_width; } | 48 | int handleWidth() const { return *m_handle_width; } |
47 | GC opGC() const { return m_opgc; } | 49 | GC opGC() const { return m_opgc.gc(); } |
48 | 50 | ||
49 | private: | 51 | private: |
50 | FbTk::ThemeItem<std::string> m_root_command; | 52 | FbTk::ThemeItem<std::string> m_root_command; |
51 | FbTk::ThemeItem<int> m_bevel_width, m_handle_width; | 53 | FbTk::ThemeItem<int> m_bevel_width, m_handle_width; |
52 | std::string &m_screen_root_command; ///< string to execute and override theme rootCommand | 54 | std::string &m_screen_root_command; ///< string to execute and override theme rootCommand |
53 | GC m_opgc; | 55 | FbTk::GContext m_opgc; |
54 | }; | 56 | }; |
55 | 57 | ||
56 | #endif // ROOTTHEME_HH | 58 | #endif // ROOTTHEME_HH |