diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-25 18:27:07 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-25 18:27:07 -0500 |
commit | 2baf965c7db4a3640cd120e050c61aa7de67448b (patch) | |
tree | 4ea6d87d6157b3d25eba24aa8805a10219c44a2f /ted.h | |
parent | 3ff107c7ca438749a8425feef9eefb67c7a8abfc (diff) |
node resizing working
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -203,6 +203,7 @@ 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 + v2 size; // size of node, as a percentage of the window dimensions float split_pos; // number from 0 to 1 indicating where the split is. u16 active_tab; // index of active tab in tabs. bool split_vertical; // is the split vertical? if false, this split looks like a|b |