aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-17 15:05:49 +0200
committerEugene Sandulenko2016-04-17 15:05:49 +0200
commitee8eb5f1607abaefae41bdf0d3f2e2ae7b18b3c7 (patch)
treeb16c1d1349c70a1bf8a8c203b122caadf5652dc8 /gui/widget.h
parentbefa0514cdf05e5a595bfd98d5c4f7d07541f24d (diff)
parente30a94e6ffedf29a6630e04fa2448017fe1c0a75 (diff)
downloadscummvm-rg350-ee8eb5f1607abaefae41bdf0d3f2e2ae7b18b3c7.tar.gz
scummvm-rg350-ee8eb5f1607abaefae41bdf0d3f2e2ae7b18b3c7.tar.bz2
scummvm-rg350-ee8eb5f1607abaefae41bdf0d3f2e2ae7b18b3c7.zip
Merge pull request #749 from salty-horse/sticky_buttons
GUI: Remove 'sticky button' feature
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gui/widget.h b/gui/widget.h
index 4f181954b5..7f6f0c0533 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -201,17 +201,12 @@ public:
void handleMouseDown(int x, int y, int button, int clickCount);
void handleMouseEntered(int button) { if (_duringPress) { setFlags(WIDGET_PRESSED); } else { setFlags(WIDGET_HILITED); } draw(); }
void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED | WIDGET_PRESSED); draw(); }
- void handleTickle();
void setHighLighted(bool enable);
void setPressedState();
- void startAnimatePressedState();
- void stopAnimatePressedState();
-
- void lostFocusWidget() { stopAnimatePressedState(); }
+ void setUnpressedState();
protected:
void drawWidget();
- void wantTickle(bool tickled);
bool _duringPress;
private:
uint32 _lastTime;