mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Textviewer night mode
Add a night mode to textviewer. Change-Id: I6ddcd9c3c87473cbbffaeacf63a21ef11c0e5f44
This commit is contained in:
parent
8742f6f0e2
commit
ab1b67f37b
6 changed files with 52 additions and 6 deletions
|
|
@ -49,6 +49,7 @@ static bool tv_notify_change_preferences(const struct tv_preferences *oldp)
|
|||
* - font
|
||||
* - autoscroll_speed
|
||||
* - narrow_mode
|
||||
* - night_mode
|
||||
*/
|
||||
if ((oldp == NULL) ||
|
||||
(oldp->word_mode != preferences->word_mode) ||
|
||||
|
|
@ -120,7 +121,8 @@ void tv_set_default_preferences(struct tv_preferences *p)
|
|||
p->footer_mode = false;
|
||||
p->statusbar = false;
|
||||
#endif
|
||||
p->autoscroll_speed = 1;
|
||||
p->autoscroll_speed = 10;
|
||||
p->night_mode = false;
|
||||
p->narrow_mode = NM_PAGE;
|
||||
p->indent_spaces = 2;
|
||||
/* Set codepage to system default */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue