diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-15 23:53:55 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-15 23:53:55 +0100 |
| commit | e4b9aed49eb5464c631960627b63ef703e6e20a4 (patch) | |
| tree | 7e5c073b600f3b0b927a397d1bd6349d29a207ec /draw.c | |
| parent | 6ebf2ef9b1c0e08b2b1b3fec18839295014dd688 (diff) | |
Refine connection event dispatcher
Diffstat (limited to 'draw.c')
| -rw-r--r-- | draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |
