LCD LIB

Dependents:   HagridOS5

Fork of RA8875 by David Smart

Revisions of RA8875.cpp

Revision Date Message Actions
123:2f45e80fec5f 2016-07-25 Added idle callback - when the RA8875 driver is stuck waiting on the HW, or on a long timeout, it can call an optional callback. This could be used for maintaining the Watchdog, or other activities. File  Diff  Annotate
111:efe436c43aba 2016-04-25 Soft fonts are now restricted by the window( ) setting, just as hard fonts were. Wraps right edge back to left and cycles from bottom edge back to top. File  Diff  Annotate
109:7b94f06f085b 2016-03-05 Updated some data types to more consistently use loc_t and dim_t. File  Diff  Annotate
107:f9ccffcb84f1 2016-03-05 Added rounded rectangle apis that accept rect_t instead of discreet x1,y1,x2,y2 values. File  Diff  Annotate
106:c80828f5dea4 2016-02-27 Improved support for 8-bit color, for pixel drawing, RenderImageFile and PrintScreen. File  Diff  Annotate
105:4f116006ba1f 2016-02-27 Improved 8-bit color support, which permits dual-layer at higher resolutions. File  Diff  Annotate
103:7e0464ca6c5c 2016-02-07 Added missing APIs for Get/SetTextCursor using point_t.; Fixed a defect in touch; if no point was requested, just polling for touch-state, it would return the no calibration value during a touch. File  Diff  Annotate
101:e0aad446094a 2016-01-17 External fonts now wrap correctly at the edge of the screen (right edge by moving down one line and to the left margin, and last row by wrapping to the top row. File  Diff  Annotate
100:0b084475d5a9 2015-12-19 Corrected a defect where the portrait mode might be incorrectly inferred - then limits many commands to partial screen.; Remove set_font(). Use SelectUserFont() instead.; Removed unnecessary code in several places (redundant work). File  Diff  Annotate
98:ecebed9b80b2 2015-12-17 Significant changes to the support for Soft Fonts (User defined fonts), to directly leverage the output of the GLCD Font Creator tool and require nearly zero manual changes. This deprecates the old API setfont in favor of SelectUserFont. File  Diff  Annotate
97:03c509c3db18 2015-11-30 Fixed comment - typo File  Diff  Annotate
96:40b74dd3695b 2015-11-28 Changes for the print screen function to use callbacks. File  Diff  Annotate
95:ef538bd687c0 2015-07-07 Compiler cleanup - warning reductions. File  Diff  Annotate
94:203729061e48 2015-03-04 Prepare for the ability to control the HW reset pin. File  Diff  Annotate
93:6fbc516de05e 2015-02-01 Corrected a PrintScreen problem where it was extracting the image memory "off by one" and then a color conversion error that nearly corrected for it. File  Diff  Annotate
92:ce1ab76e8614 2015-02-01 Focus on some performance optimization. Cache the width/height so it does not contact the chip for every need. File  Diff  Annotate
91:ca5f829e6d27 2015-01-28 Beginning to hook some additional performance metrics on the individual commands - see what is used most, evaluate optimization. File  Diff  Annotate
90:d113d71ae4f0 2015-01-28 persist screen width/height in the private data so that it does not have the burn the cycles to query the hardware on every need. File  Diff  Annotate
89:04575562c961 2015-01-25 Minor change to the text for return code lookup. File  Diff  Annotate
87:ee2240581aa7 2015-01-19 Added pixel api that uses point_t type. File  Diff  Annotate
86:e86b355940f4 2015-01-17 Added GetBacklight() and small refactoring of the memory allocation in PrintScreen(). File  Diff  Annotate
85:022bba13c5c4 2015-01-13 Improved error checking on several methods. In general, if the relevant coordinates of an object are offscreen, it will return bad_parameter, rather than to draw it badly. File  Diff  Annotate
84:e102021864b5 2015-01-12 Added SetOrientation method, to orient the display in one of 0, 90, 180, 270. Removed a rotation parameter from the SetTextFontControl method. File  Diff  Annotate
83:7bad0068cca0 2015-01-01 Improve touch interface to automatically provide no_touch, touch, held, release, no_cal value.; Touch API return codes were modified to accommodate this.; Enhance some APIs with (point_t p) parameters.; Minor internal documentation improvement. File  Diff  Annotate
82:f7d300f26540 2014-12-30 Added helpful API for computing intersection of a point in a rectangle.; Fixed the rect API for default NOFILL.; File  Diff  Annotate
81:01da2e34283d 2014-12-28 Refactored constructor() and init().; Added rect_t as a rectangle type.; Added new rect() methods that use rect_t.; Added touch panel calibration (and some renamed touch* methods). File  Diff  Annotate
80:cc4fab58179c 2014-12-28 Forcing an update to get the documentation updated and published also. [Lately, the build process fails about 50% of the time, so too with creating documentation.] File  Diff  Annotate
79:544eb4964795 2014-12-28 cleaned up touch screen support, which included renaming the APIs to better reflect their purpose.; remove dead code, added documentation for methods that were missing it.; major refactor to the constructor, to move needed code to init(). File  Diff  Annotate
78:faf49c381591 2014-12-28 Continue work on touch screen, and some file refactoring for easier maintenance. File  Diff  Annotate
77:9206c13aa527 2014-12-26 Functioning touch panel updates - added method for calibration and a new API to get the touch in the "display" coordinate system. File  Diff  Annotate
75:ca78388cfd77 2014-11-28 Finalized the KeyPad support using the RA8875 built-in keyscan support. File  Diff  Annotate
74:686faa218914 2014-11-09 Deprecated one of the PrintScreen methods based on improvements in the other method. File  Diff  Annotate
73:f22a18707b5e 2014-11-09 Improved PrintScreen function automatically senses some of the modes of operation. File  Diff  Annotate
72:ecffe56af969 2014-10-11 Documentation updates only. File  Diff  Annotate
71:dcac8efd842d 2014-10-04 Initial support for the key pad interface where the RA8875 scans the matrix. File  Diff  Annotate
68:ab08efabfc88 2014-08-31 Performance tuning - speeding up transactions with RA8875 via SPI. File  Diff  Annotate
67:9f834f0ff97d 2014-08-31 Count idle time to improve performance metrics. File  Diff  Annotate
66:468a11f05580 2014-08-31 Increase the SPI clock rate by splitting the write from the read to better match the RA8875 display capabilities. File  Diff  Annotate
63:ed787f5fcdc4 2014-03-23 Adding PNG support - which works for tiny png files but memory requirements may exclude it for larger images. File  Diff  Annotate
62:ba5d33438fda 2014-08-17 Fixed a bug in the pixel API which was visible when line( ) with same x,y coordinates for both points was used. File  Diff  Annotate
61:8f3153bf0baa 2014-08-17 Revised cls( ) to support layers.; Added a few handy color definitions. File  Diff  Annotate
60:2dfd574f63bd 2014-08-16 Correct an issue - trap line(...) where the xy pairs actually represent a point, and call pixel(...) instead. It appeared that the RA8875 would hang in for this line api call. File  Diff  Annotate
59:fb40aad4efd4 2014-07-24 Nearly insignificant changes to the test code. File  Diff  Annotate
58:26658a56112a 2014-07-05 Change constructor init order to reduce compiler warnings.; Revise performance monitor #if wrappers so DEBUG is separate from performance monitoring. File  Diff  Annotate
56:7a85d226ad0d 2014-03-31 Updated documentation and an API parameter change in the layer handling - instead of "OnlyLayer1", "OnlyLayer2", it is now "ShowLayer0", "ShowLayer1", which is more consistent with other API parameters. File  Diff  Annotate
55:dfbabef7003e 2014-03-30 Cursor locate method corrected to use 8 pixels as the font width, not 16.; Renamed putp to _putp to suggest it is special.; Migrated _StartGraphicsStream, _putp, _EndGraphicsStream from private to public for faster pixel based screen updates. File  Diff  Annotate
54:e117ad10fba6 2014-03-23 Includes both raw and filtered TP outputs. File  Diff  Annotate
53:86d24b9480b9 2014-03-17 Moved cursor definitions into the class.; Added support for setting the background color register for transparency. File  Diff  Annotate
52:e6039a823420 2014-03-15 Minor change to test code. File  Diff  Annotate
51:aa1f57b81da1 2014-03-15 Merge an API change for the drawing layer selection, and clearing both layers at init. File  Diff  Annotate
50:2c4f474a2453 2014-03-15 API name change from SelectLayer to SelectDrawingLayer. File  Diff  Annotate
49:c5182231d1b9 2014-03-13 Create a simple test for the vertical line wrapping. File  Diff  Annotate
48:065cc320473e 2014-03-13 Test version. File  Diff  Annotate
47:d96a09269f91 2014-03-13 Vertical line wrap goes from the bottom of the window back to the top. File  Diff  Annotate
46:1321832f11d8 2014-03-13 Fixes for vertical line wrap. File  Diff  Annotate
44:207594dece70 2014-03-10 Layer support is nearly complete. It is functioning, but might benefit from a little refactoring of the API for transparency and mode. File  Diff  Annotate
43:3becae133285 2014-03-09 Initial support (not yet complete) for more screen resolutions and for display layers. File  Diff  Annotate
41:2956a0a221e5 2014-02-08 Added PrintScreen method, to capture the current image to a file system.; Improved performance of pixel streaming (rendering a bitmap and capturing a bitmap).; Ran performance checks, then disabled debug and the performance information. File  Diff  Annotate
40:04aa280dfa39 2014-02-04 Revise SetTextFontSize( ) to require only 1 parameter, and change the type from unsigned to signed to permit easier default detection. File  Diff  Annotate
39:805cee56872d 2014-01-26 Preparing code for additional optimizations for RA8875 register access. File  Diff  Annotate