From 11a33047895a8b906c095f8ce103956c27a6d41e Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 15 Nov 2002 13:10:48 +0000 Subject: antialias toggle in toolbar --- src/Theme.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.33 2002/11/03 10:39:25 fluxgen Exp $ +// $Id: Theme.cc,v 1.34 2002/11/15 13:10:48 fluxgen Exp $ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -917,6 +917,10 @@ void Theme::reconfigure(bool antialias) { XChangeGC(m_display, m_menustyle.hilite_gc, gc_value_mask, &gcv); + // set antialias ? + if (m_toolbarstyle.font.isAntialias() != antialias) + m_toolbarstyle.font.setAntialias(antialias); + gcv.foreground = m_toolbarstyle.l_text.pixel(); XChangeGC(m_display, m_toolbarstyle.l_text_gc, gc_value_mask, &gcv); -- cgit v0.11.2