[Scummvm-git-logs] scummvm master -> 58e38be05c14da0731221c329a3ccc0869e17fd2
sev-
sev at scummvm.org
Sun Sep 4 12:41:47 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
58e38be05c GUI: Initialize the PicButtonWidget class properly
Commit: 58e38be05c14da0731221c329a3ccc0869e17fd2
https://github.com/scummvm/scummvm/commit/58e38be05c14da0731221c329a3ccc0869e17fd2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-04T12:41:05+02:00
Commit Message:
GUI: Initialize the PicButtonWidget class properly
Changed paths:
gui/widget.cpp
diff --git a/gui/widget.cpp b/gui/widget.cpp
index f6e6d09..898d567 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -398,7 +398,7 @@ void ButtonWidget::setUnpressedState() {
PicButtonWidget::PicButtonWidget(GuiObject *boss, int x, int y, int w, int h, const char *tooltip, uint32 cmd, uint8 hotkey)
: ButtonWidget(boss, x, y, w, h, "", tooltip, cmd, hotkey),
- _alpha(255), _transparency(false), _showButton(true) {
+ _alpha(255), _transparency(false), _showButton(true), _isAlpha(false) {
setFlags(WIDGET_ENABLED/* | WIDGET_BORDER*/ | WIDGET_CLEARBG);
_type = kButtonWidget;
More information about the Scummvm-git-logs
mailing list