mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
wineandroid: Implement SetWindowRgn.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
19b944d49c
commit
d61bcb9a2f
@ -977,6 +977,22 @@ void CDECL ANDROID_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flag
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* ANDROID_SetWindowRgn
|
||||
*/
|
||||
void CDECL ANDROID_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
|
||||
{
|
||||
struct android_win_data *data;
|
||||
|
||||
if ((data = get_win_data( hwnd )))
|
||||
{
|
||||
if (data->surface) set_surface_region( data->surface, hrgn );
|
||||
release_win_data( data );
|
||||
}
|
||||
else FIXME( "not supported on other process window %p\n", hwnd );
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* ANDROID_WindowMessage
|
||||
*/
|
||||
|
@ -9,6 +9,7 @@
|
||||
@ cdecl CreateWindow(long) ANDROID_CreateWindow
|
||||
@ cdecl DestroyWindow(long) ANDROID_DestroyWindow
|
||||
@ cdecl MsgWaitForMultipleObjectsEx(long ptr long long long) ANDROID_MsgWaitForMultipleObjectsEx
|
||||
@ cdecl SetWindowRgn(long long long) ANDROID_SetWindowRgn
|
||||
@ cdecl WindowMessage(long long long long) ANDROID_WindowMessage
|
||||
@ cdecl WindowPosChanging(long long long ptr ptr ptr ptr) ANDROID_WindowPosChanging
|
||||
@ cdecl WindowPosChanged(long long long ptr ptr ptr ptr ptr) ANDROID_WindowPosChanged
|
||||
|
Loading…
Reference in New Issue
Block a user