diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 23:42:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 23:42:17 (GMT) |
| commit | fa201a7aeb6c645801a11a115ef6baeed9edf1e5 (patch) | |
| tree | 616a98dddd3b6f93dd6580f762298690c320b3bf /src/interface/Button.cpp | |
| parent | 6a331fdaf848ce82adc930ad24ac15c5259d2262 (diff) | |
| download | powder-fa201a7aeb6c645801a11a115ef6baeed9edf1e5.zip powder-fa201a7aeb6c645801a11a115ef6baeed9edf1e5.tar.gz | |
Fix some uninitialised variables
Diffstat (limited to 'src/interface/Button.cpp')
| -rw-r--r-- | src/interface/Button.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface/Button.cpp b/src/interface/Button.cpp index 783c297..659aeed 100644 --- a/src/interface/Button.cpp +++ b/src/interface/Button.cpp @@ -21,6 +21,7 @@ Button::Button(Window* parent_state, std::string buttonText): isMouseInside(false), isButtonDown(false), isTogglable(false), + toggle(false), actionCallback(NULL), textPosition(ui::Point(0, 0)), textVAlign(AlignMiddle), @@ -35,6 +36,7 @@ Button::Button(Point position, Point size, std::string buttonText): isMouseInside(false), isButtonDown(false), isTogglable(false), + toggle(false), actionCallback(NULL), textPosition(ui::Point(0, 0)), textVAlign(AlignMiddle), @@ -49,6 +51,7 @@ Button::Button(std::string buttonText): isMouseInside(false), isButtonDown(false), isTogglable(false), + toggle(false), actionCallback(NULL), textPosition(ui::Point(0, 0)), textVAlign(AlignMiddle), |
