diff options
| author | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-05 17:53:45 +0000 |
|---|---|---|
| committer | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-05 17:53:45 +0000 |
| commit | a39be4b3073ef32a3e33bdbf88f0c1474c7b1931 (patch) | |
| tree | 1f933f70ab0fc45a1aa8b1e95fb24969bd7d5b20 /firmware/export | |
| parent | f7bd7252e14a151217f1a9b7eee6200eb23586a8 (diff) | |
| download | rockbox-a39be4b3073ef32a3e33bdbf88f0c1474c7b1931.zip rockbox-a39be4b3073ef32a3e33bdbf88f0c1474c7b1931.tar.gz rockbox-a39be4b3073ef32a3e33bdbf88f0c1474c7b1931.tar.bz2 rockbox-a39be4b3073ef32a3e33bdbf88f0c1474c7b1931.tar.xz | |
Fix red: Invert buttons in RTL mode
- Revert renaming of button_set_flip()
- Moved rtl flipping logic to apps/actions.c as a static function
- Joined rtl_button_flip_needed() and button_flip_horizontally()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22962 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/button.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 2e75c57..3aac1af 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -42,10 +42,7 @@ int button_status_wdata(int *pdata); #endif void button_clear_queue(void); #ifdef HAVE_LCD_BITMAP -void button_set_flip_vertically(bool flip); /* turn 180 degrees */ -#ifndef BOOTLOADER -int button_flip_horizontally(int button); /* for RTL mode */ -#endif +void button_set_flip(bool flip); /* turn 180 degrees */ #endif #ifdef HAVE_BACKLIGHT void set_backlight_filter_keypress(bool value); |