LCD LIB
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 142:6e9bff59878a
- Parent:
- 140:33ca352755a2
- Child:
- 143:e872d65a710d
--- a/RA8875.h Thu Dec 29 20:06:00 2016 +0000 +++ b/RA8875.h Sun Mar 19 21:41:24 2017 +0000 @@ -545,6 +545,9 @@ /// be independently drawn on and shown. Additionally, complex /// operations involving both layers are permitted. /// + /// @attention If the current display configuration does not support + /// multiple layers, then layer 0 will be selected. + /// /// @code /// //lcd.SetLayerMode(OnlyLayer0); // default is layer 0 /// lcd.rect(400,130, 475,155,Brown); @@ -561,9 +564,9 @@ /// /// @param[in] layer is 0 or 1 to select the layer for subsequent /// commands. - /// @returns success/failure code. See @ref RetCode_t. - /// - RetCode_t SelectDrawingLayer(uint16_t layer); + /// @returns the previous drawing layer; 0 or 1. + /// + virtual uint16_t SelectDrawingLayer(uint16_t layer); /// Get the currently active drawing layer. @@ -585,7 +588,7 @@ /// /// @returns the current drawing layer; 0 or 1. /// - uint16_t GetDrawingLayer(void); + virtual uint16_t GetDrawingLayer(void); /// Set the Layer presentation mode.