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
|
// Programmed by Jedidiah Barber
// Released into the public domain
#ifndef FL_ABSTRACT_BROWSER_GUARD
#define FL_ABSTRACT_BROWSER_GUARD
extern "C" const int fl_sort_ascending;
extern "C" const int fl_sort_descending;
typedef void* ABSTRACTBROWSER;
extern "C" ABSTRACTBROWSER new_fl_abstract_browser(int x, int y, int w, int h, char * label);
extern "C" void free_fl_abstract_browser(ABSTRACTBROWSER b);
extern "C" void * fl_abstract_browser_hscrollbar(ABSTRACTBROWSER b);
extern "C" void * fl_abstract_browser_scrollbar(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_select(ABSTRACTBROWSER b, void * i, int v, int c);
extern "C" int fl_abstract_browser_select_only(ABSTRACTBROWSER b, void * i, int c);
extern "C" void * fl_abstract_browser_selection(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_deselect(ABSTRACTBROWSER b, int c);
extern "C" void fl_abstract_browser_display(ABSTRACTBROWSER b, void * i);
extern "C" int fl_abstract_browser_displayed(ABSTRACTBROWSER b, void * i);
extern "C" void * fl_abstract_browser_find_item(ABSTRACTBROWSER b, int y);
extern "C" void * fl_abstract_browser_top(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_sort(ABSTRACTBROWSER b, int f);
extern "C" unsigned char fl_abstract_browser_get_has_scrollbar(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_has_scrollbar(ABSTRACTBROWSER b, unsigned char m);
extern "C" int fl_abstract_browser_get_hposition(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_hposition(ABSTRACTBROWSER b, int p);
extern "C" int fl_abstract_browser_get_position(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_position(ABSTRACTBROWSER b, int p);
extern "C" void fl_abstract_browser_scrollbar_left(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_scrollbar_right(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_get_scrollbar_size(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_scrollbar_size(ABSTRACTBROWSER b, int s);
extern "C" unsigned int fl_abstract_browser_get_textcolor(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_textcolor(ABSTRACTBROWSER b, unsigned int c);
extern "C" int fl_abstract_browser_get_textfont(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_textfont(ABSTRACTBROWSER b, int f);
extern "C" int fl_abstract_browser_get_textsize(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_set_textsize(ABSTRACTBROWSER b, int s);
extern "C" void fl_abstract_browser_resize(ABSTRACTBROWSER b, int x, int y, int w, int h);
extern "C" void fl_abstract_browser_bbox(ABSTRACTBROWSER b, int &x, int &y, int &w, int &h);
extern "C" int fl_abstract_browser_leftedge(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_redraw_line(ABSTRACTBROWSER b, void * i);
extern "C" void fl_abstract_browser_redraw_lines(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_full_width(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_full_height(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_incr_height(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_item_quick_height(ABSTRACTBROWSER b, void * i);
extern "C" void fl_abstract_browser_new_list(ABSTRACTBROWSER b);
extern "C" void fl_abstract_browser_inserting(ABSTRACTBROWSER b, void * a1, void * a2);
extern "C" void fl_abstract_browser_deleting(ABSTRACTBROWSER b, void * item);
extern "C" void fl_abstract_browser_replacing(ABSTRACTBROWSER b, void * a1, void * a2);
extern "C" void fl_abstract_browser_swapping(ABSTRACTBROWSER b, void * a1, void * a2);
extern "C" void fl_abstract_browser_draw(ABSTRACTBROWSER b);
extern "C" int fl_abstract_browser_handle(ABSTRACTBROWSER b, int e);
#endif
|