aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-03-29 17:57:42 +0200
committerThomas White <taw@bitwiz.org.uk>2016-03-29 17:57:42 +0200
commitb14d1503e73100f6973c813845632dfa05c583b9 (patch)
treecef1c7900d956ca57b8e6d9de4a2d780483a4b79 /src/frame.h
parent0973dc26a6c384a09d898bc0bcfa41ee6f962129 (diff)
Highlight the current paragraph
Has the nice effect of showing which slide is selected.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 976fc2b..f61f414 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -130,6 +130,9 @@ extern size_t end_offset_of_para(struct frame *fr, int pn);
extern int find_cursor(struct frame *fr, double x, double y,
int *ppara, int *ppos, int *ptrail);
+extern int get_para_highlight(struct frame *fr, int cursor_para,
+ double *cx, double *cy, double *cw, double *ch);
+
extern int get_cursor_pos(struct frame *fr, int cursor_para, int cursor_pos,
double *cx, double *cy, double *ch);