From e4b9aed49eb5464c631960627b63ef703e6e20a4 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Wed, 15 Nov 2023 23:53:55 +0100 Subject: Refine connection event dispatcher --- draw.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 7f77927..ebaf004 100644 --- a/draw.c +++ b/draw.c @@ -6,6 +6,12 @@ #include "draw.h" #include "log.h" +// Idea: Either make a to_draw queue where we put things we schedule to redraw +// (this will also work for animations in the future) +// or use some flags to trigger drawing +// +// Anyway, a drawing context struct is required + // Make this a state passed to draw int draw_height, draw_x_padding, draw_y_padding; PangoFontDescription *desc; -- cgit v1.2.3