summaryrefslogtreecommitdiff
path: root/src/c_fl_file_input.h
blob: 83463321381b723a3c044b4d98033670110df455 (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


#ifndef FL_FILE_INPUT_GUARD
#define FL_FILE_INPUT_GUARD




typedef void* FILE_INPUT;




extern "C" void file_input_set_draw_hook(FILE_INPUT i, void * d);
extern "C" void fl_file_input_draw(FILE_INPUT i);
extern "C" void file_input_set_handle_hook(FILE_INPUT i, void * h);
extern "C" int fl_file_input_handle(FILE_INPUT i, int e);




extern "C" FILE_INPUT new_fl_file_input(int x, int y, int w, int h, char* label);
extern "C" void free_fl_file_input(FILE_INPUT i);




extern "C" int fl_file_input_get_down_box(FILE_INPUT i);
extern "C" void fl_file_input_set_down_box(FILE_INPUT i, int t);
extern "C" unsigned int fl_file_input_get_errorcolor(FILE_INPUT i);
extern "C" void fl_file_input_set_errorcolor(FILE_INPUT i, unsigned int t);


extern "C" const char * fl_file_input_get_value(FILE_INPUT i);
extern "C" void fl_file_input_set_value(FILE_INPUT i, const char * s, int len);


#endif