diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-09-24 19:12:09 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-24 19:12:09 +0000 |
| commit | a7dcf912e1be349da3dadeaf235ee4faf5e9dbaa (patch) | |
| tree | 5bc79ed6c56a86ffded950f3679368408c0c758e /apps/settings.h | |
| parent | cae1d3b115821b055bd528f08ee5179f2d85ff8f (diff) | |
| download | rockbox-a7dcf912e1be349da3dadeaf235ee4faf5e9dbaa.zip rockbox-a7dcf912e1be349da3dadeaf235ee4faf5e9dbaa.tar.gz rockbox-a7dcf912e1be349da3dadeaf235ee4faf5e9dbaa.tar.bz2 rockbox-a7dcf912e1be349da3dadeaf235ee4faf5e9dbaa.tar.xz | |
Merged 'mp3 filter' and 'show hidden files' into a single filter option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2405 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h index 1539d6d..048c673 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -77,7 +77,7 @@ struct user_settings /* misc options */ int loop_playlist; /* do we return to top of playlist at end? */ - bool mp3filter; /* only display mp3/m3u files and dirs in directory? */ + int dirfilter; /* 0=display all, 1=only supported, 2=only music */ bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ int scroll_speed; /* long texts scrolling speed: 1-30 */ bool playlist_shuffle; @@ -92,10 +92,6 @@ struct user_settings /* show scroll bar */ bool scrollbar; /* 0=hide, 1=show */ - /* Hidden and dotfile settings */ - bool show_hidden_files; /* 1=show dotfiles/hidden, - 0=hide dotfiles/hidden */ - /* goto current song when exiting WPS */ bool browse_current; /* 1=goto current song, 0=goto previous location */ @@ -148,4 +144,7 @@ extern char rockboxdir[]; #define DEFAULT_FF_REWIND_MIN_STEP FF_REWIND_1000 #define DEFAULT_FF_REWIND_ACCEL_SETTING 3 +/* dir filter options */ +enum { SHOW_ALL, SHOW_SUPPORTED, SHOW_MUSIC, NUM_FILTER_MODES }; + #endif /* __SETTINGS_H__ */ |