summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-bitmap-common.c (follow)
Commit message (Collapse)AuthorAge
...
* Limit character width to 255 pixelsFrank Gevaerts2009-11-24
| | | | | | | | Use intermediate variable to fix yellow and red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23744 a1c6a512-1295-4272-9138-f99709370657
* make lcd_bitmap_char more space efficient. This doesn't seem to impact text ↵Frank Gevaerts2009-11-24
| | | | | | drawing performance git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23743 a1c6a512-1295-4272-9138-f99709370657
* FS#10720 - Support for displaying diacritic charactersTomer Shalev2009-11-24
| | | | | | | | | | | | | | | | | | This commit corrects the display of diacritic characters, which exist in many languages. Hopefully, it will make Rockbox much more usable for users of these languages. Diacritic information (which used to decide whether a given character is diacritic or not) is taken from the Unicode Standard, Version 5.2. This feature does not affect drawing performance much, as the diacritic database is cached (simple MRU mechanism). There may be room for further performance, footprint, and code-reuse wise improvements, that could be worked on in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23742 a1c6a512-1295-4272-9138-f99709370657
* lcd-bitmap-common.c: Change calculation of the horizontal position in ↵Teruaki Kawashima2009-11-22
| | | | | | lcd_puts_style_offset() so that the position is independent from the string being printed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23705 a1c6a512-1295-4272-9138-f99709370657
* Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and ↵Thomas Martitz2009-10-20
| | | | | | gives a 1-3% speed up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23284 a1c6a512-1295-4272-9138-f99709370657
* Fix a scrolling bug with centered drawing and too long lines.Thomas Martitz2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23282 a1c6a512-1295-4272-9138-f99709370657
* Revise r23225 a bit, removing the debug_printf function and implementing ↵Nils Wallménius2009-10-17
| | | | | | more generic lcd_(remote)_putsf function(s) instead and use those in more places git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10670 - The first letter of a scrolling line starts to appear at the endTomer Shalev2009-10-12
| | | | | | | | | of the line Thanks to Teruaki Kawashima (teru) for providing this solution git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23132 a1c6a512-1295-4272-9138-f99709370657
* LCD scrolling - reduce one 'if' nesting levelTomer Shalev2009-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23125 a1c6a512-1295-4272-9138-f99709370657
* LCD scrolling - fix a typoTomer Shalev2009-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657
* Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs ↵Tomer Shalev2009-10-11
| | | | | | fixing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
* RTL: Cosmetic changes, no functional change - Rename constantsTomer Shalev2009-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
* Add a center flag, next to the rtl flag, for viewports. That results in any ↵Thomas Martitz2009-10-11
| | | | | | | | text being drawn centered. It overrides the RTL flag if set. Simplify splashes and time menu by using it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23105 a1c6a512-1295-4272-9138-f99709370657
* Fix a bug in a bidirectional text scrolling; s->offset doesn't need to be ↵Mohamed Tarek2009-10-09
| | | | | | | | | set when backward scrolling starts. This fixes bidirectional scrolling in RTL and for certain file-names in LTR. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23022 a1c6a512-1295-4272-9138-f99709370657
* Handle text scrolling in RTL.Mohamed Tarek2009-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23021 a1c6a512-1295-4272-9138-f99709370657
* Moved RTL handling in lcd driver deeper, from puts_style_offset() to putsxyofs()Tomer Shalev2009-10-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22986 a1c6a512-1295-4272-9138-f99709370657
* Use macro to test viewport's RTL flagTomer Shalev2009-10-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
* Implement RTL as a viewport's bit-fieldTomer Shalev2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22968 a1c6a512-1295-4272-9138-f99709370657
* Fix red - bootloaders don't link language supportTomer Shalev2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22949 a1c6a512-1295-4272-9138-f99709370657
* RTL support in menusTomer Shalev2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22945 a1c6a512-1295-4272-9138-f99709370657
* LCD bitmap driver code consolidation from FS#4817:Andrew Mahone2009-08-13
Move text-drawing code into firmware-drivers/lcd-bitmap-common.c, included by the various driver files. Add new static function LCDFN(putsxyofs_style) to draw styled text, and use it in both LCDFN(puts_style_offset) and LCDFN(scroll_fn). Merge lcd_gradient_rect functions, with new function containing simplified code for drawing one line of a multi-line gradient. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22289 a1c6a512-1295-4272-9138-f99709370657