aboutsummaryrefslogtreecommitdiff
path: root/src/TextTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-13 09:54:50 (GMT)
committerfluxgen <fluxgen>2003-08-13 09:54:50 (GMT)
commitdf809ea1b2e6fba80ff74359dd0a562bab8d5a20 (patch)
tree78085d6df91e0847ba0ed48576b58dc939898cd8 /src/TextTheme.cc
parent1222e964167e6b0ebd186e58e2084f95bc4bc75e (diff)
downloadfluxbox_pavel-df809ea1b2e6fba80ff74359dd0a562bab8d5a20.zip
fluxbox_pavel-df809ea1b2e6fba80ff74359dd0a562bab8d5a20.tar.bz2
setAntialias
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}