unknown.c
来自「mini gui 1.6.8 lib and source」· C语言 代码 · 共 58 行
C
58 行
/*** $Id: unknown.c,v 1.5 2005/04/22 02:53:09 weiym Exp $** ** unknown.c: A subdriver of CommonLCD NEWGAL engine for unknown target.** You should define the operators by yourself.**** Copyright (C) 2003 ~ 2005 Feynman Software.*//*** This program is free software; you can redistribute it and/or modify** it under the terms of the GNU General Public License as published by** the Free Software Foundation; either version 2 of the License, or** (at your option) any later version.**** This program is distributed in the hope that it will be useful,** but WITHOUT ANY WARRANTY; without even the implied warranty of** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the** GNU General Public License for more details.**** You should have received a copy of the GNU General Public License** along with this program; if not, write to the Free Software** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*/#include <stdio.h>#include <stdlib.h>#include <string.h>#include "common.h"#ifdef _NEWGAL_ENGINE_COMMLCD#ifdef __TARGET_UNKNOWN__#include "minigui.h"#include "newgal.h"#include "sysvideo.h"#include "pixels_c.h"#include "commlcd.h"extern int drv_lcd_init (void);extern int drv_lcd_getinfo (struct lcd_info *li);extern int drv_lcd_release (void);extern int drv_lcd_setclut (int firstcolor, int ncolors, GAL_Color *colors);struct lcd_ops __mg_commlcd_ops = { drv_lcd_init, drv_lcd_getinfo, drv_lcd_release, drv_lcd_setclut};#endif /* __TARGET_UNKNOWN__ */#endif /* _NEWGAL_ENGINE_COMMLCD */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?