forked from enlightenment/efl
elm gen*: Fixed formatting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com> SVN revision: 69049
This commit is contained in:
parent
999b48e52e
commit
f935b1eabd
|
@ -36,52 +36,6 @@ struct Elm_Gen_Item_Type
|
|||
Eina_Bool moving : 1;
|
||||
};
|
||||
|
||||
#if 0
|
||||
struct _Widget_Data
|
||||
{
|
||||
Eina_Inlist_Sorted_State *state;
|
||||
Evas_Object *obj; /* the gengrid object */
|
||||
Evas_Object *scr; /* a smart scroller object which is used internally in genlist */
|
||||
Evas_Object *pan_smart; /* "elm_genlist_pan" evas smart object. this is an extern pan of smart scroller(scr). */
|
||||
Eina_List *selected;
|
||||
Eina_List *group_items; /* list of groups index items */
|
||||
Eina_Inlist *items; /* inlist of all items */
|
||||
Elm_Gen_Item *reorder_it; /* item currently being repositioned */
|
||||
Elm_Gen_Item *last_selected_item;
|
||||
Pan *pan; /* pan_smart object's smart data */
|
||||
Ecore_Job *calc_job;
|
||||
int walking;
|
||||
int item_width, item_height;
|
||||
int group_item_width, group_item_height;
|
||||
int minw, minh;
|
||||
long count;
|
||||
Evas_Coord pan_x, pan_y;
|
||||
Eina_Bool reorder_mode : 1;
|
||||
Eina_Bool on_hold : 1;
|
||||
Eina_Bool multi : 1;
|
||||
Eina_Bool wasselected : 1;
|
||||
Eina_Bool clear_me : 1;
|
||||
Eina_Bool h_bounce : 1;
|
||||
Eina_Bool v_bounce : 1;
|
||||
Ecore_Cb del_cb, calc_cb, sizing_cb;
|
||||
Ecore_Cb clear_cb;
|
||||
////////////////////////////////////
|
||||
double align_x, align_y;
|
||||
|
||||
Evas_Coord old_pan_x, old_pan_y;
|
||||
Evas_Coord reorder_item_x, reorder_item_y;
|
||||
unsigned int nmax;
|
||||
long items_lost;
|
||||
|
||||
int generation;
|
||||
|
||||
Eina_Bool horizontal : 1;
|
||||
Eina_Bool longpressed : 1;
|
||||
Eina_Bool reorder_item_changed : 1;
|
||||
Eina_Bool move_effect_enabled : 1;
|
||||
};
|
||||
#endif
|
||||
|
||||
static const char *widtype = NULL;
|
||||
static void _item_highlight(Elm_Gen_Item *it);
|
||||
static void _item_unrealize_cb(Elm_Gen_Item *it);
|
||||
|
@ -2329,7 +2283,7 @@ elm_gengrid_item_data_set(Elm_Object_Item *it,
|
|||
EAPI const Elm_Gengrid_Item_Class *
|
||||
elm_gengrid_item_item_class_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return (Elm_Gengrid_Item_Class *) elm_genlist_item_item_class_get(it);
|
||||
return (Elm_Gengrid_Item_Class *)elm_genlist_item_item_class_get(it);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
|
|
|
@ -4835,8 +4835,8 @@ elm_genlist_item_display_only_get(const Elm_Object_Item *it)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
static Eina_Bool _elm_genlist_item_compute_coordinates(
|
||||
Elm_Object_Item *it,
|
||||
static Eina_Bool
|
||||
_elm_genlist_item_compute_coordinates(Elm_Object_Item *it,
|
||||
Elm_Genlist_Item_Scrollto_Type type,
|
||||
Evas_Coord *x,
|
||||
Evas_Coord *y,
|
||||
|
|
Loading…
Reference in New Issue