summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget_private.h
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-12-09 15:53:38 +0000
committerAndy Williams <andy@andywilliams.me>2016-12-09 15:55:34 +0000
commit91e84aa3b8a415a86bb861c16e68ebae6a446703 (patch)
tree016b45f82ba3d71d27897bfe898334eeaf068195 /src/lib/elementary/elm_code_widget_private.h
parent324b4e93f575d60a07f7122898b960480d771dcb (diff)
elm_code: use geometry of cells to paint a simple cursor
Also allows others to figure out where cells are :)
Diffstat (limited to 'src/lib/elementary/elm_code_widget_private.h')
-rw-r--r--src/lib/elementary/elm_code_widget_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget_private.h b/src/lib/elementary/elm_code_widget_private.h
index 7dca9d036c..42ed2748f1 100644
--- a/src/lib/elementary/elm_code_widget_private.h
+++ b/src/lib/elementary/elm_code_widget_private.h
@@ -22,6 +22,8 @@ typedef struct
22 double gravity_x, gravity_y; 22 double gravity_x, gravity_y;
23 23
24 unsigned int cursor_line, cursor_col; 24 unsigned int cursor_line, cursor_col;
25 Evas_Object *cursor_rect;
26
25 Eina_Bool editable, focussed; 27 Eina_Bool editable, focussed;
26 Eina_Bool show_line_numbers; 28 Eina_Bool show_line_numbers;
27 unsigned int line_width_marker, tabstop; 29 unsigned int line_width_marker, tabstop;