21 |
|
|
22 |
|
|
23 |
/* |
/* |
24 |
* Demo, showing the different fonts in different sizes. |
* Demo, showing the different fonts in different sizes. |
25 |
* M. Overmars and T.C. Zhao |
* M. Overmars and T.C. Zhao |
26 |
*/ |
*/ |
27 |
|
|
28 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
46 |
FD_fontsform *ui; |
FD_fontsform *ui; |
47 |
|
|
48 |
void done_cb(FL_OBJECT *obj, long arg) |
void done_cb(FL_OBJECT *obj, long arg) |
49 |
{ |
{ |
50 |
fl_finish(); |
fl_finish(); |
51 |
exit(0); |
exit(0); |
52 |
} |
} |
73 |
} |
} |
74 |
|
|
75 |
void addit(const char *str) |
void addit(const char *str) |
76 |
{ |
{ |
77 |
fl_add_browser_line(ui->fontobj,str); |
fl_add_browser_line(ui->fontobj,str); |
78 |
} |
} |
79 |
|
|
80 |
int |
int |