summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer (follow)
Commit message (Collapse)AuthorAge
* text viewer:Yoshihisa Uchida2010-07-01
| | | | | | | - if the file fits on one screen, there is no horizontal scrollbar. - the callback function in tv_reader doesn't do useless processing when the preferences changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27212 a1c6a512-1295-4272-9138-f99709370657
* text viewer: the display of the statusbar is synchronized actual battery, ↵Yoshihisa Uchida2010-06-30
| | | | | | time, etc. and deletes unnecessary lcd_set_backdrop(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27194 a1c6a512-1295-4272-9138-f99709370657
* text viewer: some members of preferences change to bool. And simplify menu ↵Yoshihisa Uchida2010-06-29
| | | | | | setting functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 a1c6a512-1295-4272-9138-f99709370657
* text viewer: move and delete #include.Yoshihisa Uchida2010-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27173 a1c6a512-1295-4272-9138-f99709370657
* text_viewer: callback functions are changed to the function that returns int ↵Yoshihisa Uchida2010-06-29
| | | | | | | | value. And the text viewer quits when the problem occurs by callback functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
* text viewer: tv_window doesn't depend on the layout of the text viewer.Yoshihisa Uchida2010-06-28
| | | | | | | | And display functions change the following. - some functions change to static functions. - fix the problem that font_changing flag is invalid value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27165 a1c6a512-1295-4272-9138-f99709370657
* fix yellow.Yoshihisa Uchida2010-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27155 a1c6a512-1295-4272-9138-f99709370657
* text viewer: display functions more changes.Yoshihisa Uchida2010-06-27
| | | | | | | | - font functions move to tv_display. - modify tv_init_display() and add tv_finalize_display(). - viewport functions are changed from global to static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27154 a1c6a512-1295-4272-9138-f99709370657
* text viewer: simplify display functions.Yoshihisa Uchida2010-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27152 a1c6a512-1295-4272-9138-f99709370657
* fix red.Yoshihisa Uchida2010-06-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27143 a1c6a512-1295-4272-9138-f99709370657
* text viewer: some modify text viewer's layout and preferences.Yoshihisa Uchida2010-06-26
| | | | | | | | | - 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
* text viewer: reworks screen access logics and some bugs fix.Yoshihisa Uchida2010-06-26
| | | | | | | | | | - screen access logics separte from tv_window. (new tv_display.[ch]) - using multi screen api. - (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT. - (bug fix) unnecessary blank line is not displayed. (a part of FS#11400). - (bug fix) the order by which callback functions were called was not correct. (FIFO->FILO) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
* text_viewer: rename preference values.Yoshihisa Uchida2010-06-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27106 a1c6a512-1295-4272-9138-f99709370657
* FS#11399 by me: fix r26998 for text_viewerRafaël Carré2010-06-23
| | | | | | | | | | | | | | | | | Restore the old behaviour: - preferences must be read-write for tv_preferences.c , read-only for all other modules -> use pointer to const struct - init functions must get the plugin buffer + its size as arguments for easily adding new functions -> use pointer to buffer pointer and size to make allocation easier - preferences meaning is private to each file and must not be known by tv_preferences.c -> move tv_check_header_and_footer() back in tv_window.c; also avoid chaining 3 times the callbacks by calling tv_set_preferences() only once if more than one preference needs changing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27089 a1c6a512-1295-4272-9138-f99709370657
* text_viewer: cleanup & bugfixRafaël Carré2010-06-20
| | | | | | | | | | | | | | | | | | | | | cleanup: - don't use enum in struct / return values - don't use a getter for preferences but a global pointer - explicitely make enums start at 0 - use static tables for header/footer settings - remove unneeded memset before strlcpy - use static buffer allocation, not dynamic - check header/footer preferences before using the callbacks - don't include font filename in archos player preferences (break file format) bugfix: - statically allocate old preferences in tv_set_preferences() Sometimes I can read a file on Clipv2, but it still aborts quite often refs: FS#11399 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26998 a1c6a512-1295-4272-9138-f99709370657
* text viewer: can select the indent spaces when the line mode is reflow.Yoshihisa Uchida2010-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26763 a1c6a512-1295-4272-9138-f99709370657
* text viewer: fix that the return value's type is wrong.Yoshihisa Uchida2010-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26739 a1c6a512-1295-4272-9138-f99709370657
* fix the problem that does not jump to selected the bookmark. (FS#11386)Yoshihisa Uchida2010-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26738 a1c6a512-1295-4272-9138-f99709370657
* text viewer: don't load font if it is the same font currently used.Teruaki Kawashima2010-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26725 a1c6a512-1295-4272-9138-f99709370657
* text viewer: can select "move to prev/next page" or "move to top page/bottom ↵Yoshihisa Uchida2010-06-09
| | | | | | page" when LEFT/RIGHT key is pressed (narrow mode). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26719 a1c6a512-1295-4272-9138-f99709370657
* text viewer: 1) fix uisim abends when fonts list is displayed.Yoshihisa Uchida2010-06-08
| | | | | | 2) simplify the logic to change font. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26685 a1c6a512-1295-4272-9138-f99709370657
* fix red.Teruaki Kawashima2010-06-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26660 a1c6a512-1295-4272-9138-f99709370657
* text viewer: gigabeat f: add buttons to do one line up/down, and one column ↵Teruaki Kawashima2010-06-07
| | | | | | left/right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26659 a1c6a512-1295-4272-9138-f99709370657
* text viewer: some fixes related to font.Teruaki Kawashima2010-06-07
| | | | | | | | | | * don't load font if it's not needed. - loading 16-GNU-Unifont seems to take some time. * restore font to settings on exit plugin. * don't allocate buffer on stack for name of fonts in select font menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26657 a1c6a512-1295-4272-9138-f99709370657
* text viewer: can selected scroll by column/scroll by screen for the ↵Yoshihisa Uchida2010-06-07
| | | | | | | | horizontal screen. Viewer Options: "Scrollbar", "Overlap Pages", "Auto-Scroll Speed" move to Scroll Settings > Vertical. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26654 a1c6a512-1295-4272-9138-f99709370657
* text viewer: can display the horizontal scroll bar.Yoshihisa Uchida2010-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26620 a1c6a512-1295-4272-9138-f99709370657
* text viewer: can be selected the number of screens per page.Yoshihisa Uchida2010-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26613 a1c6a512-1295-4272-9138-f99709370657
* reworks text viewer plugin. (FS#11209)Yoshihisa Uchida2010-06-05
new text viewer plugin: text_viewer.rock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26571 a1c6a512-1295-4272-9138-f99709370657