diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2013-05-06 07:20:40 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 15:14:16 +0100 |
| commit | 05a67d021c8fbb10b2654f8378b549901dd4c520 (patch) | |
| tree | 23d0fa787d7373bf2ea08d1678cff47306a1a55d /apps/settings.h | |
| parent | 20e114c1a0f086e432f374fe0ecebf014a571448 (diff) | |
| download | rockbox-05a67d021c8fbb10b2654f8378b549901dd4c520.zip rockbox-05a67d021c8fbb10b2654f8378b549901dd4c520.tar.gz rockbox-05a67d021c8fbb10b2654f8378b549901dd4c520.tar.bz2 rockbox-05a67d021c8fbb10b2654f8378b549901dd4c520.tar.xz | |
Touchscreen: Show a line separator in lists.
This patch adds a configurable line separator between list items, very
similar to lists in Android. Additionally, below the list item there is a
thicker line. It can be disabled in the settings. Its color can
be configured as well.
Remote and monochrome displays are explicitly unsupported. If there is desire
this can be changed but it doesn't seem useful to me.
Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h index 62ae038..5b876d3 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -531,12 +531,15 @@ struct user_settings #ifdef HAVE_LCD_BITMAP int scrollbar; /* SCROLLBAR_* enum values */ int scrollbar_width; -#endif #ifdef HAVE_TOUCHSCREEN int list_line_padding; #endif - +#if LCD_DEPTH > 1 + int list_separator_height; /* -1=auto (== 1 currently), 0=disabled, X=height in pixels */ + int list_separator_color; +#endif +#endif /* goto current song when exiting WPS */ bool browse_current; /* 1=goto current song, 0=goto previous location */ |