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
|
// Programmed by Jedidiah Barber
// Released into the public domain
#ifndef FL_HELP_VIEW_GUARD
#define FL_HELP_VIEW_GUARD
typedef void* HELPVIEW;
extern "C" HELPVIEW new_fl_help_view(int x, int y, int w, int h, char * label);
extern "C" void free_fl_help_view(HELPVIEW v);
extern "C" void fl_help_view_clear_selection(HELPVIEW v);
extern "C" void fl_help_view_select_all(HELPVIEW v);
extern "C" int fl_help_view_find(HELPVIEW v, const char * s, int p);
extern "C" int fl_help_view_get_leftline(HELPVIEW v);
extern "C" void fl_help_view_set_leftline(HELPVIEW v, int t);
extern "C" int fl_help_view_get_topline(HELPVIEW v);
extern "C" void fl_help_view_set_topline(HELPVIEW v, int t);
extern "C" void fl_help_view_set_topline_target(HELPVIEW v, const char * t);
extern "C" const char * fl_help_view_directory(HELPVIEW v);
extern "C" const char * fl_help_view_filename(HELPVIEW v);
extern "C" int fl_help_view_load(HELPVIEW v, const char * f);
extern "C" const char * fl_help_view_title(HELPVIEW v);
extern "C" const char * fl_help_view_get_value(HELPVIEW v);
extern "C" void fl_help_view_set_value(HELPVIEW v, const char * t);
extern "C" void fl_help_view_link(HELPVIEW v, void * f);
extern "C" int fl_help_view_get_scrollbar_size(HELPVIEW v);
extern "C" void fl_help_view_set_scrollbar_size(HELPVIEW v, int s);
extern "C" int fl_help_view_get_size(HELPVIEW v);
extern "C" void fl_help_view_set_size(HELPVIEW v, int w, int h);
extern "C" void fl_help_view_resize(HELPVIEW v, int x, int y, int w, int h);
extern "C" unsigned int fl_help_view_get_textcolor(HELPVIEW v);
extern "C" void fl_help_view_set_textcolor(HELPVIEW v, unsigned int c);
extern "C" int fl_help_view_get_textfont(HELPVIEW v);
extern "C" void fl_help_view_set_textfont(HELPVIEW v, int f);
extern "C" int fl_help_view_get_textsize(HELPVIEW v);
extern "C" void fl_help_view_set_textsize(HELPVIEW v, int s);
extern "C" void fl_help_view_draw(HELPVIEW v);
extern "C" int fl_help_view_handle(HELPVIEW v, int e);
#endif
|