summaryrefslogtreecommitdiff
path: root/gui/over.c
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.c
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.c')
-rw-r--r--gui/over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/over.c b/gui/over.c
index aede7c5..0a315e1 100644
--- a/gui/over.c
+++ b/gui/over.c
@@ -248,7 +248,7 @@ static unsigned overlay_draw_icon(struct overlay *over, cairo_t *cr,
/* ----- Drawing interfaces ------------------------------------------------ */
-static unsigned overlay_draw(struct overlay *over, cairo_t *cr,
+unsigned overlay_draw(struct overlay *over, cairo_t *cr,
int x, int y, int dx, int dy)
{
if (over->s)