diff options
author | fluxgen <fluxgen> | 2003-08-13 09:54:50 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-13 09:54:50 (GMT) |
commit | df809ea1b2e6fba80ff74359dd0a562bab8d5a20 (patch) | |
tree | 78085d6df91e0847ba0ed48576b58dc939898cd8 /src/TextTheme.cc | |
parent | 1222e964167e6b0ebd186e58e2084f95bc4bc75e (diff) | |
download | fluxbox-df809ea1b2e6fba80ff74359dd0a562bab8d5a20.zip fluxbox-df809ea1b2e6fba80ff74359dd0a562bab8d5a20.tar.bz2 |
setAntialias
Diffstat (limited to 'src/TextTheme.cc')
-rw-r--r-- | src/TextTheme.cc | 7 |
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 | |||
56 | void TextTheme::setAntialias(bool value) { | ||
57 | font().setAntialias(value); | ||
58 | FbTk::ThemeManager::instance().loadItem(m_font); | ||
59 | } | ||