diff options
author | Bertram <bertram@cegetel.net> | 2009-09-02 23:40:45 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-09-02 23:40:45 +0200 |
commit | efb541eeef2ad839c885c494c3a065f1f7d5dc03 (patch) | |
tree | f8f912a1aa62dfd902153a8dcb3e9d1549ae8e7c /src/gui/widgets/button.h | |
parent | 63049c5bf3ed38c3cb67edf740ed67f7fed663dd (diff) | |
download | mana-efb541eeef2ad839c885c494c3a065f1f7d5dc03.tar.gz mana-efb541eeef2ad839c885c494c3a065f1f7d5dc03.tar.bz2 mana-efb541eeef2ad839c885c494c3a065f1f7d5dc03.tar.xz mana-efb541eeef2ad839c885c494c3a065f1f7d5dc03.zip |
Added a minimum alpha opacity value handle in SkinLoader and made use of it.
Part 1 of 3 for Mantis #847
Only a few controls follow minimum opacity value at login stage.
Part 2 will make all other controls do the same.
Part 3 will try to set default gui opacity value as a constant.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index eebf7931..7eb7e2ef 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -56,6 +56,11 @@ class Button : public gcn::Button */ void draw(gcn::Graphics *graphics); + /** + * Update the alpha value to the button components. + */ + void updateAlpha(); + private: void init(); |