64 |
int x1, y1; |
int x1, y1; |
65 |
int x2, y2; |
int x2, y2; |
66 |
int hit; |
int hit; |
67 |
struct len_string contents; |
struct fixed_string contents; |
68 |
}; |
}; |
69 |
|
|
70 |
struct outp_driver; |
struct outp_driver; |
79 |
/* Contents. */ |
/* Contents. */ |
80 |
int col_style; /* Columns: One of TAB_COL_*. */ |
int col_style; /* Columns: One of TAB_COL_*. */ |
81 |
int col_group; /* Number of rows per column group. */ |
int col_group; /* Number of rows per column group. */ |
82 |
struct len_string title; /* Table title. */ |
struct fixed_string title; /* Table title. */ |
83 |
unsigned flags; /* SOMF_*. */ |
unsigned flags; /* SOMF_*. */ |
84 |
int nc, nr; /* Number of columns, rows. */ |
int nc, nr; /* Number of columns, rows. */ |
85 |
int cf; /* Column factor for indexing purposes. */ |
int cf; /* Column factor for indexing purposes. */ |
86 |
int l, r, t, b; /* Number of header rows on each side. */ |
int l, r, t, b; /* Number of header rows on each side. */ |
87 |
struct len_string *cc; /* Cell contents; len_string *[nr][nc]. */ |
struct fixed_string *cc; /* Cell contents; fixed_string *[nr][nc]. */ |
88 |
unsigned char *ct; /* Cell types; unsigned char[nr][nc]. */ |
unsigned char *ct; /* Cell types; unsigned char[nr][nc]. */ |
89 |
unsigned char *rh; /* Horiz rules; unsigned char[nr+1][nc]. */ |
unsigned char *rh; /* Horiz rules; unsigned char[nr+1][nc]. */ |
90 |
unsigned char *trh; /* Types of horiz rules; [nr+1]. */ |
unsigned char *trh; /* Types of horiz rules; [nr+1]. */ |
177 |
/* Cell low-level access. */ |
/* Cell low-level access. */ |
178 |
#define tab_alloc(TABLE, AMT) pool_alloc ((TABLE)->container, (AMT)) |
#define tab_alloc(TABLE, AMT) pool_alloc ((TABLE)->container, (AMT)) |
179 |
void tab_raw (struct tab_table *, int c, int r, unsigned opt, |
void tab_raw (struct tab_table *, int c, int r, unsigned opt, |
180 |
struct len_string *); |
struct fixed_string *); |
181 |
|
|
182 |
/* Editing. */ |
/* Editing. */ |
183 |
void tab_offset (struct tab_table *, int col, int row); |
void tab_offset (struct tab_table *, int col, int row); |