diff options
Diffstat (limited to 'src/TextTheme.cc')
-rw-r--r-- | src/TextTheme.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/TextTheme.cc b/src/TextTheme.cc index bebf010..f23e030 100644 --- a/src/TextTheme.cc +++ b/src/TextTheme.cc | |||
@@ -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.cc,v 1.6 2003/08/27 18:05:12 fluxgen Exp $ | 23 | // $Id: TextTheme.cc,v 1.7 2004/08/29 08:33:12 rathnor Exp $ |
24 | 24 | ||
25 | #include "TextTheme.hh" | 25 | #include "TextTheme.hh" |
26 | 26 | ||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include <X11/Xlib.h> | 29 | #include <X11/Xlib.h> |
30 | 30 | ||
31 | TextTheme::TextTheme(FbTk::Theme &theme, | 31 | TextTheme::TextTheme(FbTk::Theme &theme, |
32 | const std::string &name, const std::string &altname): | 32 | const std::string &name, const std::string &altname): |
33 | m_font(theme, name + ".font", altname + ".Font"), | 33 | m_font(theme, name + ".font", altname + ".Font"), |
34 | m_text_color(theme, name + ".textColor", altname + ".TextColor"), | 34 | m_text_color(theme, name + ".textColor", altname + ".TextColor"), |
@@ -49,6 +49,7 @@ TextTheme::~TextTheme() { | |||
49 | void TextTheme::update() { | 49 | void TextTheme::update() { |
50 | m_text_gc.setForeground(*m_text_color); | 50 | m_text_gc.setForeground(*m_text_color); |
51 | } | 51 | } |
52 | |||
52 | 53 | ||
53 | void TextTheme::setAntialias(bool value) { | 54 | void TextTheme::setAntialias(bool value) { |
54 | font().setAntialias(value); | 55 | font().setAntialias(value); |