From efb541eeef2ad839c885c494c3a065f1f7d5dc03 Mon Sep 17 00:00:00 2001 From: Bertram Date: Wed, 2 Sep 2009 23:40:45 +0200 Subject: 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. --- src/gui/widgets/button.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/button.h') 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(); -- cgit v1.2.3-70-g09d2