all repos — fluxbox @ dc0794f762dad6b1b3e29362141ae85ad2eb441b

custom fork of the fluxbox windowmanager

Update texture constant
fluxgen fluxgen
commit

dc0794f762dad6b1b3e29362141ae85ad2eb441b

parent

cb8ac8645e3e6735ac8b825fabfba2caa6ab07ea

1 files changed, 4 insertions(+), 4 deletions(-)

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

@@ -354,7 +354,7 @@ BTexture *texture;

if (title_vis) { tmp = menu.title_pixmap; texture = &(screen->getMenuStyle()->title); - if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { + if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { menu.title_pixmap = None; XSetWindowBackground(display, menu.title, texture->getColor()->getPixel());

@@ -369,7 +369,7 @@ }

tmp = menu.frame_pixmap; texture = &(screen->getMenuStyle()->frame); - if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { + if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { menu.frame_pixmap = None; XSetWindowBackground(display, menu.frame, texture->getColor()->getPixel());

@@ -382,7 +382,7 @@ if (tmp) image_ctrl->removeImage(tmp);

tmp = menu.hilite_pixmap; texture = &(screen->getMenuStyle()->hilite); - if (texture->getTexture() == (BImage_Flat | BImage_Solid)) + if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) menu.hilite_pixmap = None; else menu.hilite_pixmap =

@@ -390,7 +390,7 @@ image_ctrl->renderImage(menu.item_w, menu.item_h, texture);

if (tmp) image_ctrl->removeImage(tmp); tmp = menu.sel_pixmap; - if (texture->getTexture() == (BImage_Flat | BImage_Solid)) + if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) menu.sel_pixmap = None; else { int hw = menu.item_h / 2;