mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
位图数据的写入操作改为覆盖
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user