summaryrefslogtreecommitdiff
path: root/gui/over.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 00:00:42 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 01:55:49 -0300
commit6e07f89c6fd2cf86e25fa245c2688d8c2e20be95 (patch)
treef7f89de51a6e9bdbfa1ae075f22681093fa71b22 /gui/over.h
parent03a241809ee91fb0addd685a71d3c98c69e4c868 (diff)
downloadeeshow-6e07f89c6fd2cf86e25fa245c2688d8c2e20be95.tar.gz
eeshow-6e07f89c6fd2cf86e25fa245c2688d8c2e20be95.tar.bz2
eeshow-6e07f89c6fd2cf86e25fa245c2688d8c2e20be95.zip
gui/: experimental sheet index (WIP)
We also change the way the sheet overlays work: now clicking on the subsheet (which, in the case of the bottom-most sheet did nothing) goes back to the parent and clicking on the root opens the index.
Diffstat (limited to 'gui/over.h')
-rw-r--r--gui/over.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/over.h b/gui/over.h
index f80e1f8..7bb53ad 100644
--- a/gui/over.h
+++ b/gui/over.h
@@ -44,6 +44,8 @@ struct overlay_style {
struct overlay;
+unsigned overlay_draw(struct overlay *over, cairo_t *cr,
+ int x, int y, int dx, int dy);
void overlay_draw_all_d(struct overlay *overlays, cairo_t *cr,
int x, int y, int dx, int dy);
void overlay_draw_all(struct overlay *overlays, cairo_t *cr, int x, int y);