mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 09:40:35 -05:00
Purge "Menu" or "Rockbox" from plugin menu titles and match application names from manual. Exception: "Main Menu" is left unchanged as the title for the Main Menu Configuration plugin, since it appears in Rockbox's Settings menu and therefore should match the name of the setting. E.g.: "Rockbox Goban" => "Goban" "Image Viewer Menu" => "Image Viewer" "Viewer Menu" => "Text Viewer" "Menu" => "Chess Clock" "Do What?" => "Text Editor" "Mpegplayer Menu" => "MPEG Player" "Multiboot Settings" => "Multiboot" "Disktidy" => "Disk Tidy" ... Change-Id: Ie6d3be7557f31a36309489037ad8b2b27b06706e |
||
|---|---|---|
| .. | ||
| readme.txt | ||
| SOURCES | ||
| text_viewer.c | ||
| text_viewer.make | ||
| tv_action.c | ||
| tv_action.h | ||
| tv_bookmark.c | ||
| tv_bookmark.h | ||
| tv_button.h | ||
| tv_display.c | ||
| tv_display.h | ||
| tv_menu.c | ||
| tv_menu.h | ||
| tv_pager.c | ||
| tv_pager.h | ||
| tv_preferences.c | ||
| tv_preferences.h | ||
| tv_reader.c | ||
| tv_reader.h | ||
| tv_screen_pos.c | ||
| tv_screen_pos.h | ||
| tv_settings.c | ||
| tv_settings.h | ||
| tv_text_processor.c | ||
| tv_text_processor.h | ||
| tv_text_reader.c | ||
| tv_text_reader.h | ||
| tv_window.c | ||
| tv_window.h | ||
About the text viewer plugin.
Limitation
for targets where PLUGIN_BUFFER_SIZE < 0x13000,
Only 999 pages can be read.
Difference between viewer.rock
[settings file]
- the global setting, 'tv_global.dat' is stored.
- Settings and bookmarks for each file, 'tv_file.dat' is stored.
Note: when viewer.dat(viewer_file.dat) exists, tv_global.dat(tv_file.dat) is created by
using viewer.dat(viewer_file.dat).
[word wrap]
- add the following characters which can be split the line.
'!', ',', '.', ':', ';', '?',
U+00b7, U+2010, U+3000, U+3001, U+3002, U+30fb, U+30fc,
U+ff01, U+ff0c, U+ff0d, U+ff0e, U+ff1a, U+ff1b, U+ff1f.
- when the line split, if the line length is short ( < 0.75 * display width),
split the line in display width. (thus, maybe split a word)
[line mode]
[join]
- break line condition has changed.
- If the next line is a blank line or spaces only line, this line breaks.
[reflow]
- indent changes is two spaces (changable in the settings).
[bookmark]
- increased the number of bookmarks that can be registered to 16.
TODO list
- for the target which PLUGIN_BUFFER_SIZE < 0x13000,
support more than 999 pages of text.
- add History feature.
- draw images that are linked to the text. (<img src="...">)
- play audios that are linked to the text. (<audio src="...">)
- more treatments of line breaking, word wrappings.
(for example, period does not appear the top of line.)