summaryrefslogtreecommitdiff
path: root/src/c_fl_image_surface.h
blob: 3ecafd380f889e438741f6acb43f302eadf37244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31


#ifndef FL_IMAGE_SURFACE_GUARD
#define FL_IMAGE_SURFACE_GUARD




typedef void* IMAGE_SURFACE;




extern "C" IMAGE_SURFACE new_fl_image_surface(int w, int h, int r);
extern "C" void free_fl_image_surface(IMAGE_SURFACE s);




extern "C" void fl_image_surface_draw(IMAGE_SURFACE s, void * w, int dx, int dy);
extern "C" void fl_image_surface_draw_decorated_window(IMAGE_SURFACE s, void * w, int dx, int dy);


extern "C" void * fl_image_surface_image(IMAGE_SURFACE s);


extern "C" void fl_image_surface_set_current(IMAGE_SURFACE s);


#endif