forked from len0rd/rockbox
text viewer: can select "move to prev/next page" or "move to top page/bottom page" when LEFT/RIGHT key is pressed (narrow mode).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26719 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c92b2cc16a
commit
8bdb1c04d3
6 changed files with 54 additions and 19 deletions
|
|
@ -43,6 +43,7 @@ static void tv_notify_change_preferences(const struct tv_preferences *oldp,
|
|||
* - page_mode
|
||||
* - font
|
||||
* - autoscroll_speed
|
||||
* - narrow_mode
|
||||
*/
|
||||
if ((oldp == NULL) ||
|
||||
(oldp->word_mode != newp->word_mode) ||
|
||||
|
|
@ -111,6 +112,7 @@ void tv_set_default_preferences(struct tv_preferences *p)
|
|||
p->footer_mode = FT_NONE;
|
||||
#endif
|
||||
p->autoscroll_speed = 1;
|
||||
p->narrow_mode = NM_PAGE;
|
||||
/* Set codepage to system default */
|
||||
p->encoding = rb->global_settings->default_codepage;
|
||||
p->file_name[0] = '\0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue