all repos — fluxbox @ a75bfa59d256fe4fa6e68665e00fe3ade08c04f7

custom fork of the fluxbox windowmanager

Updated texture constants
fluxgen fluxgen
commit

a75bfa59d256fe4fa6e68665e00fe3ade08c04f7

parent

ccd408d988f097012c3b2e7d72b5ab71e6e62055

1 files changed, 6 insertions(+), 7 deletions(-)

jump to
M src/IconBar.ccsrc/IconBar.cc

@@ -22,11 +22,10 @@

#include "IconBar.hh" #include "i18n.hh" -IconBarObj::IconBarObj(FluxboxWindow *fluxboxwin, Window iconwin): -m_fluxboxwin(fluxboxwin), -m_iconwin(iconwin) +IconBarObj::IconBarObj(FluxboxWindow *fluxboxwin, Window iconwin) { - +m_fluxboxwin = fluxboxwin; +m_iconwin = iconwin; } IconBarObj::~IconBarObj() {

@@ -93,10 +92,10 @@ BImageControl *image_ctrl = m_screen->getImageControl();

Pixmap tmp = m_focus_pm; BTexture *texture = &(m_screen->getWindowStyle()->tab.l_focus); - if (texture->getTexture() & BImage_ParentRelative ) { + if (texture->getTexture() & BImage::PARENTRELATIVE ) { BTexture *pt = &(m_screen->getWindowStyle()->tab.t_focus); - if (pt->getTexture() == (BImage_Flat | BImage_Solid)) { + if (pt->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_focus_pm = None; m_focus_pixel = pt->getColor()->getPixel(); } else

@@ -105,7 +104,7 @@ image_ctrl->renderImage(width, height, pt);

} else { - if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { + if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_focus_pm = None; m_focus_pixel = texture->getColor()->getPixel(); } else