summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
AgeCommit message (Collapse)Author
2005-08-08Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional ↵Linus Nielsen Feltzing
text support for Hebrew and Arabic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-07-28Fixed scroll step settings >127 pixels not working (reported on irc). ↵Jens Arnold
Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only ↵Jens Arnold
work correctly for b&w. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-07-07Enabled scrolling on the remote LCD in the simulator. Some small shortcuts ↵Jens Arnold
in the H1x0 remote LCD driver and the recorder LCD driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-04Converted to use the IRAM defines, and some small optimisations.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
2005-07-02A couple of optimisations.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-06-30Graphics: Lowlevel block function are in IRAM now as they're called often. ↵Jens Arnold
Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Ooops...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Oops, that was no optimisation, but a bug.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6908 a1c6a512-1295-4272-9138-f99709370657
2005-06-29Third part of graphics api rework. Some small but effective optimisations. ↵Jens Arnold
Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-28Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold
converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-25Oops, the XYZ_PIXEL() macros are used elsewhere, so bring them back.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6860 a1c6a512-1295-4272-9138-f99709370657
2005-06-25Core functions taking advantage of the new, optimised lcd_hline() and ↵Jens Arnold
lcd_vline() functions. Some cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-24Fixed yellow FM builds, and changed the function type names according to the ↵Jens Arnold
rockbox coding style. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold
pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-23Preparations for implementing the new graphics api: Ordered lcd bitmap ↵Jens Arnold
driver defines, variables and functions by function groups. Centralised some definitions, code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-04-19make use of font_getstringsizeChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6322 a1c6a512-1295-4272-9138-f99709370657
2005-01-27corrected check for the Gmini LCDDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5679 a1c6a512-1295-4272-9138-f99709370657
2005-01-27proper setting of contrast for GminiJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5676 a1c6a512-1295-4272-9138-f99709370657
2005-01-20fixed indentationJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5621 a1c6a512-1295-4272-9138-f99709370657
2005-01-20Support for gmini100 series LCDJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5619 a1c6a512-1295-4272-9138-f99709370657
2005-01-17The current lcd_bitmap() implementation is safe for enabling partial font ↵Jens Arnold
height drawing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5590 a1c6a512-1295-4272-9138-f99709370657
2004-10-15Logarithmic scroll speed setting: speed doubles every 3 steps.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5288 a1c6a512-1295-4272-9138-f99709370657
2004-09-16Removed test code that shouldn't have been committed.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5082 a1c6a512-1295-4272-9138-f99709370657
2004-09-16Moved LCD_WIDHT/HEIGHT from lcd driver to config file.Björn Stenberg
Simulators now use conig-xxx.h. Added Iriver H100 to tools/configure. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-09-09the very first adjustment for the Ondio: fix the screen orientationJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5053 a1c6a512-1295-4272-9138-f99709370657
2004-08-27Fixed new font format: necessity of offset table generation, output of fonts ↵Jens Arnold
without one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5018 a1c6a512-1295-4272-9138-f99709370657
2004-08-26Fixed pointer types & struct fontJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5016 a1c6a512-1295-4272-9138-f99709370657
2004-08-26New font format (already rotated) saves code, space and time. On the ↵Jörg Hohensohn
downside this new format is incompatible, so get the new fonts, too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5015 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 Const policed pointer arguments to functions, part 2Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-16Const policed pointer arguments to functions, part 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 3Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-01More const policeing step 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-07-19Const'ed the logo, the bitmaps and the credits (optimization for running ↵Jens Arnold
from ROM) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-13Removed lvalue cast, which generates warnings on newer gcc versionsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4876 a1c6a512-1295-4272-9138-f99709370657
2004-07-09Simplified the recorder scrolling code a littleLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4860 a1c6a512-1295-4272-9138-f99709370657
2004-05-15Fixed a warningJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4625 a1c6a512-1295-4272-9138-f99709370657
2004-05-15TABs again...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4624 a1c6a512-1295-4272-9138-f99709370657
2004-05-14Fixed lcd_putsxyofs() for the new lcd_bitmap()Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4623 a1c6a512-1295-4272-9138-f99709370657
2004-05-14Some TAB characters slipped in...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4621 a1c6a512-1295-4272-9138-f99709370657
2004-05-14Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. ↵Jens Arnold
Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
2004-04-21Unified usage of lcd transfer codeJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4536 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Craig Sather's patch #849405:Daniel Stenberg
This patch fixes two bugs associated with lcd_puts and scrolling on the recorder. 1 - Unlike the implementation in the player code, on the recorder a call to lcd_puts does not stop the scrolling text from a previous lcd_puts_scroll call, so the new line gets overwritten by the old scrolling text. More discussion and details can be found at: http://rockbox.haxx.se/mail/archive/rockbox-archive-2003-11/0531.shtml 2 - When the function lcd_puts_scroll_style is called with an x offset greater than 0, the scrolling text is placed at an offset of 2x instead of x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4226 a1c6a512-1295-4272-9138-f99709370657
2003-12-24oops, optimized lcd_bitmap() too much, obey the clear flagJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4178 a1c6a512-1295-4272-9138-f99709370657
2003-12-23Screen buffer transposed, such that bytes in X-direction are consecutive. ↵Jörg Hohensohn
This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-15xoffset is only when not building for a simulator (for now)Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4151 a1c6a512-1295-4272-9138-f99709370657
2003-12-12LCD flip (upside down) and a high-performance blit functionJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4143 a1c6a512-1295-4272-9138-f99709370657
2003-12-10Added viewer for currently playing playlist. Accessed from Menu->Playlist ↵Hardeep Sidhu
Options->View Current Playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
2003-07-09Moved lcd default contrast knowledge from settings.c to lcd driver. Now ↵Björn Stenberg
lcd_init sets default contrast until settings are read. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657