diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-29 23:17:19 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-29 23:18:35 +0100 |
commit | d216cc7654163938c0a43d4f2e4a67b0117bb2c8 (patch) | |
tree | aba4c2fe3ca7b71b498081fae5f8c82baebaa6b4 /apps/plugins/reversi | |
parent | 3e0f2b3e1c0d48a49c68170400babab768430da3 (diff) | |
download | rockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.tar.gz rockbox-d216cc7654163938c0a43d4f2e4a67b0117bb2c8.zip |
Remove touchscreen mode setting from reversi. It's now done in do_menu().
Change-Id: I82e1f0050d7102d6191422b268a1a3acdd71501c
Diffstat (limited to 'apps/plugins/reversi')
-rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index e25aa5fe3e..e6613d6a25 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) { | |||
430 | MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE, | 430 | MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE, |
431 | MENU_TEXT_WRAP_MODE, "Playback Control", "Quit"); | 431 | MENU_TEXT_WRAP_MODE, "Playback Control", "Quit"); |
432 | 432 | ||
433 | #ifdef HAVE_TOUCHSCREEN | ||
434 | /* Entering Menu, set the touchscreen to the global setting */ | ||
435 | rb->touchscreen_set_mode(rb->global_settings->touch_mode); | ||
436 | #endif | ||
437 | |||
438 | result = rb->do_menu(&menu, NULL, NULL, false); | 433 | result = rb->do_menu(&menu, NULL, NULL, false); |
439 | 434 | ||
440 | switch (result) { | 435 | switch (result) { |
@@ -478,11 +473,6 @@ static bool reversi_gui_menu(void) { | |||
478 | break; | 473 | break; |
479 | } | 474 | } |
480 | 475 | ||
481 | #ifdef HAVE_TOUCHSCREEN | ||
482 | /* Leaving the menu, set back to pointer mode */ | ||
483 | rb->touchscreen_set_mode(TOUCHSCREEN_POINT); | ||
484 | #endif | ||
485 | |||
486 | return (result == MENU_ATTACHED_USB); | 476 | return (result == MENU_ATTACHED_USB); |
487 | } | 477 | } |
488 | 478 | ||