From dfbc4b5fe0a538cd4670f74bf0f5c86ec821c1db Mon Sep 17 00:00:00 2001 From: hermet Date: Mon, 5 Mar 2012 12:28:17 +0000 Subject: [PATCH] elementary - updated XXX git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_fonts.h | 2 -- src/lib/elm_frame.h | 34 ++++++++++++++++------------------ src/lib/elm_genlist.h | 12 ++++++++---- src/lib/elm_hover.h | 1 - src/lib/elm_image.h | 4 ++-- 5 files changed, 26 insertions(+), 27 deletions(-) diff --git a/src/lib/elm_fonts.h b/src/lib/elm_fonts.h index 952de34..ac2d659 100644 --- a/src/lib/elm_fonts.h +++ b/src/lib/elm_fonts.h @@ -168,7 +168,6 @@ EAPI void elm_font_fontconfig_name_free(char *name); * default font families (Sans, Serif, Monospace), which should be * present on most systems. */ -//XXX: How about elm_font_system_available_hash_add() ? EAPI Eina_Hash *elm_font_available_hash_add(Eina_List *list); /** @@ -178,7 +177,6 @@ EAPI Eina_Hash *elm_font_available_hash_add(Eina_List *list); * * @ingroup Fonts */ -//XXX: How about elm_font_system_available_hash_del() ? EAPI void elm_font_available_hash_del(Eina_Hash *hash); /** diff --git a/src/lib/elm_frame.h b/src/lib/elm_frame.h index 9020236..5caf8fa 100644 --- a/src/lib/elm_frame.h +++ b/src/lib/elm_frame.h @@ -56,8 +56,7 @@ EAPI Evas_Object *elm_frame_add(Evas_Object *parent); * vertically, shrinking it to the height of the label. * By default, this is DISABLED. */ -//XXX: really need to provide this API? -//XXX: How about elm_frame_autofold_set() ? +//XXX: How about elm_frame_minimize_enabled_set() ? EAPI void elm_frame_autocollapse_set(Evas_Object *obj, Eina_Bool autocollapse); /** @@ -69,8 +68,7 @@ EAPI void elm_frame_autocollapse_set(Evas_Object *obj, Eina_Bool autocollapse); * vertically, shrinking it to the height of the label. * By default, this is DISABLED. */ -//XXX: ... really need to provide this API? -//XXX: How about elm_frame_autofold_get() ? +//XXX: How about elm_frame_minimize_enabled_get() ? EAPI Eina_Bool elm_frame_autocollapse_get(const Evas_Object *obj); /** @@ -80,19 +78,8 @@ EAPI Eina_Bool elm_frame_autocollapse_get(const Evas_Object *obj); * * Use this to toggle the collapsed state of a frame, bypassing animations. */ -//XXX: How about elm_frame_fold_set() ? -EAPI void elm_frame_collapse_set(Evas_Object *obj, Eina_Bool collapse); - -/** - * @brief Manually collapse a frame with animations - * @param obj The frame - * @param collapse true to collapse, false to expand - * - * Use this to toggle the collapsed state of a frame, triggering animations. - */ -//XXX: ... really need to provide this API? -//XXX: How about elm_frame_fold_transition_go()? -EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); +//XXX: How about elm_frame_minimized_set() ? +EAPI void elm_frame_collapse_set(Evas_Object *obj, Eina_Bool minimize); /** * @brief Determine the collapse state of a frame @@ -101,8 +88,19 @@ EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); * * Use this to determine the collapse state of a frame. */ -//XXX: ... How about elm_frame_fold_get() ? +//XXX: ... How about elm_frame_minimized_get() ? EAPI Eina_Bool elm_frame_collapse_get(const Evas_Object *obj); + /** + * @brief Manually collapse a frame with animations + * @param obj The frame + * @param collapse true to collapse, false to expand + * + * Use this to toggle the collapsed state of a frame, triggering animations. + */ +//XXX: How about elm_frame_minimize_effect_disabled_set()? +EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); + +/* * @} */ diff --git a/src/lib/elm_genlist.h b/src/lib/elm_genlist.h index c400615..b941c6b 100644 --- a/src/lib/elm_genlist.h +++ b/src/lib/elm_genlist.h @@ -350,6 +350,7 @@ typedef enum { ELM_GENLIST_ITEM_NONE = 0, /**< simple item */ + //XXX: ELM_GENLIST_ITEM_TREE ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */ ELM_GENLIST_ITEM_GROUP = (1 << 1), /**< index of a group of items */ @@ -1502,6 +1503,7 @@ EAPI Eina_Bool elm_genlist_compress_mode_get(const Evas_Obje * * @ingroup Genlist */ +//aspect //XXX: API name is ambiguous.. How about elm_genlist_mode_fixed_width_set? EAPI void elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width); @@ -1735,7 +1737,7 @@ EAPI int elm_genlist_item_expanded_depth_get(const Elm * * @ingroup Genlist */ -//XXX: elm_genlist_item_event_freeze_set()? +//XXX: elm_genlist_item_no_select_mode_set()? EAPI void elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool display_only); /** @@ -1749,7 +1751,7 @@ EAPI void elm_genlist_item_display_only_set(Elm_Object_ * * @ingroup Genlist */ -//XXX: elm_genlist_item_event_freeze_get()? +//XXX: elm_genlist_item_no_select_mode_get()? EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Object_Item *it); /** @@ -1764,7 +1766,7 @@ EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_O * * @ingroup Genlist */ -//XXX: elm_genlist_item_all_contents_unset() ?? +//XXX: Eina_List *elm_genlist_item_all_contents_unset() ?? EAPI void elm_genlist_item_contents_orphan(Elm_Object_Item *it); /** @@ -1847,7 +1849,7 @@ EAPI void elm_genlist_item_fields_update(Elm_Object_Ite * * @ingroup Genlist */ -//XXX: How bout elm_genlist_mode_item_set +//XXX: How bout elm_genlist_effect_mode_set EAPI void elm_genlist_item_mode_set(Elm_Object_Item *it, const char *mode_type, Eina_Bool mode_set); /** @@ -1930,6 +1932,7 @@ EAPI Elm_Genlist_Item_Flags elm_genlist_item_flags_get(const Elm_Object_I * * @ingroup Genlist */ +//XXX: elm_genlist_effect_mode_set(); EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode); /** @@ -1941,6 +1944,7 @@ EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool ed * * @ingroup Genlist */ +//XXX: elm_genlist_all_items_effect_mode_get(); EAPI Eina_Bool elm_genlist_edit_mode_get(const Evas_Object *obj); /** diff --git a/src/lib/elm_hover.h b/src/lib/elm_hover.h index 44dfd45..593d65c 100644 --- a/src/lib/elm_hover.h +++ b/src/lib/elm_hover.h @@ -163,7 +163,6 @@ EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj); * * @see elm_object_part_content_set() */ -//XXX : void elm_hover_content_best_location_set(obj, content, pref_axis); will be better. EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis); /** diff --git a/src/lib/elm_image.h b/src/lib/elm_image.h index 537c7fe..c8a0c69 100644 --- a/src/lib/elm_image.h +++ b/src/lib/elm_image.h @@ -187,7 +187,7 @@ EAPI Eina_Bool elm_image_no_scale_get(const Evas_Object *obj); * * @ingroup Image */ -//XXX: elm_image_scale_up_set + elm_image_scale_down_set may be better. how do you think ? +//XXX: elm_image_resizable_set EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down); /** @@ -201,7 +201,7 @@ EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, * * @ingroup Image */ -//XXX: elm_image_scale_up_get + elm_image_scale_down_get may be better. how do you think ? +//XXX: elm_image_resizable_get EAPI void elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down); /** -- 2.7.4