diff options
author | fluxgen <fluxgen> | 2003-08-27 18:05:12 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-27 18:05:12 (GMT) |
commit | 84c9a6a804814b46dec0c0d56e586d4edfa8ed12 (patch) | |
tree | 41c24380ebc14077a0e85391535b2fba391321b9 /src/TextTheme.hh | |
parent | 1c3ddb390bf8abd95fe26e5b32eac17b02453461 (diff) | |
download | fluxbox-84c9a6a804814b46dec0c0d56e586d4edfa8ed12.zip fluxbox-84c9a6a804814b46dec0c0d56e586d4edfa8ed12.tar.bz2 |
using FbTk GContext
Diffstat (limited to 'src/TextTheme.hh')
-rw-r--r-- | src/TextTheme.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/TextTheme.hh b/src/TextTheme.hh index 0764aca..d24b201 100644 --- a/src/TextTheme.hh +++ b/src/TextTheme.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: TextTheme.hh,v 1.2 2003/08/13 09:54:30 fluxgen Exp $ | 23 | // $Id: TextTheme.hh,v 1.3 2003/08/27 18:05:12 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef TEXTTHEME_HH | 25 | #ifndef TEXTTHEME_HH |
26 | #define TEXTTHEME_HH | 26 | #define TEXTTHEME_HH |
@@ -29,6 +29,7 @@ | |||
29 | #include "FbTk/Font.hh" | 29 | #include "FbTk/Font.hh" |
30 | #include "FbTk/Color.hh" | 30 | #include "FbTk/Color.hh" |
31 | #include "FbTk/Text.hh" | 31 | #include "FbTk/Text.hh" |
32 | #include "FbTk/GContext.hh" | ||
32 | 33 | ||
33 | class TextTheme { | 34 | class TextTheme { |
34 | public: | 35 | public: |
@@ -43,12 +44,12 @@ public: | |||
43 | const FbTk::Font &font() const { return *m_font; } | 44 | const FbTk::Font &font() const { return *m_font; } |
44 | const FbTk::Color &textColor() const { return *m_text_color; } | 45 | const FbTk::Color &textColor() const { return *m_text_color; } |
45 | FbTk::Justify justify() const { return *m_justify; } | 46 | FbTk::Justify justify() const { return *m_justify; } |
46 | GC textGC() const { return m_text_gc; } | 47 | GC textGC() const { return m_text_gc.gc(); } |
47 | private: | 48 | private: |
48 | FbTk::ThemeItem<FbTk::Font> m_font; | 49 | FbTk::ThemeItem<FbTk::Font> m_font; |
49 | FbTk::ThemeItem<FbTk::Color> m_text_color; | 50 | FbTk::ThemeItem<FbTk::Color> m_text_color; |
50 | FbTk::ThemeItem<FbTk::Justify> m_justify; | 51 | FbTk::ThemeItem<FbTk::Justify> m_justify; |
51 | GC m_text_gc; | 52 | FbTk::GContext m_text_gc; |
52 | }; | 53 | }; |
53 | 54 | ||
54 | #endif // TEXTTHEME_HH | 55 | #endif // TEXTTHEME_HH |