summaryrefslogtreecommitdiff
path: root/src/c_fl_static.h
blob: dac01d874a10ed0cfd8cc0e53088fe0a815e39f4 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104


#ifndef FL_STATIC_GUARD
#define FL_STATIC_GUARD




extern "C" inline void fl_static_add_awake_handler(void * h, void * f);
extern "C" inline void fl_static_get_awake_handler(void * &h, void * &f);


extern "C" inline void fl_static_add_check(void * h, void * f);
extern "C" inline int fl_static_has_check(void * h, void * f);
extern "C" inline void fl_static_remove_check(void * h, void * f);


extern "C" inline void fl_static_add_timeout(double s, void * h, void * f);
extern "C" inline int fl_static_has_timeout(void * h, void * f);
extern "C" inline void fl_static_remove_timeout(void * h, void * f);
extern "C" inline void fl_static_repeat_timeout(double s, void * h, void * f);


extern "C" inline void fl_static_add_clipboard_notify(void * h, void * f);


extern "C" inline void fl_static_add_fd(int d, void * h, void * f);
extern "C" inline void fl_static_add_fd2(int d, int m, void * h, void * f);
extern "C" inline void fl_static_remove_fd(int d);
extern "C" inline void fl_static_remove_fd2(int d, int m);


extern "C" inline void fl_static_add_idle(void * h, void * f);
extern "C" inline int fl_static_has_idle(void * h, void * f);
extern "C" inline void fl_static_remove_idle(void * h, void * f);


extern "C" inline void fl_static_get_color(unsigned int c, unsigned char &r, unsigned char &g, unsigned char &b);
extern "C" inline void fl_static_set_color(unsigned int c, unsigned char r, unsigned char g, unsigned char b);
extern "C" inline void fl_static_free_color(unsigned int c, int b);
extern "C" inline void fl_static_foreground(unsigned int r, unsigned int g, unsigned int b);
extern "C" inline void fl_static_background(unsigned int r, unsigned int g, unsigned int b);
extern "C" inline void fl_static_background2(unsigned int r, unsigned int g, unsigned int b);


extern "C" inline const char * fl_static_get_font(int f);
extern "C" inline const char * fl_static_get_font_name(int f);
extern "C" inline void fl_static_set_font(int t, int f);
extern "C" inline int fl_static_get_font_sizes(int f, int * &a);
extern "C" inline int fl_static_font_size_array_get(int * a, int i);
extern "C" inline int fl_static_set_fonts();


extern "C" inline int fl_static_box_dh(int b);
extern "C" inline int fl_static_box_dw(int b);
extern "C" inline int fl_static_box_dx(int b);
extern "C" inline int fl_static_box_dy(int b);
extern "C" inline void fl_static_set_boxtype(int t, int f);
extern "C" inline int fl_static_draw_box_active();


extern "C" inline void fl_static_copy(const char * t, int l, int k);
extern "C" inline void fl_static_paste(void * r, int s);
extern "C" inline void fl_static_selection(void * o, char * t, int l);


extern "C" inline void fl_static_dnd();
extern "C" inline int fl_static_get_dnd_text_ops();
extern "C" inline void fl_static_set_dnd_text_ops(int t);


extern "C" inline void fl_static_enable_im();
extern "C" inline void fl_static_disable_im();
extern "C" inline int fl_static_get_visible_focus();
extern "C" inline void fl_static_set_visible_focus(int f);


extern "C" inline void fl_static_default_atclose(void * w);
extern "C" inline void * fl_static_get_first_window();
extern "C" inline void fl_static_set_first_window(void * w);
extern "C" inline void * fl_static_next_window(void * w);
extern "C" inline void * fl_static_modal();


extern "C" inline void * fl_static_readqueue();
extern "C" inline void fl_static_do_widget_deletion();


extern "C" inline const char * fl_static_get_scheme();
extern "C" inline void fl_static_set_scheme(const char *n);
extern "C" inline int fl_static_is_scheme(const char *n);
extern "C" inline void fl_static_reload_scheme();


extern "C" inline int fl_static_get_option(int o);
extern "C" inline void fl_static_set_option(int o, int t);


extern "C" inline int fl_static_get_scrollbar_size();
extern "C" inline void fl_static_set_scrollbar_size(int s);


#endif