X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsom.h;h=9d195c94e0a6a8282faf852c07b156de6ea82954;hb=6a42f0b711d699333fda01a076b8a27275fc4492;hp=f5780edd2ab3c2dc1b986755c3a7cfdb30a00bf7;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/som.h b/src/som.h index f5780edd2a..9d195c94e0 100644 --- a/src/som.h +++ b/src/som.h @@ -36,6 +36,8 @@ desired, and in fact almost every operation performed by som may be overridden in a table class. */ +#include "bool.h" + enum som_type { SOM_TABLE, @@ -91,10 +93,13 @@ struct som_table_class void (*join) (int *(column[2]), int *(row[2])); /* ? */ void (*cumulate) (int cumtype, int start, int *end, int max, int *actual); void (*flags) (unsigned *); + bool (*fits_width) (int width); + bool (*fits_length) (int length); /* Set columns and rows. */ void (*set_width) (int column, int width); /* ? */ void (*set_height) (int row, int height); /* ? */ + void (*set_headers) (int l, int r, int t, int b); /* Rendering. */ void (*title) (int x, int y);