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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
/* automatically generated by rust-bindgen 0.56.0 */

extern "C" {
    pub fn Cfloui_log(s: *const ::std::os::raw::c_char);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CFlouiViewController {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CFlouiViewController_new(
        arg1: *mut ::std::os::raw::c_void,
        arg2: *mut ::std::os::raw::c_void,
        arg3: *mut ::std::os::raw::c_void,
    ) -> *mut CFlouiViewController;
}
extern "C" {
    pub fn CFlouiViewController_handle_events(arg1: *mut ::std::os::raw::c_void);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CWidget {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CWidget_id(self_: *mut CWidget, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CWidget_background(self_: *mut CWidget, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CWidget_size(self_: *mut CWidget, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CWidget_inner(self_: *mut CWidget) -> *mut ::std::os::raw::c_void;
}
pub type CFlouiCallback = ::std::option::Option<
    unsafe extern "C" fn(arg1: *mut CWidget, data: *mut ::std::os::raw::c_void),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CMainView {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CMainView_new(fvc: *const CFlouiViewController) -> *mut CMainView;
}
extern "C" {
    pub fn CMainView_id(self_: *mut CMainView, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CMainView_background(self_: *mut CMainView, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CMainView_size(
        self_: *mut CMainView,
        w: ::std::os::raw::c_int,
        h: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn CMainView_inner(self_: *mut CMainView) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CMainView_add(self_: *mut CMainView, w: *const CWidget);
}
extern "C" {
    pub fn CMainView_remove(self_: *mut CMainView, w: *const CWidget);
}
extern "C" {
    pub fn CMainView_clear(self_: *mut CMainView);
}
extern "C" {
    pub fn CMainView_spacing(self_: *mut CMainView, spacing: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CVStack {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CVStack_new() -> *mut CVStack;
}
extern "C" {
    pub fn CVStack_id(self_: *mut CVStack, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CVStack_background(self_: *mut CVStack, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CVStack_size(self_: *mut CVStack, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CVStack_inner(self_: *mut CVStack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CVStack_add(self_: *mut CVStack, w: *const CWidget);
}
extern "C" {
    pub fn CVStack_remove(self_: *mut CVStack, w: *const CWidget);
}
extern "C" {
    pub fn CVStack_clear(self_: *mut CVStack);
}
extern "C" {
    pub fn CVStack_spacing(self_: *mut CVStack, spacing: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CHStack {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CHStack_new() -> *mut CHStack;
}
extern "C" {
    pub fn CHStack_id(self_: *mut CHStack, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CHStack_background(self_: *mut CHStack, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CHStack_size(self_: *mut CHStack, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CHStack_inner(self_: *mut CHStack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CHStack_add(self_: *mut CHStack, w: *const CWidget);
}
extern "C" {
    pub fn CHStack_remove(self_: *mut CHStack, w: *const CWidget);
}
extern "C" {
    pub fn CHStack_clear(self_: *mut CHStack);
}
extern "C" {
    pub fn CHStack_spacing(self_: *mut CHStack, spacing: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CButton {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CButton_id(self_: *mut CButton, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CButton_background(self_: *mut CButton, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CButton_size(self_: *mut CButton, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CButton_inner(self_: *mut CButton) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CButton_new(label: *const ::std::os::raw::c_char) -> *mut CButton;
}
extern "C" {
    pub fn CButton_action(
        self_: *mut CButton,
        cb: CFlouiCallback,
        data: *mut ::std::os::raw::c_void,
    );
}
extern "C" {
    pub fn CButton_filled(self_: *mut CButton);
}
extern "C" {
    pub fn CButton_foreground(self_: *mut CButton, c: ::std::os::raw::c_uint);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CToggle {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CToggle_id(self_: *mut CToggle, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CToggle_background(self_: *mut CToggle, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CToggle_size(self_: *mut CToggle, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CToggle_inner(self_: *mut CToggle) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CToggle_new(label: *const ::std::os::raw::c_char) -> *mut CToggle;
}
extern "C" {
    pub fn CToggle_action(
        self_: *mut CToggle,
        cb: CFlouiCallback,
        data: *mut ::std::os::raw::c_void,
    );
}
extern "C" {
    pub fn CToggle_set_value(self_: *mut CToggle, val: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CToggle_value(self_: *mut CToggle) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn CToggle_foreground(self_: *mut CToggle, c: ::std::os::raw::c_uint);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CCheck {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CCheck_id(self_: *mut CCheck, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CCheck_background(self_: *mut CCheck, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CCheck_size(self_: *mut CCheck, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CCheck_inner(self_: *mut CCheck) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CCheck_new(label: *const ::std::os::raw::c_char) -> *mut CCheck;
}
extern "C" {
    pub fn CCheck_action(self_: *mut CCheck, cb: CFlouiCallback, data: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn CCheck_set_value(self_: *mut CCheck, val: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CCheck_value(self_: *mut CCheck) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn CCheck_foreground(self_: *mut CCheck, c: ::std::os::raw::c_uint);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CSlider {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CSlider_id(self_: *mut CSlider, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CSlider_background(self_: *mut CSlider, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CSlider_size(self_: *mut CSlider, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CSlider_inner(self_: *mut CSlider) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CSlider_new() -> *mut CSlider;
}
extern "C" {
    pub fn CSlider_action(
        self_: *mut CSlider,
        cb: CFlouiCallback,
        data: *mut ::std::os::raw::c_void,
    );
}
extern "C" {
    pub fn CSlider_set_value(self_: *mut CSlider, val: f64);
}
extern "C" {
    pub fn CSlider_value(self_: *mut CSlider) -> f64;
}
extern "C" {
    pub fn CSlider_foreground(self_: *mut CSlider, c: ::std::os::raw::c_uint);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CText {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CText_id(self_: *mut CText, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CText_background(self_: *mut CText, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CText_size(self_: *mut CText, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CText_inner(self_: *mut CText) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CText_new(label: *const ::std::os::raw::c_char) -> *mut CText;
}
extern "C" {
    pub fn CText_text(self_: *mut CText, t: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CText_center(self_: *mut CText);
}
extern "C" {
    pub fn CText_left(self_: *mut CText);
}
extern "C" {
    pub fn CText_right(self_: *mut CText);
}
extern "C" {
    pub fn CText_bold(self_: *mut CText);
}
extern "C" {
    pub fn CText_italic(self_: *mut CText);
}
extern "C" {
    pub fn CText_normal(self_: *mut CText);
}
extern "C" {
    pub fn CText_foreground(self_: *mut CText, c: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CText_fontsize(self_: *mut CText, size: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CTextField {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CTextField_id(self_: *mut CTextField, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CTextField_background(self_: *mut CTextField, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CTextField_size(
        self_: *mut CTextField,
        w: ::std::os::raw::c_int,
        h: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn CTextField_inner(self_: *mut CTextField) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CTextField_new() -> *mut CTextField;
}
extern "C" {
    pub fn CTextField_text(self_: *mut CTextField, t: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CTextField_center(self_: *mut CTextField);
}
extern "C" {
    pub fn CTextField_left(self_: *mut CTextField);
}
extern "C" {
    pub fn CTextField_right(self_: *mut CTextField);
}
extern "C" {
    pub fn CTextField_foreground(self_: *mut CTextField, c: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CTextField_fontsize(self_: *mut CTextField, size: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CSpacer {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CSpacer_id(self_: *mut CSpacer, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CSpacer_background(self_: *mut CSpacer, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CSpacer_size(self_: *mut CSpacer, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CSpacer_inner(self_: *mut CSpacer) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CSpacer_new() -> *mut CSpacer;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CImageView {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CImageView_id(self_: *mut CImageView, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CImageView_background(self_: *mut CImageView, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CImageView_size(
        self_: *mut CImageView,
        w: ::std::os::raw::c_int,
        h: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn CImageView_inner(self_: *mut CImageView) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CImageView_new() -> *mut CImageView;
}
extern "C" {
    pub fn CImageView_load(path: *const ::std::os::raw::c_char) -> *mut CImageView;
}
extern "C" {
    pub fn CImageView_image(self_: *mut CImageView, path: *const ::std::os::raw::c_char);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CWebView {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CWebView_id(self_: *mut CWebView, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CWebView_background(self_: *mut CWebView, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CWebView_size(self_: *mut CWebView, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int);
}
extern "C" {
    pub fn CWebView_inner(self_: *mut CWebView) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CWebView_new() -> *mut CWebView;
}
extern "C" {
    pub fn CWebView_load_url(self_: *mut CWebView, url: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CWebView_load_html(self_: *mut CWebView, html: *const ::std::os::raw::c_char);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CScrollView {
    _unused: [u8; 0],
}
extern "C" {
    pub fn CScrollView_id(self_: *mut CScrollView, id: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn CScrollView_background(self_: *mut CScrollView, col: ::std::os::raw::c_uint);
}
extern "C" {
    pub fn CScrollView_size(
        self_: *mut CScrollView,
        w: ::std::os::raw::c_int,
        h: ::std::os::raw::c_int,
    );
}
extern "C" {
    pub fn CScrollView_inner(self_: *mut CScrollView) -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn CScrollView_new(w: *const CWidget) -> *mut CScrollView;
}