From 132dcb648981050990e34a44925e6b54d0dc008c Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 6 Jan 2021 17:36:07 -0500 Subject: more open menu, border thickness setting, fixed small text clipping issue --- ted.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ted.h') diff --git a/ted.h b/ted.h index 8c475a9..5cc5f4e 100644 --- a/ted.h +++ b/ted.h @@ -8,6 +8,7 @@ typedef struct { u8 tab_width; u8 cursor_width; u8 undo_save_time; + u8 border_thickness; } Settings; #define SCANCODE_COUNT 0x120 // SDL scancodes should be less than this value. @@ -77,6 +78,7 @@ typedef struct Ted { // the old active buffer needs to be restored. that's what this stores. TextBuffer *prev_active_buffer; Settings settings; + float window_width, window_height; Menu menu; KeyAction key_actions[KEY_COMBO_COUNT]; char error[256]; -- cgit v1.2.3