mirror of
https://github.com/geekammo/MicroView-Arduino-Library.git
synced 2026-02-23 21:11:23 +01:00
Merge branch 'user_screen_access'
Change name from uView.screenBuffer() to uView.getScreenBuffer()
This commit is contained in:
@@ -904,6 +904,14 @@ void MicroView::flipHorizontal(boolean flip) {
|
||||
}
|
||||
}
|
||||
|
||||
/** \brief Get pointer to screen buffer
|
||||
|
||||
Return a pointer to the start of the RAM screen buffer for direct access.
|
||||
*/
|
||||
uint8_t *MicroView::getScreenBuffer(void) {
|
||||
return screenmemory;
|
||||
}
|
||||
|
||||
/** \brief Parse command.
|
||||
|
||||
Command stored in serCmd array will be parsed to performed draw functions.
|
||||
@@ -1340,14 +1348,6 @@ int MicroView::readSerial(void)
|
||||
return i;
|
||||
}
|
||||
|
||||
/** \brief Get pointer to screen buffer
|
||||
|
||||
Return a pointer to the start of the RAM screen buffer for direct access.
|
||||
*/
|
||||
uint8_t *MicroView::screenBuffer(void) {
|
||||
return screenmemory;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
// MicroViewWidget Class - start
|
||||
// -------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user