summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-29 23:17:19 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-29 23:18:35 +0100
commitd216cc7654163938c0a43d4f2e4a67b0117bb2c8 (patch)
treeaba4c2fe3ca7b71b498081fae5f8c82baebaa6b4 /apps/plugins
parent3e0f2b3e1c0d48a49c68170400babab768430da3 (diff)
downloadrockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.zip
rockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.tar.gz
rockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.tar.bz2
rockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.tar.xz
Remove touchscreen mode setting from reversi. It's now done in do_menu().
Change-Id: I82e1f0050d7102d6191422b268a1a3acdd71501c
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/reversi/reversi-gui.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c
index e25aa5f..e6613d6 100644
--- a/apps/plugins/reversi/reversi-gui.c
+++ b/apps/plugins/reversi/reversi-gui.c
@@ -430,11 +430,6 @@ static bool reversi_gui_menu(void) {
MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE,
MENU_TEXT_WRAP_MODE, "Playback Control", "Quit");
-#ifdef HAVE_TOUCHSCREEN
- /* Entering Menu, set the touchscreen to the global setting */
- rb->touchscreen_set_mode(rb->global_settings->touch_mode);
-#endif
-
result = rb->do_menu(&menu, NULL, NULL, false);
switch (result) {
@@ -478,11 +473,6 @@ static bool reversi_gui_menu(void) {
break;
}
-#ifdef HAVE_TOUCHSCREEN
- /* Leaving the menu, set back to pointer mode */
- rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
-#endif
-
return (result == MENU_ATTACHED_USB);
}