aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtkslideview.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-12-21 19:43:13 +0100
committerThomas White <taw@bitwiz.me.uk>2019-12-22 09:33:21 +0100
commit718314e8b9301f826f35a05fcd9567572bd62b54 (patch)
treef22215610f0b1f3e7e6c0a7021eaaebefa81c451 /libstorycode/gtk/gtkslideview.h
parent8afb702e583c2dfc8a72e9647870a1f1da0a8ff2 (diff)
Vertical cursor motion in narrative and slide text boxes
Diffstat (limited to 'libstorycode/gtk/gtkslideview.h')
-rw-r--r--libstorycode/gtk/gtkslideview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/gtk/gtkslideview.h b/libstorycode/gtk/gtkslideview.h
index a3dadff..aecf44c 100644
--- a/libstorycode/gtk/gtkslideview.h
+++ b/libstorycode/gtk/gtkslideview.h
@@ -106,6 +106,8 @@ struct _gtkslideview
/* Location of the cursor */
SlideItem *cursor_frame;
struct slide_pos cpos;
+ double cursor_h_pos; /* Horizontal position the cursor would have,
+ * if the current line were long enough. */
/* Border surrounding actual slide within drawingarea */
double border_offs_x;