aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.h
diff options
context:
space:
mode:
authorRudy Dellomas III <dther@dther.xyz>2024-04-21 20:25:40 +1000
committerRandy Palamar <randy@rnpnr.xyz>2024-04-29 08:36:44 -0600
commit596ec20dd81fc4a48a528bfed9e241343ee03eaa (patch)
tree9ece9e4212b1d770b33f8fd8317ff13d079f91eb /vis-lua.h
parent62ccfe59ae63858dc5c21039e907a9277134d171 (diff)
downloadvis-596ec20dd81fc4a48a528bfed9e241343ee03eaa.tar.gz
vis-596ec20dd81fc4a48a528bfed9e241343ee03eaa.tar.xz
Emit an event (ui_draw) immediately before drawing the screen
This allows better control over styling, as well as potential for entirely new UI elements implemented entirely using the Lua API.
Diffstat (limited to 'vis-lua.h')
-rw-r--r--vis-lua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-lua.h b/vis-lua.h
index d622ff5..b4f3f51 100644
--- a/vis-lua.h
+++ b/vis-lua.h
@@ -42,5 +42,6 @@ void vis_lua_win_highlight(Vis*, Win*);
void vis_lua_win_status(Vis*, Win*);
void vis_lua_term_csi(Vis*, const long *);
void vis_lua_process_response(Vis *, const char *, char *, size_t, ResponseType);
+void vis_lua_ui_draw(Vis*);
#endif