elm gen*: Fixed formatting.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69049
This commit is contained in:
Daniel Juyung Seo 2012-03-08 10:58:29 +00:00 committed by Daniel Juyung Seo
parent 999b48e52e
commit f935b1eabd
2 changed files with 36 additions and 82 deletions

View File

@ -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);

View File

@ -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,