Update framebuffer driver for better information hiding

remotes/origin_old/ugfx_release_2.6
inmarket 2016-04-25 14:55:54 +10:00
parent 25802124fb
commit 12757e4c9a
1 changed files with 4 additions and 3 deletions

View File

@ -9,14 +9,15 @@
#if GFX_USE_GDISP #if GFX_USE_GDISP
#define GDISP_DRIVER_VMT GDISPVMT_framebuffer
#include "gdisp_lld_config.h"
#include "../../../src/gdisp/gdisp_driver.h"
typedef struct fbInfo { typedef struct fbInfo {
void * pixels; // The pixel buffer void * pixels; // The pixel buffer
coord_t linelen; // The number of bytes per display line coord_t linelen; // The number of bytes per display line
} fbInfo; } fbInfo;
#define GDISP_DRIVER_VMT GDISPVMT_framebuffer
#include "gdisp_lld_config.h"
#include "../../../src/gdisp/gdisp_driver.h"
#include "board_framebuffer.h" #include "board_framebuffer.h"
typedef struct fbPriv { typedef struct fbPriv {