From 596ec20dd81fc4a48a528bfed9e241343ee03eaa Mon Sep 17 00:00:00 2001 From: Rudy Dellomas III Date: Sun, 21 Apr 2024 20:25:40 +1000 Subject: 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. --- vis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index b67d3c5..8287a45 100644 --- a/vis.h +++ b/vis.h @@ -58,6 +58,7 @@ typedef struct { void (*win_highlight)(Vis*, Win*); void (*win_status)(Vis*, Win*); void (*term_csi)(Vis*, const long *); + void (*ui_draw)(Vis*); } VisEvent; /** Union used to pass arguments to key action functions. */ -- cgit v1.2.3