diff options
author | knolax <1339802534.kk@gmail.com> | 2017-03-07 12:06:19 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-03-07 12:06:19 -0500 |
commit | 11fed0a893f0875ed4c643215db738b491aa170e (patch) | |
tree | c2099ef3be3e8d128a68cad20cd03af664637e93 /gui.cpp | |
parent | 8eb0808fecb8c57eff877fddf38db91b1f067921 (diff) |
fixed blending of draw
Diffstat (limited to 'gui.cpp')
-rw-r--r-- | gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,8 +63,9 @@ int butt::press(int x, int y) { int c = boxes.check(x, y); if (c != -1) { states[c] = states[c] ^ TOGGLE; + return 0; } - return 0; + return -1; } //doesn't do anything for now because just press will do the trick int butt::unpress(int index) { |