Aded BLIT support for load BMP from RAM
MODIFY
src/GUIslice_drv_adagfx.cpp
src/GUIslice_drv_adagfx.cpp
@@ -1593,6 +1593,12 @@ void gslc_DrvDrawBmp24FromMem(gslc_tsGui* pGui,int16_t nDstX, int16_t nDstY,cons
#if defined(DBG_DRIVER)
GSLC_DEBUG_PRINT("DBG: DrvDrawBmp24FromMem() w=%d h=%d\n", w, h);
#endif
+ #if defined(DRV_HAS_DRAW_BMP_MEM)
+ if (!bProgMem) {
+ m_disp.drawRGBBitmap(nDstX, nDstY, (uint16_t*) pImage,w, h);
+ return;
+ }
+ #endif
int row, col;
for (row=0; row<h; row++) { // For each scanline...
for (col=0; col<w; col++) { // For each pixel...

MODIFY
src/GUIslice_drv_adagfx.h
src/GUIslice_drv_adagfx.h
@@ -99,6 +99,7 @@ extern "C" {
#define DRV_HAS_DRAW_POINT 1 ///< Support gslc_DrvDrawPoint()
#define DRV_HAS_DRAW_POINTS 0 ///< Support gslc_DrvDrawPoints()
+#define DRV_HAS_DRAW_BMP_MEM 1 ///< Support gslc_DrvDrawBmp24FromMem()
#define DRV_HAS_DRAW_LINE 1 ///< Support gslc_DrvDrawLine()
#define DRV_HAS_DRAW_RECT_FRAME 1 ///< Support gslc_DrvDrawFrameRect()
#define DRV_HAS_DRAW_RECT_FILL 1 ///< Support gslc_DrvDrawFillRect()

Aded BLIT support for load BMP from RAM