summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-01-09 23:03:37 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-09 23:04:39 +0900
commit23008fa26c66a2716a4c72e85d92a22f19a0e522 (patch)
tree8e583ebb1405b50b031d31fb43b4bfa7d7252a32
parent16b8b9140048a456c4f9670c3fa00434f0761745 (diff)
widget: remove redundant internal macros
we don't need these macros anymore since eo has introduced.
-rw-r--r--src/lib/elm_widget.h111
1 files changed, 0 insertions, 111 deletions
diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h
index dd9601928..55673d828 100644
--- a/src/lib/elm_widget.h
+++ b/src/lib/elm_widget.h
@@ -791,117 +791,6 @@ EAPI void elm_widget_tree_dot_dump(const Evas_Object *top, FILE *out
791 if (EINA_UNLIKELY(!eo_isa((obj), ELM_WIDGET_CLASS))) \ 791 if (EINA_UNLIKELY(!eo_isa((obj), ELM_WIDGET_CLASS))) \
792 return 792 return
793 793
794/**
795 * Convenience macro to create new widget item, doing casts for you.
796 * @see elm_widget_item_internal_new()
797 * @param parent a valid elm_widget variant.
798 * @param type the C type that extends Elm_Widget_Item
799 */
800#define elm_widget_item_new(parent, type) \
801 (type *)_elm_widget_item_new((parent), sizeof(type))
802/**
803 * Convenience macro to free widget item, doing casts for you.
804 * @see elm_widget_item_internal_free()
805 * @param item a valid item.
806 */
807#define elm_widget_item_free(item) \
808 _elm_widget_item_free(item)
809
810/**
811 * Convenience macro to delete widget item, doing casts for you.
812 * @see elm_widget_item_internal_del()
813 * @param item a valid item.
814 */
815#define elm_widget_item_pre_notify_del(item) \
816 elm_widget_item_internal_pre_notify_del(item)
817#define elm_widget_item_del_cb_set(item, del_cb) \
818 elm_widget_item_internal_del_cb_set(item, del_cb)
819#define elm_widget_item_widget_get(item) \
820 elm_widget_item_internal_widget_get(item)
821#define elm_widget_item_data_set(item, data) \
822 elm_widget_item_internal_data_set(item, data)
823#define elm_widget_item_data_get(item) \
824 elm_widget_item_internal_data_get(item)
825
826#define elm_widget_item_tooltip_text_set(item, text) \
827 elm_widget_item_internal_tooltip_text_set(item, text)
828#define elm_widget_item_tooltip_translatable_text_set(item, text) \
829 elm_widget_item_internal_tooltip_translatable_text_set(item, text)
830#define elm_widget_item_tooltip_content_cb_set(item, func, data, del_cb) \
831 elm_widget_item_internal_tooltip_content_cb_set(item, \
832 func, data, del_cb)
833#define elm_widget_item_tooltip_unset(item) \
834 elm_widget_item_internal_tooltip_unset(item)
835#define elm_widget_item_tooltip_style_set(item, style) \
836 elm_widget_item_internal_tooltip_style_set(item, style)
837
838#define elm_widget_item_tooltip_window_mode_set(item, disable) \
839 elm_widget_item_internal_tooltip_window_mode_set(item, disable)
840
841#define elm_widget_item_tooltip_window_mode_get(item) \
842 elm_widget_item_internal_tooltip_window_mode_get(item)
843#define elm_widget_item_tooltip_style_get(item) \
844 elm_widget_item_internal_tooltip_style_get(item)
845#define elm_widget_item_cursor_set(item, cursor) \
846 elm_widget_item_internal_cursor_set(item, cursor)
847#define elm_widget_item_cursor_get(item) \
848 elm_widget_item_internal_cursor_get(item)
849#define elm_widget_item_cursor_unset(item) \
850 elm_widget_item_internal_cursor_unset(item)
851#define elm_widget_item_cursor_style_set(item, style) \
852 elm_widget_item_internal_cursor_style_set(item, style)
853#define elm_widget_item_cursor_style_get(item) \
854 elm_widget_item_internal_cursor_style_get(item)
855#define elm_widget_item_cursor_engine_only_set(item, engine_only) \
856 elm_widget_item_internal_cursor_engine_only_set(item, engine_only)
857#define elm_widget_item_cursor_engine_only_get(item) \
858 elm_widget_item_internal_cursor_engine_only_get(item)
859/**
860 * Convenience function to query disable get hook.
861 * @see elm_widget_item_internal_disabled_get()
862 */
863#define elm_widget_item_disabled_get(item) \
864 elm_widget_item_internal_disabled_get(item)
865
866#define elm_widget_item_style_set(item, style) \
867 elm_widget_item_internal_style_set(item, style)
868#define elm_widget_item_style_get(item) \
869 elm_widget_item_internal_style_get(item)
870
871/**
872 * Convenience function to query track_cancel.
873 * @see elm_widget_item_internal_del_pre_hook_set()
874 */
875#define elm_widget_item_track_cancel(item) \
876 elm_widget_item_internal_track_cancel(item)
877
878#define elm_widget_item_translate(item) \
879 elm_widget_item_internal_translate(item)
880
881#define elm_widget_item_part_text_custom_set(item, part, text) \
882 _elm_widget_item_internal_part_text_custom_set(item, part, text)
883
884#define elm_widget_item_part_text_custom_get(item, part) \
885 _elm_widget_item_internal_part_text_custom_get(item, part)
886
887#define elm_widget_item_part_text_custom_update(item) \
888 _elm_widget_item_internal_part_text_custom_update(item)
889
890#define elm_widget_item_focus_set(item, focused) \
891 elm_widget_item_internal_focus_set(item, focused)
892
893#define elm_widget_item_focus_get(item) \
894 elm_widget_item_internal_focus_get(item)
895
896#define ELM_WIDGET_CHECK_OR_RETURN(obj, ...) \
897 do { \
898 if (!obj || !evas_object_smart_data_get(obj)) \
899 { \
900 ERR("Object [%p] is NULL or already deleted", obj);\
901 return __VA_ARGS__; \
902 } \
903 } while (0)
904
905#define ELM_WIDGET_ITEM_RETURN_IF_ONDEL(item, ...) \ 794#define ELM_WIDGET_ITEM_RETURN_IF_ONDEL(item, ...) \
906 do { \ 795 do { \
907 if (item && (item)->on_deletion) { \ 796 if (item && (item)->on_deletion) { \