forked from enlightenment/efl
elm: Removed all trailing whitespaces.
Why they are added even I'm removing them arbitrarily. SVN revision: 63083
This commit is contained in:
parent
a644a29aee
commit
a817b43d33
|
@ -29,13 +29,13 @@ fac_realize_end(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
|
||||
bx = elm_box_add(win);
|
||||
printf(" ADD lv 3 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num")));
|
||||
#ifdef HOMOG
|
||||
#ifdef HOMOG
|
||||
elm_box_homogeneous_set(bx, EINA_TRUE);
|
||||
#endif
|
||||
#ifdef ZEROALIGN
|
||||
#ifdef ZEROALIGN
|
||||
elm_box_align_set(bx, 0.0, 0.0);
|
||||
#endif
|
||||
|
||||
|
||||
for (i = 0; i < BLOK; i++)
|
||||
{
|
||||
char buf[32];
|
||||
|
@ -64,13 +64,13 @@ fac_realize2(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
|
||||
bx = elm_box_add(win);
|
||||
printf(" ADD lv 2 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num")));
|
||||
#ifdef HOMOG
|
||||
#ifdef HOMOG
|
||||
elm_box_homogeneous_set(bx, EINA_TRUE);
|
||||
#endif
|
||||
#ifdef ZEROALIGN
|
||||
#ifdef ZEROALIGN
|
||||
elm_box_align_set(bx, 0.0, 0.0);
|
||||
#endif
|
||||
|
||||
|
||||
for (i = 0; i < BLOK; i++)
|
||||
{
|
||||
fc = elm_factory_add(win);
|
||||
|
@ -102,13 +102,13 @@ fac_realize1(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
|
||||
bx = elm_box_add(win);
|
||||
printf(" ADD lv 1 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num")));
|
||||
#ifdef HOMOG
|
||||
#ifdef HOMOG
|
||||
elm_box_homogeneous_set(bx, EINA_TRUE);
|
||||
#endif
|
||||
#ifdef ZEROALIGN
|
||||
#ifdef ZEROALIGN
|
||||
elm_box_align_set(bx, 0.0, 0.0);
|
||||
#endif
|
||||
|
||||
|
||||
for (i = 0; i < BLOK; i++)
|
||||
{
|
||||
fc = elm_factory_add(win);
|
||||
|
@ -147,12 +147,12 @@ test_factory(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
|
|||
evas_object_show(bg);
|
||||
|
||||
bx = elm_box_add(win);
|
||||
#ifdef HOMOG
|
||||
#ifdef HOMOG
|
||||
elm_box_homogeneous_set(bx, EINA_TRUE);
|
||||
#endif
|
||||
#ifdef ZEROALIGN
|
||||
#endif
|
||||
#ifdef ZEROALIGN
|
||||
elm_box_align_set(bx, 0.0, 0.0);
|
||||
#endif
|
||||
#endif
|
||||
evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
|
||||
|
||||
for (i = 0; i < BLOK; i++)
|
||||
|
|
|
@ -24,7 +24,7 @@ test_hoversel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
evas_object_show(bx);
|
||||
|
||||
bt = elm_hoversel_add(win);
|
||||
// FIXME: need to add horizontal hoversel theme to default some day
|
||||
// FIXME: need to add horizontal hoversel theme to default some day
|
||||
// elm_hoversel_horizontal_set(bt, 1);
|
||||
elm_hoversel_hover_parent_set(bt, win);
|
||||
elm_object_text_set(bt, "Labels");
|
||||
|
|
|
@ -1424,7 +1424,7 @@ extern "C" {
|
|||
* Last show feature of password mode enables user to view
|
||||
* the last input entered for few seconds before masking it.
|
||||
* These functions allow to set this feature in password mode
|
||||
* of entry widget and also allow to manipulate the duration
|
||||
* of entry widget and also allow to manipulate the duration
|
||||
* for which the input has to be visible.
|
||||
*
|
||||
* @{
|
||||
|
@ -1433,7 +1433,7 @@ extern "C" {
|
|||
/**
|
||||
* Get show last setting of password mode.
|
||||
*
|
||||
* This gets the show last input setting of password mode which might be
|
||||
* This gets the show last input setting of password mode which might be
|
||||
* enabled or disabled.
|
||||
*
|
||||
* @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
|
||||
|
|
|
@ -175,7 +175,7 @@ _on_focus_hook(void *data __UNUSED__, Evas_Object *obj)
|
|||
|
||||
if (elm_widget_focus_get(obj))
|
||||
{
|
||||
//FIXME:
|
||||
//FIXME:
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1107,7 +1107,7 @@ elm_ctxpopup_add(Evas_Object *parent)
|
|||
|
||||
evas_object_smart_callbacks_descriptions_set(obj, _signals);
|
||||
|
||||
//default parent is to be hover parent
|
||||
//default parent is to be hover parent
|
||||
elm_ctxpopup_hover_parent_set(obj, parent);
|
||||
|
||||
return obj;
|
||||
|
@ -1203,7 +1203,7 @@ elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
|
|||
elm_widget_sub_object_add(parent, obj);
|
||||
wd->parent = parent;
|
||||
|
||||
//Update Background
|
||||
//Update Background
|
||||
evas_object_geometry_get(parent, &x, &y, &w, &h);
|
||||
evas_object_move(wd->bg, x, y);
|
||||
evas_object_resize(wd->bg, w, h);
|
||||
|
|
|
@ -9,7 +9,7 @@ struct _Widget_Data
|
|||
{
|
||||
Evas_Object *obj;
|
||||
Evas_Object *content;
|
||||
int last_calc_count;
|
||||
int last_calc_count;
|
||||
Evas_Coord maxminw, maxminh;
|
||||
Eina_Bool eval : 1;
|
||||
Eina_Bool szeval : 1;
|
||||
|
@ -46,7 +46,7 @@ _del_hook(Evas_Object *obj)
|
|||
if (wd->content)
|
||||
{
|
||||
Evas_Object *o = wd->content;
|
||||
|
||||
|
||||
evas_object_event_callback_del_full(o,
|
||||
EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
||||
_child_change, obj);
|
||||
|
@ -129,7 +129,7 @@ _eval(Evas_Object *obj)
|
|||
if (evas_object_smart_data_get(wd->content))
|
||||
evas_object_smart_calculate(wd->content);
|
||||
}
|
||||
wd->last_calc_count =
|
||||
wd->last_calc_count =
|
||||
evas_smart_objects_calculate_count_get(evas_object_evas_get(obj));
|
||||
}
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ _eval(Evas_Object *obj)
|
|||
{
|
||||
if (wd->content)
|
||||
{
|
||||
if (wd->last_calc_count !=
|
||||
if (wd->last_calc_count !=
|
||||
evas_smart_objects_calculate_count_get(evas_object_evas_get(obj)))
|
||||
evas_object_smart_callback_call(obj, SIG_UNREALIZE, NULL);
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
|
|||
evas_object_size_hint_min_get(opt->obj, &mnw, &mnh);
|
||||
if (minh < mnh) minh = mnh;
|
||||
if (minw < mnw) minw = mnw;
|
||||
|
||||
|
||||
evas_object_size_hint_max_get(opt->obj, &mnw, &mnh);
|
||||
if (mnh >= 0)
|
||||
{
|
||||
|
|
|
@ -1421,7 +1421,7 @@ _elm_smart_scroller_wanted_region_set(Evas_Object *obj)
|
|||
sd->down.hold_animator || sd->down.onhold_animator) return;
|
||||
|
||||
sd->child.resized = EINA_FALSE;
|
||||
|
||||
|
||||
/* Flip to RTL cords only if init in RTL mode */
|
||||
if (sd->is_mirrored)
|
||||
wx = _elm_smart_scroller_x_mirrored_get(obj, sd->wx);
|
||||
|
@ -2102,7 +2102,7 @@ _smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *ev
|
|||
elm_smart_scroller_child_pos_get(sd->smart_obj, &x, &y);
|
||||
elm_smart_scroller_child_pos_set(sd->smart_obj, x, y);
|
||||
_update_wanted_coordinates(sd, x, y);
|
||||
|
||||
|
||||
if (sd->child.resized)
|
||||
_elm_smart_scroller_wanted_region_set(sd->smart_obj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue