diff options
author | fluxgen <fluxgen> | 2002-11-15 13:10:48 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-15 13:10:48 (GMT) |
commit | 11a33047895a8b906c095f8ce103956c27a6d41e (patch) | |
tree | ffacfbd6aa201e0cf5af8da99ab66fd78ad09109 | |
parent | 475ae35df0815cfee5e74db0c15ce11fb8aad14f (diff) | |
download | fluxbox_lack-11a33047895a8b906c095f8ce103956c27a6d41e.zip fluxbox_lack-11a33047895a8b906c095f8ce103956c27a6d41e.tar.bz2 |
antialias toggle in toolbar
-rw-r--r-- | src/Theme.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Theme.cc b/src/Theme.cc index c20d27c..d0188cf 100644 --- a/src/Theme.cc +++ b/src/Theme.cc | |||
@@ -21,7 +21,7 @@ | |||
21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
22 | // DEALINGS IN THE SOFTWARE. | 22 | // DEALINGS IN THE SOFTWARE. |
23 | 23 | ||
24 | // $Id: Theme.cc,v 1.33 2002/11/03 10:39:25 fluxgen Exp $ | 24 | // $Id: Theme.cc,v 1.34 2002/11/15 13:10:48 fluxgen Exp $ |
25 | 25 | ||
26 | #ifndef _GNU_SOURCE | 26 | #ifndef _GNU_SOURCE |
27 | #define _GNU_SOURCE | 27 | #define _GNU_SOURCE |
@@ -917,6 +917,10 @@ void Theme::reconfigure(bool antialias) { | |||
917 | XChangeGC(m_display, m_menustyle.hilite_gc, | 917 | XChangeGC(m_display, m_menustyle.hilite_gc, |
918 | gc_value_mask, &gcv); | 918 | gc_value_mask, &gcv); |
919 | 919 | ||
920 | // set antialias ? | ||
921 | if (m_toolbarstyle.font.isAntialias() != antialias) | ||
922 | m_toolbarstyle.font.setAntialias(antialias); | ||
923 | |||
920 | gcv.foreground = m_toolbarstyle.l_text.pixel(); | 924 | gcv.foreground = m_toolbarstyle.l_text.pixel(); |
921 | XChangeGC(m_display, m_toolbarstyle.l_text_gc, | 925 | XChangeGC(m_display, m_toolbarstyle.l_text_gc, |
922 | gc_value_mask, &gcv); | 926 | gc_value_mask, &gcv); |