Forked para SNOCC
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 55:dfbabef7003e
- Parent:
- 54:e117ad10fba6
- Child:
- 56:7a85d226ad0d
- Child:
- 64:5479dc0c8738
--- a/RA8875.h Sun Mar 23 17:35:14 2014 +0000 +++ b/RA8875.h Sun Mar 30 23:37:41 2014 +0000 @@ -1016,6 +1016,44 @@ /// const char * DOSColorNames(int i); + /// Advanced method indicating the start of a graphics stream. + /// + /// This is called prior to a stream of pixel data being sent. + /// This may cause register configuration changes in the derived + /// class in order to prepare the hardware to accept the streaming + /// data. + /// + /// Following this command, a series of @see _putp() commands can + /// be used to send individual pixels to the screen. + /// + /// To conclude the graphics stream, @see _EndGraphicsStream should + /// be callled. + /// + /// @returns error code. + /// + virtual RetCode_t _StartGraphicsStream(void); + + /// Advanced method to put a single color pixel to the screen. + /// + /// This method may be called as many times as necessary after + /// @see _StartGraphicsStream() is called, and it should be followed + /// by _EndGraphicsStream. + /// + /// @param pixel is a color value to be put on the screen. + /// @returns error code. + /// + virtual RetCode_t _putp(color_t pixel); + + /// Advanced method indicating the end of a graphics stream. + /// + /// This is called to conclude a stream of pixel data that was sent. + /// This may cause register configuration changes in the derived + /// class in order to stop the hardware from accept the streaming + /// data. + /// + /// @returns error code. + /// + virtual RetCode_t _EndGraphicsStream(void); #ifdef PERF_METRICS /// Clear the performance metrics to zero. @@ -1133,45 +1171,6 @@ /// RetCode_t init(int width, int height, int color_bpp); - /// method indicating the start of a graphics stream. - /// - /// This is called prior to a stream of pixel data being sent. - /// This may cause register configuration changes in the derived - /// class in order to prepare the hardware to accept the streaming - /// data. - /// - /// Following this command, a series of @see putp() commands can - /// be used to send individual pixels to the screen. - /// - /// To conclude the graphics stream, @see _EndGraphicsStream should - /// be callled. - /// - /// @returns error code. - /// - virtual RetCode_t _StartGraphicsStream(void); - - /// method to put a single color pixel to the screen. - /// - /// This method may be called as many times as necessary after - /// @see _StartGraphicsStream() is called, and it should be followed - /// by _EndGraphicsStream. - /// - /// @param pixel is a color value to be put on the screen. - /// @returns error code. - /// - virtual RetCode_t putp(color_t pixel); - - /// method indicating the end of a graphics stream. - /// - /// This is called to conclude a stream of pixel data that was sent. - /// This may cause register configuration changes in the derived - /// class in order to stop the hardware from accept the streaming - /// data. - /// - /// @returns error code. - /// - virtual RetCode_t _EndGraphicsStream(void); - /// Internal function to put a character using the built-in (internal) font engine /// /// @param is the character to put to the screen.