diff options
author | mongo <mongo@iomega> | 2016-04-15 16:20:17 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2016-04-15 16:20:17 -0300 |
commit | f686ba184e0af3fd37aa8a743631a7a376f30843 (patch) | |
tree | e9a48dc691511a2961f93163944ba0ca1a84e5b3 /src/marks.h | |
parent | c0a088d7a4bc61e6e69fa5bd8964c39f68507c71 (diff) |
Renamed src.scim2 to src
Diffstat (limited to 'src/marks.h')
-rwxr-xr-x | src/marks.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/marks.h b/src/marks.h new file mode 100755 index 0000000..7318819 --- /dev/null +++ b/src/marks.h @@ -0,0 +1,18 @@ +#include "range.h" + +// struct mark +// row and col -1 indicates the node represents +// a mark of a range of cells rather than a mark of just one cell +struct mark { + int row; + int col; + srange * rng; +}; +typedef struct mark mark; + +void create_mark_array(); +void free_marks_array(); +void set_cell_mark(char c, int row, int col); +void set_range_mark(char c, struct srange * s); +void fix_marks(int deltar, int deltac, int row_desde, int row_hasta, int col_desde, int col_hasta); +mark * get_mark(char c); |