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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
/* automatically generated by rust-bindgen */

#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Fl_Widget {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Fl_Widget_Tracker {
    _unused: [u8; 0],
}
pub type Fl_Awake_Handler = ::core::option::Option<unsafe extern "C" fn(data: *mut libc::c_void)>;
extern "C" {
    pub fn Fl_run() -> libc::c_int;
}
extern "C" {
    pub fn Fl_lock() -> libc::c_int;
}
extern "C" {
    pub fn Fl_unlock();
}
extern "C" {
    pub fn Fl_awake(handler: Fl_Awake_Handler, data: *mut libc::c_void) -> libc::c_int;
}
extern "C" {
    pub fn Fl_awake2();
}
extern "C" {
    pub fn Fl_set_scrollbar_size(arg1: libc::c_int);
}
extern "C" {
    pub fn Fl_scrollbar_size() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_key() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_text() -> *const libc::c_char;
}
extern "C" {
    pub fn Fl_event_button() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_clicks() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_x() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_y() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_x_root() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_y_root() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_dx() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_dy() -> libc::c_int;
}
extern "C" {
    pub fn Fl_get_mouse(arg1: *mut libc::c_int, arg2: *mut libc::c_int);
}
extern "C" {
    pub fn Fl_event_is_click() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_length() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_state() -> libc::c_int;
}
extern "C" {
    pub fn Fl_screen_h() -> libc::c_int;
}
extern "C" {
    pub fn Fl_screen_w() -> libc::c_int;
}
extern "C" {
    pub fn Fl_paste(arg1: *mut Fl_Widget, src: libc::c_int);
}
extern "C" {
    pub fn Fl_set_scheme(scheme: *const libc::c_char);
}
extern "C" {
    pub fn Fl_scheme() -> libc::c_int;
}
extern "C" {
    pub fn Fl_scheme_string() -> *const libc::c_char;
}
extern "C" {
    pub fn Fl_visible_focus() -> libc::c_int;
}
extern "C" {
    pub fn Fl_set_visible_focus(arg1: libc::c_int);
}
extern "C" {
    pub fn Fl_set_box_type(arg1: libc::c_int, arg2: libc::c_int);
}
extern "C" {
    pub fn Fl_get_rgb_color(r: libc::c_uchar, g: libc::c_uchar, b: libc::c_uchar) -> libc::c_uint;
}
extern "C" {
    pub fn Fl_set_color(c: libc::c_uint, r: libc::c_uchar, g: libc::c_uchar, b: libc::c_uchar);
}
extern "C" {
    pub fn Fl_get_font(idx: libc::c_int) -> *const libc::c_char;
}
extern "C" {
    pub fn Fl_set_fonts(c: *const libc::c_char) -> libc::c_uchar;
}
extern "C" {
    pub fn Fl_set_font(arg1: libc::c_int, arg2: libc::c_int);
}
extern "C" {
    pub fn Fl_add_handler(
        ev_handler: ::core::option::Option<unsafe extern "C" fn(ev: libc::c_int) -> libc::c_int>,
    );
}
extern "C" {
    pub fn Fl_awake_msg(msg: *mut libc::c_void);
}
extern "C" {
    pub fn Fl_thread_msg() -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_wait() -> libc::c_int;
}
extern "C" {
    pub fn Fl_wait_for(arg1: f64) -> f64;
}
extern "C" {
    pub fn Fl_add_timeout(
        t: f64,
        arg1: ::core::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void)>,
        arg2: *mut libc::c_void,
    );
}
extern "C" {
    pub fn Fl_repeat_timeout(
        t: f64,
        arg1: ::core::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void)>,
        arg2: *mut libc::c_void,
    );
}
extern "C" {
    pub fn Fl_remove_timeout(
        arg1: ::core::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void)>,
        arg2: *mut libc::c_void,
    );
}
extern "C" {
    pub fn Fl_dnd() -> libc::c_int;
}
extern "C" {
    pub fn Fl_grab() -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_set_grab(arg1: *mut libc::c_void);
}
extern "C" {
    pub fn Fl_first_window() -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_next_window(arg1: *const libc::c_void) -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_should_program_quit() -> libc::c_int;
}
extern "C" {
    pub fn Fl_program_should_quit(flag: libc::c_int);
}
extern "C" {
    pub fn Fl_event_inside(
        arg1: libc::c_int,
        arg2: libc::c_int,
        arg3: libc::c_int,
        arg4: libc::c_int,
    ) -> libc::c_int;
}
extern "C" {
    pub fn Fl_belowmouse() -> *mut Fl_Widget;
}
extern "C" {
    pub fn Fl_delete_widget(w: *mut Fl_Widget);
}
extern "C" {
    pub fn Fl_Widget_Tracker_new(w: *mut Fl_Widget) -> *mut Fl_Widget_Tracker;
}
extern "C" {
    pub fn Fl_Widget_Tracker_deleted(self_: *mut Fl_Widget_Tracker) -> libc::c_int;
}
extern "C" {
    pub fn Fl_Widget_Tracker_delete(self_: *mut Fl_Widget_Tracker);
}
extern "C" {
    pub fn Fl_init_all();
}
extern "C" {
    pub fn Fl_redraw();
}
extern "C" {
    pub fn Fl_event_shift() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_ctrl() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_command() -> libc::c_int;
}
extern "C" {
    pub fn Fl_event_alt() -> libc::c_int;
}
extern "C" {
    pub fn Fl_set_damage(flag: libc::c_int);
}
extern "C" {
    pub fn Fl_damage() -> libc::c_int;
}
extern "C" {
    pub fn Fl_visual(arg1: libc::c_int) -> libc::c_int;
}
extern "C" {
    pub fn Fl_own_colormap();
}
extern "C" {
    pub fn Fl_pushed() -> *mut Fl_Widget;
}
extern "C" {
    pub fn Fl_focus() -> *mut Fl_Widget;
}
extern "C" {
    pub fn Fl_set_focus(arg1: *mut libc::c_void);
}
extern "C" {
    pub fn Fl_version() -> f64;
}
extern "C" {
    pub fn Fl_api_version() -> libc::c_int;
}
extern "C" {
    pub fn Fl_abi_version() -> libc::c_int;
}
extern "C" {
    pub fn Fl_load_font(path: *const libc::c_char) -> *const libc::c_char;
}
extern "C" {
    pub fn Fl_unload_font(path: *const libc::c_char);
}