From fc5597e2a0f7061e0235d084706bc2e092ba812d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 19 Aug 2016 04:10:02 -0300 Subject: [PATCH] eeshow/gui/render.c: update section comments --- eeshow/gui/render.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eeshow/gui/render.c b/eeshow/gui/render.c index ebdab4e..3d3acc8 100644 --- a/eeshow/gui/render.c +++ b/eeshow/gui/render.c @@ -43,7 +43,7 @@ void redraw(const struct gui_ctx *ctx) } -/* ----- Rendering --------------------------------------------------------- */ +/* ----- Draw to screen ---------------------------------------------------- */ static void hack(const struct gui_ctx *ctx, cairo_t *cr) @@ -98,6 +98,9 @@ static gboolean on_draw_event(GtkWidget *widget, cairo_t *cr, } +/* ----- Pre-rendering ----------------------------------------------------- */ + + void render_sheet(struct gui_sheet *sheet) { char *argv[] = { "gui", NULL }; @@ -150,6 +153,9 @@ void render_delta(struct gui_ctx *ctx) } +/* ----- Setup ------------------------------------------------------------- */ + + void render_setup(struct gui_ctx *ctx) { g_signal_connect(G_OBJECT(ctx->da), "draw",