summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-03 14:48:51 -0400
committerpommicket <pommicket@gmail.com>2022-11-03 14:48:51 -0400
commit809ce7cdc95cd602223333b53761735238b5b48a (patch)
tree59f2ddd7cfcad5deae31761284518829297c470f /ted.h
parent609cdb6f0cc9f6f5d86366fbf60364f463cba551 (diff)
custom bg-shader
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 5eebced..0271d64 100644
--- a/ted.h
+++ b/ted.h
@@ -166,6 +166,10 @@ typedef struct {
u8 padding;
u8 scrolloff;
u8 tags_max_depth;
+ u32 bg_shader;
+ u32 bg_buffer;
+ u32 bg_array;
+ char bg_shader_text[4096];
char build_default_command[256];
// [i] = comma-separated string of file extensions for language i, or NULL for none
char *language_extensions[LANG_COUNT];
@@ -407,6 +411,8 @@ typedef struct Ted {
float build_output_height; // what % of the screen the build output takes up
bool resizing_build_output;
+
+ double last_save_time; // last time a save command was executed. used for bg-shaders.
Process build_process;
// When we read the stdout from the build process, the tail end of the read could be an