From e6e43b00526364a7307064e7ceaf409aa0a90bd6 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 1 Jul 2003 12:41:44 +0000 Subject: fixed antialias update on reconfigure --- src/Toolbar.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index f97f2d2..f99d2ad 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.96 2003/06/26 12:22:42 rathnor Exp $ +// $Id: Toolbar.cc,v 1.97 2003/07/01 12:41:44 fluxgen Exp $ #include "Toolbar.hh" @@ -274,6 +274,8 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi // we need to get notified when the theme is reloaded m_theme.addListener(m_themelistener); + // listen to screen reconfigure + screen().reconfigureSig().attach(&m_themelistener); m_layermenu.setInternalMenu(); m_placementmenu.setInternalMenu(); @@ -460,6 +462,8 @@ void Toolbar::lower() { void Toolbar::reconfigure() { + theme().font().setAntialias(screen().antialias()); + if (doAutoHide()) m_hide_timer.start(); -- cgit v0.11.2