Initial commit - from Precise source
[freerdp-ubuntu-pcb-backport.git] / client / Windows / wf_gdi.h
1 /**
2  * FreeRDP: A Remote Desktop Protocol Client
3  * Windows GDI
4  *
5  * Copyright 2009-2011 Jay Sorg
6  * Copyright 2010-2011 Vic Lee
7  * Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *     http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21
22 #ifndef __WF_GDI_H
23 #define __WF_GDI_H
24
25 #include "wfreerdp.h"
26
27 void wf_invalidate_region(wfInfo* wfi, int x, int y, int width, int height);
28 wfBitmap* wf_image_new(wfInfo* wfi, int width, int height, int bpp, uint8* data);
29 void wf_image_free(wfBitmap* image);
30 void wf_toggle_fullscreen(wfInfo* wfi);
31
32 void wf_gdi_register_update_callbacks(rdpUpdate* update);
33
34 #endif /* __WF_GDI_H */