diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-10 13:42:43 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-10 13:42:43 -0700 |
commit | f634a2811c613d6ec43915841b37b66d54e2d4d4 (patch) | |
tree | 4195b9ef6baac725b8abacddd764f42dbf6492ba /src/gui/scrollarea.cpp | |
parent | d80a7f02c4e1b9f9a728364b61118cc25d872a58 (diff) | |
download | mana-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.gz mana-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.bz2 mana-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.xz mana-f634a2811c613d6ec43915841b37b66d54e2d4d4.zip |
Made a few more window components use a transparency under OpenGL, as
well as some code style cleanups in the skill dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/scrollarea.cpp')
-rw-r--r-- | src/gui/scrollarea.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index 032e3f78..ba119a61 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -23,6 +23,7 @@ #include "scrollarea.h" +#include "../configuration.h" #include "../graphics.h" #include "../resources/image.h" @@ -94,6 +95,7 @@ void ScrollArea::init() bggridx[x], bggridy[y], bggridx[x + 1] - bggridx[x] + 1, bggridy[y + 1] - bggridy[y] + 1); + background.grid[a]->setAlpha(config.getValue("guialpha", 0.8)); a++; } } @@ -112,6 +114,7 @@ void ScrollArea::init() vsgridx[x], vsgridy[y], vsgridx[x + 1] - vsgridx[x], vsgridy[y + 1] - vsgridy[y]); + vMarker.grid[a]->setAlpha(config.getValue("guialpha", 0.8)); a++; } } |