diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-03-01 18:57:33 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-03-01 18:57:33 +0000 |
commit | 4b1882a2c49572a108d1fd3269fe2dd71e62c7bc (patch) | |
tree | 6716829283a923023f6bd667cdb1aeaec5416123 /src/gui/window.cpp | |
parent | b0d90c3fdc77d5b9373cb623f310ea7d30a86c4c (diff) | |
download | mana-4b1882a2c49572a108d1fd3269fe2dd71e62c7bc.tar.gz mana-4b1882a2c49572a108d1fd3269fe2dd71e62c7bc.tar.bz2 mana-4b1882a2c49572a108d1fd3269fe2dd71e62c7bc.tar.xz mana-4b1882a2c49572a108d1fd3269fe2dd71e62c7bc.zip |
Transluency again
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 77cdec03..c32b6dfc 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -55,13 +55,6 @@ Window::Window(const std::string& text, bool modal, Window *parent): dLeftBorder = dBorders->getSubImage(0, 4, 4, 10); dRightBorder = dBorders->getSubImage(7, 4, 4, 10); dLowerBorder = dBorders->getSubImage(4, 15, 3, 4); - - dBackground->setAlpha(0.8f); - dBorders->setAlpha(0.8f); - dUpperBorder->setAlpha(0.8f); - dLeftBorder->setAlpha(0.8f); - dRightBorder->setAlpha(0.8f); - dLowerBorder->setAlpha(0.8f); // Register mouse listener addMouseListener(this); @@ -102,6 +95,13 @@ void Window::draw(gcn::Graphics* graphics) { int x, y; getAbsolutePosition(x, y); + + dBackground->setAlpha(0.8f); + dBorders->setAlpha(0.8f); + dUpperBorder->setAlpha(0.8f); + dLeftBorder->setAlpha(0.8f); + dRightBorder->setAlpha(0.8f); + dLowerBorder->setAlpha(0.8f); // Draw the background dBackground->drawPattern( |