summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget_private.h
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-03-04 01:41:43 +0000
committerAlastair Poole <netstar@gmail.com>2020-03-04 01:41:43 +0000
commitb8473486990846faf9c0828853f7615cce81aff9 (patch)
treeb921854d692372729ce76ee2bb3e096e7a61482c /src/lib/elementary/elm_code_widget_private.h
parent01b818c5b0833360ecd2f1af3b92f5d8981410e3 (diff)
elm_code: Improve efficiency of the widget.
For now, only create textgrids when needed. Also improve other regions of the widget. This will improve large file support and also some rendering of the widget. This improves performance 1-2 times. However, there must be a reasonable redesign regarding the current use of textgrids.
Diffstat (limited to 'src/lib/elementary/elm_code_widget_private.h')
-rw-r--r--src/lib/elementary/elm_code_widget_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget_private.h b/src/lib/elementary/elm_code_widget_private.h
index 3398ad370f..d64e5d67c7 100644
--- a/src/lib/elementary/elm_code_widget_private.h
+++ b/src/lib/elementary/elm_code_widget_private.h
@@ -24,6 +24,7 @@ typedef struct
24 Eina_List *grids; 24 Eina_List *grids;
25 unsigned int col_count; 25 unsigned int col_count;
26 Evas_Object *scroller, *gridbox, *background; 26 Evas_Object *scroller, *gridbox, *background;
27 Evas_Object *expander;
27 28
28 const char *font_name; 29 const char *font_name;
29 Evas_Font_Size font_size; 30 Evas_Font_Size font_size;