need to know when alpha changes
fluxgen fluxgen
2 files changed,
4 insertions(+),
2 deletions(-)
M
src/Slit.cc
→
src/Slit.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@
// 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
M
src/Toolbar.cc
→
src/Toolbar.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ // we need to get notified when the theme is reloaded
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());