unknown.c
来自「minigui 1.6.10 8.1开源版」· C语言 代码 · 共 63 行
C
63 行
/*** $Id: unknown.c 7427 2007-08-21 06:00:11Z weiym $** ** unknown.c: A subdriver of shadow NEWGAL engine for unknown target.**** Copyright (C) 2003 ~ 2007 Feynman Software.*/#include <stdio.h>#include <stdlib.h>#include <string.h>#include "common.h"#ifdef _NEWGAL_ENGINE_SHADOW #ifdef __TARGET_UNKNOWN__#include "minigui.h"#include "newgal.h"#include "sysvideo.h"#include "pixels_c.h"#include "shadow.h"static int a_init (void){ return 0;}static int a_getinfo (struct shadowlcd_info* lcd_info){ lcd_info->height = 240; lcd_info->width = 320; lcd_info->bpp = 1; lcd_info->fb = NULL; lcd_info->rlen = 0; lcd_info->type = 0; return 0;}static void a_sleep (void){}static void a_refresh (_THIS, const RECT* update){}struct shadow_lcd_ops __mg_shadow_lcd_ops = { a_init, a_getinfo, NULL, NULL, a_sleep, a_refresh};#endif /* __TARGET_UNKNOWN__ */#endif /* _NEWGAL_ENGINE_SHADOW */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?