diff options
author | Dees Troy <dees_troy@teamw.in> | 2014-02-07 19:38:55 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2014-02-07 19:38:55 +0100 |
commit | 50b24dd57c4266a34d238b2e7e3278312a685b2d (patch) | |
tree | 0c7be37f026aa24597356f26e0e6542aa5cf06fd /gui/button.cpp | |
parent | Disable alpha blending for non-transparent bitmaps (diff) | |
parent | Add haptic feedback (diff) | |
download | android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.gz android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.bz2 android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.lz android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.xz android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.zst android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/button.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/button.cpp b/gui/button.cpp index be52c277e..ca386beed 100644 --- a/gui/button.cpp +++ b/gui/button.cpp @@ -30,6 +30,7 @@ #include <time.h> #include <unistd.h> #include <stdlib.h> +#include "../data.hpp" #include <string> @@ -280,6 +281,7 @@ int GUIButton::NotifyTouch(TOUCH_STATE state, int x, int y) } else { if (last_state == 0) { last_state = 1; + DataManager::Vibrate("tw_vibrate"); if (mButtonLabel != NULL) mButtonLabel->isHighlighted = true; if (mButtonImg != NULL) |