diff options
author | pekdon <pekdon> | 2002-01-06 09:37:50 (GMT) |
---|---|---|
committer | pekdon <pekdon> | 2002-01-06 09:37:50 (GMT) |
commit | edb664f92912d5fed2c6f12489741de5ad6aa4e2 (patch) | |
tree | 3566b54a02b1ee20390f3616b48e743dfd1ba11a /src/Window.cc | |
parent | 69ebd4b8dca1acd5eb4bf18d668a706e9418bd2e (diff) | |
download | fluxbox_pavel-edb664f92912d5fed2c6f12489741de5ad6aa4e2.zip fluxbox_pavel-edb664f92912d5fed2c6f12489741de5ad6aa4e2.tar.bz2 |
Changed toolbar placement enums to uppercase letters. (Claes N�st�n)
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Window.cc b/src/Window.cc index 834c555..7275ba3 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1847,9 +1847,9 @@ void FluxboxWindow::maximize(unsigned int button) { | |||
1847 | case Slit::TopRight: | 1847 | case Slit::TopRight: |
1848 | slitModT = mSlt->getHeight() + screen->getBevelWidth(); | 1848 | slitModT = mSlt->getHeight() + screen->getBevelWidth(); |
1849 | switch (screen->getToolbarPlacement()) { | 1849 | switch (screen->getToolbarPlacement()) { |
1850 | case Toolbar::TopLeft: | 1850 | case Toolbar::TOPLEFT: |
1851 | case Toolbar::TopCenter: | 1851 | case Toolbar::TOPCENTER: |
1852 | case Toolbar::TopRight: | 1852 | case Toolbar::TOPRIGHT: |
1853 | slitModT -= screen->getToolbar()->getExposedHeight() + screen->getBorderWidth(); | 1853 | slitModT -= screen->getToolbar()->getExposedHeight() + screen->getBorderWidth(); |
1854 | break; | 1854 | break; |
1855 | } | 1855 | } |
@@ -1857,9 +1857,9 @@ void FluxboxWindow::maximize(unsigned int button) { | |||
1857 | default: | 1857 | default: |
1858 | slitModB = mSlt->getHeight() + screen->getBevelWidth(); | 1858 | slitModB = mSlt->getHeight() + screen->getBevelWidth(); |
1859 | switch (screen->getToolbarPlacement()) { | 1859 | switch (screen->getToolbarPlacement()) { |
1860 | case Toolbar::BottomLeft: | 1860 | case Toolbar::BOTTOMLEFT: |
1861 | case Toolbar::BottomCenter: | 1861 | case Toolbar::BOTTOMCENTER: |
1862 | case Toolbar::BottomRight: | 1862 | case Toolbar::BOTTOMRIGHT: |
1863 | slitModB -= screen->getToolbar()->getExposedHeight() + screen->getBorderWidth(); | 1863 | slitModB -= screen->getToolbar()->getExposedHeight() + screen->getBorderWidth(); |
1864 | break; | 1864 | break; |
1865 | } | 1865 | } |
@@ -1916,9 +1916,9 @@ void FluxboxWindow::maximize(unsigned int button) { | |||
1916 | - dh) / 2) - screen->getBorderWidth2x(); | 1916 | - dh) / 2) - screen->getBorderWidth2x(); |
1917 | 1917 | ||
1918 | switch (screen->getToolbarPlacement()) { | 1918 | switch (screen->getToolbarPlacement()) { |
1919 | case Toolbar::TopLeft: | 1919 | case Toolbar::TOPLEFT: |
1920 | case Toolbar::TopCenter: | 1920 | case Toolbar::TOPCENTER: |
1921 | case Toolbar::TopRight: | 1921 | case Toolbar::TOPRIGHT: |
1922 | dy += screen->getToolbar()->getExposedHeight() + | 1922 | dy += screen->getToolbar()->getExposedHeight() + |
1923 | screen->getBorderWidth2x(); | 1923 | screen->getBorderWidth2x(); |
1924 | break; | 1924 | break; |
@@ -3009,9 +3009,9 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent *me) { | |||
3009 | 3009 | ||
3010 | int dtty, dbby, dty, dby; | 3010 | int dtty, dbby, dty, dby; |
3011 | switch (screen->getToolbarPlacement()) { | 3011 | switch (screen->getToolbarPlacement()) { |
3012 | case Toolbar::TopLeft: | 3012 | case Toolbar::TOPLEFT: |
3013 | case Toolbar::TopCenter: | 3013 | case Toolbar::TOPCENTER: |
3014 | case Toolbar::TopRight: | 3014 | case Toolbar::TOPRIGHT: |
3015 | dtty = screen->getToolbar()->getExposedHeight() + | 3015 | dtty = screen->getToolbar()->getExposedHeight() + |
3016 | screen->getBorderWidth(); | 3016 | screen->getBorderWidth(); |
3017 | dbby = screen->getHeight(); | 3017 | dbby = screen->getHeight(); |