aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-29 11:39:34 (GMT)
committerfluxgen <fluxgen>2001-12-29 11:39:34 (GMT)
commita29e46aa9fa5f686d5ef8815df29f56ff6c04cca (patch)
treeb5365f6d4d522fcbe56f20564a9f3e4164c0e8e0 /src/Toolbar.cc
parentbc53e48abb2889e8fbaf99c52ca23d1fc354b9f3 (diff)
downloadfluxbox_pavel-a29e46aa9fa5f686d5ef8815df29f56ff6c04cca.zip
fluxbox_pavel-a29e46aa9fa5f686d5ef8815df29f56ff6c04cca.tar.bz2
Updated texture constants
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index ce300a7..6a6dcc8 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -391,7 +391,7 @@ void Toolbar::reconfigure(void) {
391 391
392 Pixmap tmp = frame.base; 392 Pixmap tmp = frame.base;
393 BTexture *texture = &(screen->getToolbarStyle()->toolbar); 393 BTexture *texture = &(screen->getToolbarStyle()->toolbar);
394 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 394 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
395 frame.base = None; 395 frame.base = None;
396 XSetWindowBackground(display, frame.window, 396 XSetWindowBackground(display, frame.window,
397 texture->getColor()->getPixel()); 397 texture->getColor()->getPixel());
@@ -404,7 +404,7 @@ void Toolbar::reconfigure(void) {
404 404
405 tmp = frame.label; 405 tmp = frame.label;
406 texture = &(screen->getToolbarStyle()->window); 406 texture = &(screen->getToolbarStyle()->window);
407 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 407 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
408 frame.label = None; 408 frame.label = None;
409 XSetWindowBackground(display, frame.window_label, 409 XSetWindowBackground(display, frame.window_label,
410 texture->getColor()->getPixel()); 410 texture->getColor()->getPixel());
@@ -417,7 +417,7 @@ void Toolbar::reconfigure(void) {
417 417
418 tmp = frame.wlabel; 418 tmp = frame.wlabel;
419 texture = &(screen->getToolbarStyle()->label); 419 texture = &(screen->getToolbarStyle()->label);
420 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 420 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
421 frame.wlabel = None; 421 frame.wlabel = None;
422 XSetWindowBackground(display, frame.workspace_label, 422 XSetWindowBackground(display, frame.workspace_label,
423 texture->getColor()->getPixel()); 423 texture->getColor()->getPixel());
@@ -430,7 +430,7 @@ void Toolbar::reconfigure(void) {
430 430
431 tmp = frame.clk; 431 tmp = frame.clk;
432 texture = &(screen->getToolbarStyle()->clock); 432 texture = &(screen->getToolbarStyle()->clock);
433 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 433 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
434 frame.clk = None; 434 frame.clk = None;
435 XSetWindowBackground(display, frame.clock, 435 XSetWindowBackground(display, frame.clock,
436 texture->getColor()->getPixel()); 436 texture->getColor()->getPixel());
@@ -443,7 +443,7 @@ void Toolbar::reconfigure(void) {
443 443
444 tmp = frame.button; 444 tmp = frame.button;
445 texture = &(screen->getToolbarStyle()->button); 445 texture = &(screen->getToolbarStyle()->button);
446 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 446 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
447 frame.button = None; 447 frame.button = None;
448 448
449 frame.button_pixel = texture->getColor()->getPixel(); 449 frame.button_pixel = texture->getColor()->getPixel();
@@ -464,7 +464,7 @@ void Toolbar::reconfigure(void) {
464 464
465 tmp = frame.pbutton; 465 tmp = frame.pbutton;
466 texture = &(screen->getToolbarStyle()->pressed); 466 texture = &(screen->getToolbarStyle()->pressed);
467 if (texture->getTexture() == (BImage_Flat | BImage_Solid)) { 467 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
468 frame.pbutton = None; 468 frame.pbutton = None;
469 frame.pbutton_pixel = texture->getColor()->getPixel(); 469 frame.pbutton_pixel = texture->getColor()->getPixel();
470 } else 470 } else