diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 17:38:10 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 17:38:10 +0000 |
| commit | 3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4 (patch) | |
| tree | 2f103d5b58b4a22f65e9fd02de4a720022034121 /apps/gui/icon.h | |
| parent | 859cd4b627a48cab8273d8f4d04e2afeb0ee7c87 (diff) | |
| download | rockbox-3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4.zip rockbox-3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4.tar.gz rockbox-3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4.tar.bz2 rockbox-3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4.tar.xz | |
Commit FS#12321 - Touchscreen: List line padding, to more easily select lines
This adds line padding to lists on touchscreens,
in order to make lists reasonably useful without huge fonts.
It's configurable:
* Automatic (default, line height calculated using a lcd dpi aware function)
* Off (status quo, line height = font height)
* X pixels (from 2 to 50 in even steps)
The automatic setting should/aims to Just Work Out Of The Box on all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30773 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/icon.h')
| -rw-r--r-- | apps/gui/icon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/icon.h b/apps/gui/icon.h index e79defe..ca7f048 100644 --- a/apps/gui/icon.h +++ b/apps/gui/icon.h @@ -109,8 +109,11 @@ void icons_init(void); #ifdef HAVE_LCD_CHARCELLS # define CURSOR_CHAR 0xe10c # define get_icon_width(a) 6 +# define get_icon_height(a) 1 /* needs to be verified */ #else int get_icon_width(enum screen_type screen_type); +int get_icon_height(enum screen_type screen_type); #endif + #endif /*_GUI_ICON_H_*/ |