diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-06-26 12:17:01 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-06-26 12:17:01 +0000 |
commit | 17383c2691bfb121388c539bebe8b32bb97e4e9b (patch) | |
tree | 35285f69f22a82386c0cebbb37a26521b5f24bf7 /apps/plugins/text_viewer/tv_preferences.h | |
parent | e0bb92f00fdbcfd726407c688f5d82d3fa470a99 (diff) | |
download | rockbox-17383c2691bfb121388c539bebe8b32bb97e4e9b.tar.gz rockbox-17383c2691bfb121388c539bebe8b32bb97e4e9b.zip |
text viewer: some modify text viewer's layout and preferences.
- layout: hader, footer and horizontal_scrollbar add padding.
- add member 'statusbar' in tv_preferences.
- delete HD_SBAR/HD_BOTH/FT_SBAR/FT_BOTH.
- deletes the function to check header_mode/footer_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27142 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_viewer/tv_preferences.h')
-rw-r--r-- | apps/plugins/text_viewer/tv_preferences.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/text_viewer/tv_preferences.h b/apps/plugins/text_viewer/tv_preferences.h index ee861ee6b6..d1ba7f25b4 100644 --- a/apps/plugins/text_viewer/tv_preferences.h +++ b/apps/plugins/text_viewer/tv_preferences.h | |||
@@ -59,8 +59,6 @@ enum { | |||
59 | enum { | 59 | enum { |
60 | HD_NONE = 0, | 60 | HD_NONE = 0, |
61 | HD_PATH, | 61 | HD_PATH, |
62 | HD_SBAR, | ||
63 | HD_BOTH, | ||
64 | }; | 62 | }; |
65 | 63 | ||
66 | /* footer_mode */ | 64 | /* footer_mode */ |
@@ -68,8 +66,6 @@ enum { | |||
68 | 66 | ||
69 | FT_NONE = 0, | 67 | FT_NONE = 0, |
70 | FT_PAGE, | 68 | FT_PAGE, |
71 | FT_SBAR, | ||
72 | FT_BOTH, | ||
73 | }; | 69 | }; |
74 | 70 | ||
75 | /* horizontal_scroll_mode */ | 71 | /* horizontal_scroll_mode */ |
@@ -114,6 +110,8 @@ struct tv_preferences { | |||
114 | 110 | ||
115 | unsigned indent_spaces; | 111 | unsigned indent_spaces; |
116 | 112 | ||
113 | bool statusbar; | ||
114 | |||
117 | #ifdef HAVE_LCD_BITMAP | 115 | #ifdef HAVE_LCD_BITMAP |
118 | unsigned char font_name[MAX_PATH]; | 116 | unsigned char font_name[MAX_PATH]; |
119 | struct font *font; | 117 | struct font *font; |