36 |
desired, and in fact almost every operation performed by som may be |
desired, and in fact almost every operation performed by som may be |
37 |
overridden in a table class. */ |
overridden in a table class. */ |
38 |
|
|
39 |
|
#include "bool.h" |
40 |
|
|
41 |
enum som_type |
enum som_type |
42 |
{ |
{ |
43 |
SOM_TABLE, |
SOM_TABLE, |
93 |
void (*join) (int *(column[2]), int *(row[2])); /* ? */ |
void (*join) (int *(column[2]), int *(row[2])); /* ? */ |
94 |
void (*cumulate) (int cumtype, int start, int *end, int max, int *actual); |
void (*cumulate) (int cumtype, int start, int *end, int max, int *actual); |
95 |
void (*flags) (unsigned *); |
void (*flags) (unsigned *); |
96 |
|
bool (*fits_width) (int width); |
97 |
|
bool (*fits_length) (int length); |
98 |
|
|
99 |
/* Set columns and rows. */ |
/* Set columns and rows. */ |
100 |
void (*set_width) (int column, int width); /* ? */ |
void (*set_width) (int column, int width); /* ? */ |
101 |
void (*set_height) (int row, int height); /* ? */ |
void (*set_height) (int row, int height); /* ? */ |
102 |
|
void (*set_headers) (int l, int r, int t, int b); |
103 |
|
|
104 |
/* Rendering. */ |
/* Rendering. */ |
105 |
void (*title) (int x, int y); |
void (*title) (int x, int y); |