forked from enlightenment/efl
elm: Refactoring before I commit another patch.
1. Fixed indentation. 2. Removed trailing whitespaces. 3. Removed unnecessary blank lines. SVN revision: 62424
This commit is contained in:
parent
86d052180a
commit
479b4773e1
|
@ -13,7 +13,6 @@ icon_clicked(void *data , Evas_Object *obj __UNUSED__, void *event_info __UNUSED
|
|||
rec = !rec;
|
||||
printf("clicked!rec =%d\n",rec);
|
||||
elm_icon_animated_play_set(ic, rec);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -4789,10 +4789,10 @@ extern "C" {
|
|||
* @param anim @c EINA_TRUE if the object do animation job,
|
||||
* @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
|
||||
*
|
||||
* Even though elm icon's file can be animated,
|
||||
* Even though elm icon's file can be animated,
|
||||
* sometimes appication developer want to just first page of image.
|
||||
* In that time, don't call this function, because default value is EINA_FALSE
|
||||
* Only when you want icon support anition,
|
||||
* Only when you want icon support anition,
|
||||
* use this function and set animated to EINA_TURE
|
||||
* @ingroup Icon
|
||||
*/
|
||||
|
@ -4812,13 +4812,13 @@ extern "C" {
|
|||
* @param obj The icon object
|
||||
* @param play @c EINA_TRUE the object play animation images,
|
||||
* @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
|
||||
*
|
||||
*
|
||||
* If you want to play elm icon's animation, you set play to EINA_TURE.
|
||||
* For example, you make gif player using this set/get API and click event.
|
||||
*
|
||||
* 1. Click event occurs
|
||||
* 2. Check play flag using elm_icon_animaged_play_get
|
||||
* 3. If elm icon was playing, set play to EINA_FALSE.
|
||||
* 3. If elm icon was playing, set play to EINA_FALSE.
|
||||
* Then animation will be stopped and vice versa
|
||||
* @ingroup Icon
|
||||
*/
|
||||
|
|
|
@ -1517,7 +1517,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
|
|||
evas_object_pass_events_set(win->win_obj, EINA_TRUE);
|
||||
|
||||
if (type == ELM_WIN_INLINED_IMAGE)
|
||||
elm_widget_parent2_set(win->win_obj, parent);
|
||||
elm_widget_parent2_set(win->win_obj, parent);
|
||||
ecore_evas_object_associate(win->ee, win->win_obj,
|
||||
ECORE_EVAS_OBJECT_ASSOCIATE_BASE |
|
||||
ECORE_EVAS_OBJECT_ASSOCIATE_STACK |
|
||||
|
@ -1533,8 +1533,8 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
|
|||
evas_object_event_callback_add(win->win_obj, EVAS_CALLBACK_RESIZE,
|
||||
_elm_win_obj_callback_resize, win);
|
||||
if (win->img_obj)
|
||||
evas_object_intercept_move_callback_add(win->win_obj,
|
||||
_elm_win_obj_intercept_move, win);
|
||||
evas_object_intercept_move_callback_add(win->win_obj,
|
||||
_elm_win_obj_intercept_move, win);
|
||||
evas_object_intercept_show_callback_add(win->win_obj,
|
||||
_elm_win_obj_intercept_show, win);
|
||||
|
||||
|
@ -1547,7 +1547,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
|
|||
evas_image_cache_set(win->evas, (_elm_config->image_cache * 1024));
|
||||
evas_font_cache_set(win->evas, (_elm_config->font_cache * 1024));
|
||||
EINA_LIST_FOREACH(_elm_config->font_dirs, l, fontpath)
|
||||
evas_font_path_append(win->evas, fontpath);
|
||||
evas_font_path_append(win->evas, fontpath);
|
||||
if (!_elm_config->font_hinting)
|
||||
evas_font_hinting_set(win->evas, EVAS_FONT_HINTING_NONE);
|
||||
else if (_elm_config->font_hinting == 1)
|
||||
|
|
Loading…
Reference in New Issue