66 #define XSIZE_PHYS 320 67 #define YSIZE_PHYS 240 72 #define COLOR_CONVERSION GUICC_8888 77 #define DISPLAY_DRIVER GUIDRV_WIN32 82 #define NUM_BUFFERS 1 // Number of multiple buffers to be used 83 #define NUM_VSCREENS 1 // Number of virtual screens to be used 92 #define VRAM_ADDR 0 // TBD by customer: This has to be the frame buffer start address 95 #error Physical X size of display is not defined! 98 #error Physical Y size of display is not defined! 100 #ifndef COLOR_CONVERSION 101 #error Color conversion not defined! 103 #ifndef DISPLAY_DRIVER 104 #error No display driver defined! 107 #define NUM_VSCREENS 1 109 #if (NUM_VSCREENS <= 0) 110 #error At least one screeen needs to be defined! 113 #if (NUM_VSCREENS > 1) && (NUM_BUFFERS > 1) 114 #error Virtual screens and multiple buffers are not allowed! 136 #if (NUM_BUFFERS > 1)
GUI_DEVICE * GUI_DEVICE_CreateAndLink(const GUI_DEVICE_API *pDeviceAPI, const LCD_API_COLOR_CONV *pColorConvAPI, U16 Flags, int LayerIndex)
int LCD_SetSizeEx(int LayerIndex, int xSize, int ySize)
int LCD_SetVSizeEx(int LayerIndex, int xSize, int ySize)
#define LCD_DEVFUNC_DRAWBMP_16BPP
#define LCD_X_INITCONTROLLER
void LCD_X_Config(void)
Called during the initialization process in order to set up the display driver configuration.
#define LCD_DEVFUNC_FILLRECT
#define LCD_DEVFUNC_COPYRECT
int LCD_SetDevFunc(int LayerIndex, int IdFunc, void(*pDriverFunc)(void))
#define LCD_X_SETVRAMADDR
#define LCD_DEVFUNC_DRAWBMP_8BPP
#define LCD_DEVFUNC_COPYBUFFER
void LCD_SetLUTEx(int LayerIndex, const LCD_PHYSPALETTE *pPalette)
int LCD_SetVRAMAddrEx(int LayerIndex, void *pVRAM)
#define LCD_X_SETLUTENTRY
void GUI_MULTIBUF_Config(int NumBuffers)
int LCD_X_DisplayDriver(unsigned LayerIndex, unsigned Cmd, void *pData)
This function is called by the display driver for several purposes. To support the according task the...