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-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 8d3980c..4f81e4c 100644 --- a/vis-core.h +++ b/vis-core.h @@ -236,6 +236,7 @@ enum VisEvents { VIS_EVENT_WIN_HIGHLIGHT, VIS_EVENT_WIN_STATUS, VIS_EVENT_TERM_CSI, + VIS_EVENT_UI_DRAW, }; bool vis_event_emit(Vis*, enum VisEvents, ...); -- cgit v1.2.3