draw.h
raw| 1 | /* $Id: draw.h,v 1.5 2024/10/02 00:12:34 tom Exp $ */ |
| 2 | |
| 3 | typedef struct { |
| 4 | int top; |
| 5 | int left; |
| 6 | int bottom; |
| 7 | int right; |
| 8 | } BOX; |
| 9 | |
| 10 | extern int make_box_params(BOX *box, int vmargin, int hmargin); |
| 11 | extern void draw_box_outline(const BOX *box, int mark); |
| 12 | extern void draw_box_filled(const BOX *box, int mark); |
| 13 | extern void draw_box_caption(const BOX *box, int margin, const char **c); |
| 14 | extern void ruler(int row, int width); |