summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.h
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-09-02 23:40:45 +0200
committerBertram <bertram@cegetel.net>2009-09-02 23:40:45 +0200
commitefb541eeef2ad839c885c494c3a065f1f7d5dc03 (patch)
treef8f912a1aa62dfd902153a8dcb3e9d1549ae8e7c /src/gui/widgets/checkbox.h
parent63049c5bf3ed38c3cb67edf740ed67f7fed663dd (diff)
downloadmana-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/checkbox.h')
-rw-r--r--src/gui/widgets/checkbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h
index 7a7c8674..a65a5196 100644
--- a/src/gui/widgets/checkbox.h
+++ b/src/gui/widgets/checkbox.h
@@ -51,6 +51,11 @@ class CheckBox : public gcn::CheckBox
void draw(gcn::Graphics* graphics);
/**
+ * Update the alpha value to the checkbox components.
+ */
+ void updateAlpha();
+
+ /**
* Draws the check box, not the caption.
*/
void drawBox(gcn::Graphics* graphics);