summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-13 22:05:03 (GMT)
committerfluxgen <fluxgen>2001-12-13 22:05:03 (GMT)
commit5292c3e7ad5f2e198e450709fb4d0c16f2a36025 (patch)
tree30639a9e4106185ed0b59dc416c596cd0a93e87d /src
parent06d0a5d50776f1bd289c1bd7f671790a18c0a70d (diff)
downloadfluxbox_lack-5292c3e7ad5f2e198e450709fb4d0c16f2a36025.zip
fluxbox_lack-5292c3e7ad5f2e198e450709fb4d0c16f2a36025.tar.bz2
Updated Toolbar alignment
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 214a64f..ce300a7 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -645,14 +645,14 @@ void Toolbar::checkClock(Bool redraw, Bool date) {
645 } 645 }
646 646
647 switch (screen->getToolbarStyle()->font.justify) { 647 switch (screen->getToolbarStyle()->font.justify) {
648 case FFont::Right: 648 case Misc::Font::RIGHT:
649 dx += frame.clock_w - l; 649 dx += frame.clock_w - l;
650 break; 650 break;
651 651
652 case FFont::Center: 652 case Misc::Font::CENTER:
653 dx += (frame.clock_w - l) / 2; 653 dx += (frame.clock_w - l) / 2;
654 break; 654 break;
655 default: 655 default: //LEFT
656 break; 656 break;
657 } 657 }
658 658
@@ -711,11 +711,11 @@ void Toolbar::redrawWindowLabel(Bool redraw) {
711 } 711 }
712 } 712 }
713 switch (screen->getToolbarStyle()->font.justify) { 713 switch (screen->getToolbarStyle()->font.justify) {
714 case FFont::Right: 714 case Misc::Font::RIGHT:
715 dx += frame.window_label_w - l; 715 dx += frame.window_label_w - l;
716 break; 716 break;
717 717
718 case FFont::Center: 718 case Misc::Font::CENTER:
719 dx += (frame.window_label_w - l) / 2; 719 dx += (frame.window_label_w - l) / 2;
720 break; 720 break;
721 default: 721 default:
@@ -789,11 +789,11 @@ void Toolbar::redrawWorkspaceLabel(Bool redraw) {
789 } 789 }
790 790
791 switch (screen->getToolbarStyle()->font.justify) { 791 switch (screen->getToolbarStyle()->font.justify) {
792 case FFont::Right: 792 case Misc::Font::RIGHT:
793 dx += frame.workspace_label_w - l; 793 dx += frame.workspace_label_w - l;
794 break; 794 break;
795 795
796 case FFont::Center: 796 case Misc::Font::CENTER:
797 dx += (frame.workspace_label_w - l) / 2; 797 dx += (frame.workspace_label_w - l) / 2;
798 break; 798 break;
799 default: 799 default: