From 1a98c78272b7d866cda1b3ee72afae0c270d8358 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 30 Aug 2003 01:02:09 +0000 Subject: need to know when alpha changes --- src/Slit.cc | 3 ++- src/Toolbar.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Slit.cc b/src/Slit.cc index a9a3f35..a16bfb8 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.79 2003/08/29 10:30:46 fluxgen Exp $ +// $Id: Slit.cc,v 1.80 2003/08/30 01:01:47 fluxgen Exp $ #include "Slit.hh" @@ -283,6 +283,7 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename) // attach to theme and root window change signal m_slit_theme->reconfigSig().attach(this); scr.resizeSig().attach(this); + scr.reconfigureSig().attach(this); // if alpha changed (we disablethis signal when we get theme change sig) frame.pixmap = None; // setup timer diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 5d508e4..0b657cd 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.120 2003/08/29 00:44:41 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.121 2003/08/30 01:02:09 fluxgen Exp $ #include "Toolbar.hh" @@ -260,6 +260,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi m_theme.reconfigSig().attach(this); // listen to screen size changes screen().resizeSig().attach(this); + screen().reconfigureSig().attach(this); // if alpha value changes moveToLayer((*m_rc_layernum).getNum()); -- cgit v0.11.2