summaryrefslogtreecommitdiff
path: root/src/c_fl_cairo_window.h
blob: d004d16111287f22ebcacb34e4ea47c82417ccc6 (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


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef FL_CAIRO_WINDOW_GUARD
#define FL_CAIRO_WINDOW_GUARD


typedef void* CAIROWINDOW;


extern "C" CAIROWINDOW new_fl_cairo_window(int w, int h);
extern "C" void free_fl_cairo_window(CAIROWINDOW w);


extern "C" void fl_cairo_window_set_draw_cb(CAIROWINDOW w, void * cb);


extern "C" void fl_cairo_window_draw(CAIROWINDOW w);
extern "C" int fl_cairo_window_handle(CAIROWINDOW w, int e);


#endif