summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 21:04:06 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 21:04:06 +0000
commitffed36961ef70f23df60f15241faae4c46ecc7b3 (patch)
tree41d32842cbb5b2ef2f680ffbdc5f821698136d37 /legacy
parent72700795f20c851562263e30405b1f0e6f05443d (diff)
even more reordering, also convert some evas coords to int
SVN revision: 64269
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_gen.c2
-rw-r--r--legacy/elementary/src/lib/elm_gengrid.c4
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/legacy/elementary/src/lib/elm_gen.c b/legacy/elementary/src/lib/elm_gen.c
index c93449aae1..b47358baab 100644
--- a/legacy/elementary/src/lib/elm_gen.c
+++ b/legacy/elementary/src/lib/elm_gen.c
@@ -17,6 +17,8 @@ struct _Widget_Data
17 Pan *pan; /* pan_smart object's smart data */ 17 Pan *pan; /* pan_smart object's smart data */
18 Ecore_Job *calc_job; 18 Ecore_Job *calc_job;
19 int walking; 19 int walking;
20 int item_width, item_height;
21 int group_item_width, group_item_height;
20 Evas_Coord pan_x, pan_y; 22 Evas_Coord pan_x, pan_y;
21 Eina_Bool reorder_mode : 1; 23 Eina_Bool reorder_mode : 1;
22 Eina_Bool on_hold : 1; 24 Eina_Bool on_hold : 1;
diff --git a/legacy/elementary/src/lib/elm_gengrid.c b/legacy/elementary/src/lib/elm_gengrid.c
index 1ad1954569..7dc6b85351 100644
--- a/legacy/elementary/src/lib/elm_gengrid.c
+++ b/legacy/elementary/src/lib/elm_gengrid.c
@@ -38,6 +38,8 @@ struct _Widget_Data
38 Pan *pan; /* pan_smart object's smart data */ 38 Pan *pan; /* pan_smart object's smart data */
39 Ecore_Job *calc_job; 39 Ecore_Job *calc_job;
40 int walking; 40 int walking;
41 int item_width, item_height;
42 int group_item_width, group_item_height;
41 Evas_Coord pan_x, pan_y; 43 Evas_Coord pan_x, pan_y;
42 Eina_Bool reorder_mode : 1; 44 Eina_Bool reorder_mode : 1;
43 Eina_Bool on_hold : 1; 45 Eina_Bool on_hold : 1;
@@ -49,8 +51,6 @@ struct _Widget_Data
49 double align_x, align_y; 51 double align_x, align_y;
50 52
51 Evas_Coord old_pan_x, old_pan_y; 53 Evas_Coord old_pan_x, old_pan_y;
52 Evas_Coord item_width, item_height; /* Each it size */
53 Evas_Coord group_item_width, group_item_height; /* Each group it size */
54 Evas_Coord minw, minh; /* Total obj size */ 54 Evas_Coord minw, minh; /* Total obj size */
55 Evas_Coord reorder_item_x, reorder_item_y; 55 Evas_Coord reorder_item_x, reorder_item_y;
56 unsigned int nmax; 56 unsigned int nmax;
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index 928ed3ae8b..942250c0a6 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -58,6 +58,8 @@ struct _Widget_Data
58 Pan *pan; /* pan_smart object's smart data */ 58 Pan *pan; /* pan_smart object's smart data */
59 Ecore_Job *calc_job; 59 Ecore_Job *calc_job;
60 int walking; 60 int walking;
61 int item_width, item_height;
62 int group_item_width, group_item_height;
61 Evas_Coord pan_x, pan_y; 63 Evas_Coord pan_x, pan_y;
62 Eina_Bool reorder_mode : 1; 64 Eina_Bool reorder_mode : 1;
63 Eina_Bool on_hold : 1; 65 Eina_Bool on_hold : 1;
@@ -106,10 +108,6 @@ struct _Widget_Data
106 int item_cache_count; 108 int item_cache_count;
107 int item_cache_max; /* maximum number of cached items */ 109 int item_cache_max; /* maximum number of cached items */
108 int movements; 110 int movements;
109 int item_width;
110 int item_height;
111 int group_item_width;
112 int group_item_height;
113 int max_items_per_block; /* maximum number of items per block */ 111 int max_items_per_block; /* maximum number of items per block */
114 double longpress_timeout; /* longpress timeout. this value comes from _elm_config by default. this can be changed by elm_genlist_longpress_timeout_set() */ 112 double longpress_timeout; /* longpress timeout. this value comes from _elm_config by default. this can be changed by elm_genlist_longpress_timeout_set() */
115}; 113};