/* ********************************************************************************************************* * uC/GUI * Universal graphic software for embedded applications * * (c) Copyright 2002, Micrium Inc., Weston, FL * (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH * * µC/GUI is protected by international copyright laws. Knowledge of the * source code may not be used to write a similar product. This file may * only be used in accordance with a license and should not be redistributed * in any way. We appreciate your understanding and fairness. * ---------------------------------------------------------------------- File : LCDNull.C Purpose : Empty driver This driver does no perform any function. It can be used for measurement purpose. ---------------------------------------------------------------------- Version-Date---Author-Explanation ---------------------------------------------------------------------- 0.90.00 030627 JE a) First release ---------------------------END-OF-HEADER------------------------------ */ #include "LCD_Private.h" /* private modul definitions & config */ #include "GUI_Private.h" #include "GUIDebug.h" #if (LCD_CONTROLLER == -2) && (!defined(WIN32) | defined(LCD_SIMCONTROLLER)) /********************************************************************* * * Exported functions * ********************************************************************** */ /********************************************************************* * * LCD_L0_SetPixelIndex */ void LCD_L0_SetPixelIndex(int x, int y, int PixelIndex) { GUI_USE_PARA(x); GUI_USE_PARA(y); GUI_USE_PARA(PixelIndex); } /********************************************************************* * * LCD_L0_GetPixelIndex */ unsigned int LCD_L0_GetPixelIndex(int x, int y) { GUI_USE_PARA(x); GUI_USE_PARA(y); return 0; } /********************************************************************* * * LCD_L0_XorPixel */ void LCD_L0_XorPixel(int x, int y) { GUI_USE_PARA(x); GUI_USE_PARA(y); } /********************************************************************* * * LCD_L0_DrawHLine */ void LCD_L0_DrawHLine(int x0, int y, int x1) { GUI_USE_PARA(x0); GUI_USE_PARA(y); GUI_USE_PARA(x1); } /********************************************************************* * * LCD_L0_DrawVLine */ void LCD_L0_DrawVLine(int x, int y0, int y1) { GUI_USE_PARA(x); GUI_USE_PARA(y0); GUI_USE_PARA(y1); } /********************************************************************* * * LCD_L0_FillRect */ void LCD_L0_FillRect(int x0, int y0, int x1, int y1) { GUI_USE_PARA(x0); GUI_USE_PARA(y0); GUI_USE_PARA(x1); GUI_USE_PARA(y1); } /********************************************************************* * * LCD_L0_DrawBitmap */ void LCD_L0_DrawBitmap(int x0, int y0, int xsize, int ysize, int BitsPerPixel, int BytesPerLine, const U8 GUI_UNI_PTR *pData, int Diff, const LCD_PIXELINDEX *pTrans) { GUI_USE_PARA(x0); GUI_USE_PARA(y0); GUI_USE_PARA(xsize); GUI_USE_PARA(ysize); GUI_USE_PARA(BitsPerPixel); GUI_USE_PARA(BytesPerLine); GUI_USE_PARA(pData); GUI_USE_PARA(Diff); GUI_USE_PARA(pTrans); } /********************************************************************* * * LCD_L0_SetOrg */ void LCD_L0_SetOrg(int x, int y) { GUI_USE_PARA(x); GUI_USE_PARA(y); } /********************************************************************* * * LCD_On / LCD_Off */ void LCD_On(void) {} void LCD_Off(void) {} /********************************************************************* * * LCD_L0_Init */ int LCD_L0_Init(void) { return 0; } /********************************************************************* * * LCD_L0_SetLUTEntry */ void LCD_L0_SetLUTEntry(U8 Pos, LCD_COLOR Color) { GUI_USE_PARA(Pos); GUI_USE_PARA(Color); } #else void LCDNull_c(void); void LCDNull_c(void) {} /* avoid empty object files */ #endif /* (LCD_CONTROLLER == -2) */