diff options
Diffstat (limited to 'src/gui/smileycontainer.cpp')
-rw-r--r-- | src/gui/smileycontainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/smileycontainer.cpp b/src/gui/smileycontainer.cpp index afe4ce15..d221f55c 100644 --- a/src/gui/smileycontainer.cpp +++ b/src/gui/smileycontainer.cpp @@ -24,6 +24,7 @@ #include <guichan/mouseinput.hpp> #include <guichan/selectionlistener.hpp> +#include "../configuration.h" #include "../graphics.h" #include "../log.h" #include "../smileyshortcut.h" @@ -51,6 +52,8 @@ SmileyContainer::SmileyContainer(): mSelImg = resman->getImage("graphics/gui/selection.png"); if (!mSelImg) logger->error(_("Unable to load selection.png")); + mSelImg->setAlpha(config.getValue("guialpha", 0.8)); + mMaxSmiley = mSmileyImg->size(); addMouseListener(this); |