summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_scrollable.h
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-11-22 15:47:52 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-11-26 11:37:04 +0100
commita73904ba66226c2b4cdcd606e04c58e4ed2539c1 (patch)
treee8d2d66ba7f1ee53d54dd8d733922923711ee162 /src/lib/elementary/elm_interface_scrollable.h
parentac8d16684d0db97183f6eee4c0b430bc3eb179cc (diff)
elm_interface_scrollable: freeze the manager object when content moves
this freezes the manager object of the user of the interface. This improves the overall performance when moving arround focus in a scrollable object, since no new relations are needed to be recalculated. This safes up about 2% in the "Scroller 2" test. Additional optimizations are added in another commit. Differential Revision: https://phab.enlightenment.org/D7349
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_interface_scrollable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_interface_scrollable.h b/src/lib/elementary/elm_interface_scrollable.h
index 5760c12514..4da12df41e 100644
--- a/src/lib/elementary/elm_interface_scrollable.h
+++ b/src/lib/elementary/elm_interface_scrollable.h
@@ -46,6 +46,7 @@ struct _Elm_Pan_Smart_Data
46{ 46{
47 Evas_Object *self; 47 Evas_Object *self;
48 Evas_Object *content; 48 Evas_Object *content;
49 Evas_Object *interface_object;
49 Evas_Coord x, y, w, h; 50 Evas_Coord x, y, w, h;
50 Evas_Coord content_w, content_h, px, py; 51 Evas_Coord content_w, content_h, px, py;
51}; 52};