From 3b12634e6bc966cb2b2e7f21e9a435cdd20f0bc4 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 17 Oct 2011 17:38:10 +0000 Subject: 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 --- apps/settings.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 36e403b..927b17b 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -562,6 +562,10 @@ struct user_settings int scrollbar_width; #endif +#ifdef HAVE_TOUCHSCREEN + int list_line_padding; +#endif + /* goto current song when exiting WPS */ bool browse_current; /* 1=goto current song, 0=goto previous location */ -- cgit v1.1