位图数据的写入操作改为覆盖

This commit is contained in:
Liu Chao
2014-05-01 20:43:59 +08:00
parent b4e4dcc226
commit 197b8752cc
+7
View File
@@ -329,6 +329,12 @@ static int Win32Screen_Destroy( void )
}
static int Win32Screen_PutGraph( const LCUI_Graph *graph, LCUI_Pos pos )
{
Graph_Replace( &framebuffer, graph, pos );
return 0;
}
static int Win32Screen_MixGraph( const LCUI_Graph *graph, LCUI_Pos pos )
{
Graph_Mix( &framebuffer, graph, pos );
return 0;
@@ -394,6 +400,7 @@ void LCUIScreen_UseWin32( LCUI_Screen *screen )
screen->Destroy = Win32Screen_Destroy;
screen->SetMode = Win32Screen_SetMode;
screen->PutGraph = Win32Screen_PutGraph;
screen->MixGraph = Win32Screen_MixGraph;
screen->CatchGraph = Win32Screen_CatchGraph;
}