Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 143:e872d65a710d
- Parent:
- 142:6e9bff59878a
- Child:
- 144:ba002c4b21b3
diff -r 6e9bff59878a -r e872d65a710d RA8875.h --- a/RA8875.h Sun Mar 19 21:41:24 2017 +0000 +++ b/RA8875.h Sun Mar 19 22:11:04 2017 +0000 @@ -564,9 +564,12 @@ /// /// @param[in] layer is 0 or 1 to select the layer for subsequent /// commands. - /// @returns the previous drawing layer; 0 or 1. - /// - virtual uint16_t SelectDrawingLayer(uint16_t layer); + /// @param[out] prevLayer is an optiona pointer to where the previous layer + /// will be written, making it a little easer to restore layers. + /// Writes 0 or 1 when the pointer is not NULL. + /// @returns success/failure code. See @ref RetCode_t. + /// + virtual RetCode_t SelectDrawingLayer(uint16_t layer, uint16_t * prevLayer = NULL); /// Get the currently active drawing layer.