summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 04:10:02 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-19 04:10:02 -0300
commit5e1ad5816373521fa7f46a7b3a8d7cdd92ed4f8c (patch)
tree0ffcfd207831fb06c14b4ce60c9dc81d617e9f21 /gui/render.c
parenta28de920d0d39c407afae6369059b484e742dc7e (diff)
downloadeeshow-5e1ad5816373521fa7f46a7b3a8d7cdd92ed4f8c.tar.gz
eeshow-5e1ad5816373521fa7f46a7b3a8d7cdd92ed4f8c.tar.bz2
eeshow-5e1ad5816373521fa7f46a7b3a8d7cdd92ed4f8c.zip
eeshow/gui/render.c: update section comments
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/render.c b/gui/render.c
index ebdab4e..3d3acc8 100644
--- a/gui/render.c
+++ b/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",