diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 09:06:38 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 09:06:38 (GMT) |
commit | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (patch) | |
tree | c722b0dacce3c7c0b1df7bf6ccb2b322bc819f6b /src/FbTk/TextTheme.cc | |
parent | b20b243b48683d209f8134b46c6dcea4df94b6cc (diff) | |
download | fluxbox-60ba709c2f47cc2c7b877aef1b0f297b097853e5.zip fluxbox-60ba709c2f47cc2c7b877aef1b0f297b097853e5.tar.bz2 |
add a level of indirection to themes
Diffstat (limited to 'src/FbTk/TextTheme.cc')
-rw-r--r-- | src/FbTk/TextTheme.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/TextTheme.cc b/src/FbTk/TextTheme.cc index 848ee01..dad002e 100644 --- a/src/FbTk/TextTheme.cc +++ b/src/FbTk/TextTheme.cc | |||
@@ -38,10 +38,10 @@ TextTheme::TextTheme(Theme &theme, | |||
38 | // set default values | 38 | // set default values |
39 | m_text_color->setFromString("white", theme.screenNum()); | 39 | m_text_color->setFromString("white", theme.screenNum()); |
40 | 40 | ||
41 | update(); | 41 | updateTextColor(); |
42 | } | 42 | } |
43 | 43 | ||
44 | void TextTheme::update() { | 44 | void TextTheme::updateTextColor() { |
45 | m_text_gc.setForeground(*m_text_color); | 45 | m_text_gc.setForeground(*m_text_color); |
46 | } | 46 | } |
47 | 47 | ||