summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-14 00:13:15 -0300
committerAndrés <andmarti@gmail.com>2021-03-14 00:13:15 -0300
commitc4372c31ce07f6fce8b41486f6b8ba2956965a96 (patch)
tree40e0708d728110e540a7482168df02292b9ddec2 /src/macros.h
parent34705e4a01bb5c902f9d6bd8d6fc3e528d68e0a1 (diff)
Fixed SIGWINCH when input bar is at bottom
Added new HEADINGS_ODD, GRID_PAIR, and GRID_ODD types. Can be used like this: DEFINE_COLOR "cornsilk" 255 248 220 DEFINE_COLOR "wheat" 245 222 179 DEFINE_COLOR "dark_khaki" 189 183 107 DEFINE_COLOR "gray50" 127 127 127 DEFINE_COLOR "gray80" 204 204 204 DEFINE_COLOR "gray90" 229 229 229 color "type=GRID_PAIR fg=dark_khaki bg=cornsilk" color "type=GRID_ODD fg=dark_khaki bg=wheat" color "type=HEADINGS fg=dark_khaki bg=gray50" color "type=HEADINGS_ODD fg=gray50 bg=gray90"
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 486c846..ca4c9b5 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -104,6 +104,9 @@
#define DEFAULT 18
#define DEBUG_MSG 19
#define VALUE_MSG 20
+#define GRID_PAIR 21
+#define GRID_ODD 22
+#define HEADINGS_ODD 23
void ui_sc_msg(char * s, int type, ...);
#define sc_error(x, ...) ui_sc_msg(x, ERROR_MSG, ##__VA_ARGS__)