1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 09:28:24 +02:00

eeshow/gui/render.c: update section comments

This commit is contained in:
Werner Almesberger 2016-08-19 04:10:02 -03:00
parent bd8f6ab353
commit fc5597e2a0

View File

@ -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) 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) void render_sheet(struct gui_sheet *sheet)
{ {
char *argv[] = { "gui", NULL }; char *argv[] = { "gui", NULL };
@ -150,6 +153,9 @@ void render_delta(struct gui_ctx *ctx)
} }
/* ----- Setup ------------------------------------------------------------- */
void render_setup(struct gui_ctx *ctx) void render_setup(struct gui_ctx *ctx)
{ {
g_signal_connect(G_OBJECT(ctx->da), "draw", g_signal_connect(G_OBJECT(ctx->da), "draw",