aboutsummaryrefslogtreecommitdiff
path: root/src/TextTheme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextTheme.cc')
-rw-r--r--src/TextTheme.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/TextTheme.cc b/src/TextTheme.cc
index b54adcf..264975f 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.2 2003/08/12 00:20:47 fluxgen Exp $ 23// $Id: TextTheme.cc,v 1.3 2003/08/13 09:54:50 fluxgen Exp $
24 24
25#include "TextTheme.hh" 25#include "TextTheme.hh"
26 26
@@ -52,3 +52,8 @@ void TextTheme::update() {
52 XChangeGC(FbTk::App::instance()->display(), m_text_gc, 52 XChangeGC(FbTk::App::instance()->display(), m_text_gc,
53 GCForeground, &gcv); 53 GCForeground, &gcv);
54} 54}
55
56void TextTheme::setAntialias(bool value) {
57 font().setAntialias(value);
58 FbTk::ThemeManager::instance().loadItem(m_font);
59}