diff options
-rw-r--r-- | src/Basemenu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc index 80ce8f1..8ed35ef 100644 --- a/src/Basemenu.cc +++ b/src/Basemenu.cc | |||
@@ -354,7 +354,7 @@ void Basemenu::update(void) { | |||
354 | if (title_vis) { | 354 | if (title_vis) { |
355 | tmp = menu.title_pixmap; | 355 | tmp = menu.title_pixmap; |
356 | texture = &(screen->getMenuStyle()->title); | 356 | texture = &(screen->getMenuStyle()->title); |
357 | if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { | 357 | if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { |
358 | menu.title_pixmap = None; | 358 | menu.title_pixmap = None; |
359 | XSetWindowBackground(display, menu.title, | 359 | XSetWindowBackground(display, menu.title, |
360 | texture->getColor()->getPixel()); | 360 | texture->getColor()->getPixel()); |
@@ -369,7 +369,7 @@ void Basemenu::update(void) { | |||
369 | 369 | ||
370 | tmp = menu.frame_pixmap; | 370 | tmp = menu.frame_pixmap; |
371 | texture = &(screen->getMenuStyle()->frame); | 371 | texture = &(screen->getMenuStyle()->frame); |
372 | if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { | 372 | if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { |
373 | menu.frame_pixmap = None; | 373 | menu.frame_pixmap = None; |
374 | XSetWindowBackground(display, menu.frame, | 374 | XSetWindowBackground(display, menu.frame, |
375 | texture->getColor()->getPixel()); | 375 | texture->getColor()->getPixel()); |
@@ -382,7 +382,7 @@ void Basemenu::update(void) { | |||
382 | 382 | ||
383 | tmp = menu.hilite_pixmap; | 383 | tmp = menu.hilite_pixmap; |
384 | texture = &(screen->getMenuStyle()->hilite); | 384 | texture = &(screen->getMenuStyle()->hilite); |
385 | if (texture->getTexture() == (BImage_Flat | BImage_Solid)) | 385 | if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) |
386 | menu.hilite_pixmap = None; | 386 | menu.hilite_pixmap = None; |
387 | else | 387 | else |
388 | menu.hilite_pixmap = | 388 | menu.hilite_pixmap = |
@@ -390,7 +390,7 @@ void Basemenu::update(void) { | |||
390 | if (tmp) image_ctrl->removeImage(tmp); | 390 | if (tmp) image_ctrl->removeImage(tmp); |
391 | 391 | ||
392 | tmp = menu.sel_pixmap; | 392 | tmp = menu.sel_pixmap; |
393 | if (texture->getTexture() == (BImage_Flat | BImage_Solid)) | 393 | if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) |
394 | menu.sel_pixmap = None; | 394 | menu.sel_pixmap = None; |
395 | else { | 395 | else { |
396 | int hw = menu.item_h / 2; | 396 | int hw = menu.item_h / 2; |