summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 58b5324..9228d00 100644
--- a/ted.h
+++ b/ted.h
@@ -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;