#include <adt/list.h>#include <sys/types.h>#include <bool.h>Go to the source code of this file.
Data Structures | |
| struct | coord_t |
| Character cell coordinates. More... | |
| struct | sheet_t |
| Sheet. More... | |
| struct | spt_t |
| S-point. More... | |
| struct | tag_t |
| Tag. More... | |
Enumerations | |
| enum | dir_spec { dir_before, dir_after } |
| Direction (in linear space). More... | |
Functions | |
| void | sheet_copy_out (sheet_t *sh, spt_t const *spos, spt_t const *epos, char *buf, size_t bufsize, spt_t *fpos) |
| Read text from sheet. | |
| int | sheet_delete (sheet_t *sh, spt_t *spos, spt_t *epos) |
| Delete text from sheet. | |
| void | sheet_get_cell_pt (sheet_t *sh, coord_t const *coord, enum dir_spec dir, spt_t *pt) |
| Get point preceding or following character cell. | |
| void | sheet_get_num_rows (sheet_t *sh, int *rows) |
| Get the number of rows in a sheet. | |
| void | sheet_get_row_width (sheet_t *sh, int row, int *length) |
| Get the number of character cells a row occupies. | |
| int | sheet_init (sheet_t *sh) |
| Initialize an empty sheet. | |
| int | sheet_insert (sheet_t *sh, spt_t *pos, enum dir_spec dir, char *str) |
| Insert text into sheet. | |
| void | sheet_place_tag (sheet_t *sh, spt_t const *pt, tag_t *tag) |
| Place a tag on the specified s-point. | |
| void | sheet_remove_tag (sheet_t *sh, tag_t *tag) |
| Remove a tag from the sheet. | |
| bool | spt_equal (spt_t const *a, spt_t const *b) |
| Test if two s-points are equal. | |
| void | spt_get_coord (spt_t const *pos, coord_t *coord) |
| Get the coordinates of an s-point. | |
| void | tag_get_pt (tag_t const *tag, spt_t *pt) |
| Get s-point on which the tag is located right now. | |
Definition in file sheet.h.
1.4.7