From 30738ee48bee15964261cf7b14b5fb243c4d1d4e Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sat, 20 Jul 2013 20:30:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=99=9A=E8=AE=BE=E7=9A=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/output/dummy.c | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/output/dummy.c b/src/output/dummy.c index fd6817a9..c2464a3b 100755 --- a/src/output/dummy.c +++ b/src/output/dummy.c @@ -43,6 +43,7 @@ #include LC_LCUI_H #ifdef LCUI_VIDEO_DRIVER_NONE + LCUI_API void LCUIScreen_FillPixel( LCUI_Pos pos, LCUI_RGB color ) { @@ -55,27 +56,46 @@ LCUIScreen_GetGraph( LCUI_Graph *out ) return -1; } + LCUI_API int -LCUIScreen_Init( LCUI_Screen *screen_info ) +LCUIScreen_Init( int w, int h, int mode ) { return -1; } + +/* 设置视频输出模式 */ LCUI_API int -LCUIScreen_Destroy( LCUI_Screen *screen_info ) +LCUIScreen_SetMode( int w, int h, int mode ) { return -1; } + LCUI_API int -LCUIScreen_PutGraph (LCUI_Graph * src, LCUI_Pos pos) +LCUIScreen_Destroy( void ) +{ + return -1; +} + + +LCUI_API void +LCUIScreen_SyncFrameBuffer( void ) +{ + return; +} + + +LCUI_API int +LCUIScreen_PutGraph (LCUI_Graph *graph, LCUI_Pos des_pos ) { return -1; } LCUI_API void -LCUIScreen_SyncFrameBuffer( void ) +LCUIScreen_CatchGraph( LCUI_Rect area, LCUI_Graph *out ) { - ; + return; } + #endif