summaryrefslogtreecommitdiffstats
path: root/gui/checkbox.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-12 16:56:53 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-12 16:56:53 +0100
commit90447006d2f5362130874dd7db0267f6d9866d0e (patch)
tree4154d813398288628806a67fdc947eb153d802b8 /gui/checkbox.cpp
parentAdd fix permissions to OpenRecoveryScript (diff)
parentAdd vibrations to Checkbox, Fileselect, Listbox and Partitionlist (diff)
downloadandroid_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar.gz
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar.bz2
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar.lz
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar.xz
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.tar.zst
android_bootable_recovery-90447006d2f5362130874dd7db0267f6d9866d0e.zip
Diffstat (limited to 'gui/checkbox.cpp')
-rw-r--r--gui/checkbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/checkbox.cpp b/gui/checkbox.cpp
index b6d5e6348..8739c9c25 100644
--- a/gui/checkbox.cpp
+++ b/gui/checkbox.cpp
@@ -166,6 +166,8 @@ int GUICheckbox::NotifyTouch(TOUCH_STATE state, int x, int y)
DataManager::GetValue(mVarName, lastState);
lastState = (lastState == 0) ? 1 : 0;
DataManager::SetValue(mVarName, lastState);
+
+ DataManager::Vibrate("tw_button_vibrate");
}
return 0;
}