diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-14 14:28:26 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-14 14:28:26 -0600 |
commit | 20ad38045482254b9875ee80de44a9b6f9367d2d (patch) | |
tree | d49324d952c6c4197464d98bda1043919594cd13 /src/gui/window.cpp | |
parent | 3575c7a606c2d24c0d444e9999892c0390fa5ae8 (diff) | |
download | mana-20ad38045482254b9875ee80de44a9b6f9367d2d.tar.gz mana-20ad38045482254b9875ee80de44a9b6f9367d2d.tar.bz2 mana-20ad38045482254b9875ee80de44a9b6f9367d2d.tar.xz mana-20ad38045482254b9875ee80de44a9b6f9367d2d.zip |
Exposed the progress bar colors to the color management tab.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 144357ca..e6e79b45 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -675,6 +675,12 @@ void Window::setGuiAlpha() mAlphaChanged = false; } +int Window::getGuiAlpha() +{ + float alpha = config.getValue("guialpha", 0.8); + return (int) (alpha * 255.0f); +} + Layout &Window::getLayout() { if (!mLayout) mLayout = new Layout; |