diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-28 20:40:52 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-28 20:40:52 -0500 |
commit | 31b5649b131695300f39563640c4af8f0d3032cb (patch) | |
tree | 71f4c2d2c0b2e56a36e7c86f250869c6daa16eda /ted.h | |
parent | 0e57122ecfd554131fd6ad54fcbb556733bf6c88 (diff) |
more tabs
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -103,12 +103,15 @@ typedef struct { // a node is a collection of tabs OR a split of two nodes typedef struct Node { u16 *tabs; // dynamic array of indices into ted->buffers, or NULL if this is a split + u16 active_tab; u16 left; // index into ted->nodes u16 right; } Node; #define TED_MAX_BUFFERS 256 #define TED_MAX_NODES 256 +// max tabs per node +#define TED_MAX_TABS 100 typedef struct Ted { Font *font_bold; Font *font; |