Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib Modified Files: Evas.h Log Message: hidden symbol support =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Evas.h,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- Evas.h 27 Jul 2004 05:00:48 -0000 1.30 +++ Evas.h 25 Nov 2004 05:18:03 -0000 1.31 @@ -1,6 +1,23 @@ #ifndef _EVAS_H #define _EVAS_H +#ifdef EAPI +#undef EAPI +#endif +#ifdef WIN32 +# ifdef BUILDING_DLL +# define EAPI __declspec(dllexport) +# else +# define EAPI __declspec(dllimport) +# endif +#else +# ifdef GCC_HASCLASSVISIBILITY +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif +#endif + #ifndef EVAS_COMMON_H #ifndef EVAS_PRIVATE_H @@ -246,25 +263,25 @@ extern "C" { #endif - Evas_List *evas_list_append (Evas_List *list, const void *data); - Evas_List *evas_list_prepend (Evas_List *list, const void *data); - Evas_List *evas_list_append_relative (Evas_List *list, const void *data, const void *relative); - Evas_List *evas_list_prepend_relative (Evas_List *list, const void *data, const void *relative); - Evas_List *evas_list_remove (Evas_List *list, const void *data); - Evas_List *evas_list_remove_list (Evas_List *list, Evas_List *remove_list); - void *evas_list_find (Evas_List *list, const void *data); - Evas_List *evas_list_find_list (Evas_List *list, const void *data); - Evas_List *evas_list_free (Evas_List *list); - Evas_List *evas_list_last (Evas_List *list); - Evas_List *evas_list_next (Evas_List *list); - Evas_List *evas_list_prev (Evas_List *list); - void *evas_list_data (Evas_List *list); - int evas_list_count (Evas_List *list); - void *evas_list_nth (Evas_List *list, int n); - Evas_List *evas_list_nth_list (Evas_List *list, int n); - Evas_List *evas_list_reverse (Evas_List *list); - Evas_List *evas_list_sort (Evas_List *list, int size, int(*func)(void*,void*)); - int evas_list_alloc_error (void); + EAPI Evas_List *evas_list_append (Evas_List *list, const void *data); + EAPI Evas_List *evas_list_prepend (Evas_List *list, const void *data); + EAPI Evas_List *evas_list_append_relative (Evas_List *list, const void *data, const void *relative); + EAPI Evas_List *evas_list_prepend_relative (Evas_List *list, const void *data, const void *relative); + EAPI Evas_List *evas_list_remove (Evas_List *list, const void *data); + EAPI Evas_List *evas_list_remove_list (Evas_List *list, Evas_List *remove_list); + EAPI void *evas_list_find (Evas_List *list, const void *data); + EAPI Evas_List *evas_list_find_list (Evas_List *list, const void *data); + EAPI Evas_List *evas_list_free (Evas_List *list); + EAPI Evas_List *evas_list_last (Evas_List *list); + EAPI Evas_List *evas_list_next (Evas_List *list); + EAPI Evas_List *evas_list_prev (Evas_List *list); + EAPI void *evas_list_data (Evas_List *list); + EAPI int evas_list_count (Evas_List *list); + EAPI void *evas_list_nth (Evas_List *list, int n); + EAPI Evas_List *evas_list_nth_list (Evas_List *list, int n); + EAPI Evas_List *evas_list_reverse (Evas_List *list); + EAPI Evas_List *evas_list_sort (Evas_List *list, int size, int(*func)(void*,void*)); + EAPI int evas_list_alloc_error (void); /* FIXME: add: * api to add find, del members by data, size not just string and also @@ -272,267 +289,267 @@ * * do we really need this? hmmm - let me think... there may be a better way */ - Evas_Hash *evas_hash_add (Evas_Hash *hash, const char *key, const void*data); - Evas_Hash *evas_hash_del (Evas_Hash *hash, const char *key, const void*data); - void *evas_hash_find (Evas_Hash *hash, const char *key); - int evas_hash_size (Evas_Hash *hash); - void evas_hash_free (Evas_Hash *hash); - void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata); - int evas_hash_alloc_error (void); + EAPI Evas_Hash *evas_hash_add (Evas_Hash *hash, const char *key, const void*data); + EAPI Evas_Hash *evas_hash_del (Evas_Hash *hash, const char *key, const void*data); + EAPI void *evas_hash_find (Evas_Hash *hash, const char *key); + EAPI int evas_hash_size (Evas_Hash *hash); + EAPI void evas_hash_free (Evas_Hash *hash); + EAPI void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata); + EAPI int evas_hash_alloc_error (void); - int evas_alloc_error (void); + EAPI int evas_alloc_error (void); - int evas_init (void); - int evas_shutdown (void); + EAPI int evas_init (void); + EAPI int evas_shutdown (void); - Evas *evas_new (void); - void evas_free (Evas *e); + EAPI Evas *evas_new (void); + EAPI void evas_free (Evas *e); - int evas_render_method_lookup (const char *name); - Evas_List *evas_render_method_list (void); - void evas_render_method_list_free (Evas_List *list); - - void evas_output_method_set (Evas *e, int render_method); - int evas_output_method_get (Evas *e); - - Evas_Engine_Info *evas_engine_info_get (Evas *e); - void evas_engine_info_set (Evas *e, Evas_Engine_Info *info); - - void evas_output_size_set (Evas *e, int w, int h); - void evas_output_size_get (Evas *e, int *w, int *h); - void evas_output_viewport_set (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - void evas_output_viewport_get (Evas *e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - - Evas_Coord evas_coord_screen_x_to_world (Evas *e, int x); - Evas_Coord evas_coord_screen_y_to_world (Evas *e, int y); - int evas_coord_world_x_to_screen (Evas *e, Evas_Coord x); - int evas_coord_world_y_to_screen (Evas *e, Evas_Coord y); + EAPI int evas_render_method_lookup (const char *name); + EAPI Evas_List *evas_render_method_list (void); + EAPI void evas_render_method_list_free (Evas_List *list); + + EAPI void evas_output_method_set (Evas *e, int render_method); + EAPI int evas_output_method_get (Evas *e); + + EAPI Evas_Engine_Info *evas_engine_info_get (Evas *e); + EAPI void evas_engine_info_set (Evas *e, Evas_Engine_Info *info); + + EAPI void evas_output_size_set (Evas *e, int w, int h); + EAPI void evas_output_size_get (Evas *e, int *w, int *h); + EAPI void evas_output_viewport_set (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); + EAPI void evas_output_viewport_get (Evas *e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + + EAPI Evas_Coord evas_coord_screen_x_to_world (Evas *e, int x); + EAPI Evas_Coord evas_coord_screen_y_to_world (Evas *e, int y); + EAPI int evas_coord_world_x_to_screen (Evas *e, Evas_Coord x); + EAPI int evas_coord_world_y_to_screen (Evas *e, Evas_Coord y); - void evas_pointer_output_xy_get (Evas *e, int *x, int *y); - void evas_pointer_canvas_xy_get (Evas *e, Evas_Coord *x, Evas_Coord *y); - int evas_pointer_button_down_mask_get (Evas *e); - Evas_Bool evas_pointer_inside_get (Evas *e); + EAPI void evas_pointer_output_xy_get (Evas *e, int *x, int *y); + EAPI void evas_pointer_canvas_xy_get (Evas *e, Evas_Coord *x, Evas_Coord *y); + EAPI int evas_pointer_button_down_mask_get (Evas *e); + EAPI Evas_Bool evas_pointer_inside_get (Evas *e); /* DOC UP TO HERE */ - void evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h); - void evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h); - void evas_obscured_clear (Evas *e); - Evas_List *evas_render_updates (Evas *e); - void evas_render_updates_free (Evas_List *updates); - void evas_render (Evas *e); + EAPI void evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h); + EAPI void evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h); + EAPI void evas_obscured_clear (Evas *e); + EAPI Evas_List *evas_render_updates (Evas *e); + EAPI void evas_render_updates_free (Evas_List *updates); + EAPI void evas_render (Evas *e); - Evas_Object *evas_object_rectangle_add (Evas *e); + EAPI Evas_Object *evas_object_rectangle_add (Evas *e); - Evas_Object *evas_object_line_add (Evas *e); - void evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2); - void evas_object_line_xy_get (Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2); - - Evas_Object *evas_object_gradient_add (Evas *e); - void evas_object_gradient_color_add (Evas_Object *obj, int r, int g, int b, int a, int distance); - void evas_object_gradient_colors_clear (Evas_Object *obj); - void evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle); - Evas_Angle evas_object_gradient_angle_get (Evas_Object *obj); - - Evas_Object *evas_object_polygon_add (Evas *e); - void evas_object_polygon_point_add (Evas_Object *obj, Evas_Coord x, Evas_Coord y); - void evas_object_polygon_points_clear (Evas_Object *obj); - - Evas_Object *evas_object_image_add (Evas *e); - void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key); - void evas_object_image_file_get (Evas_Object *obj, char **file, char **key); - void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b); - void evas_object_image_border_get (Evas_Object *obj, int *l, int *r, int *t, int *b); - void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - void evas_object_image_fill_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - void evas_object_image_size_set (Evas_Object *obj, int w, int h); - void evas_object_image_size_get (Evas_Object *obj, int *w, int *h); - int evas_object_image_load_error_get (Evas_Object *obj); - void evas_object_image_data_set (Evas_Object *obj, void *data); - void *evas_object_image_data_get (Evas_Object *obj, Evas_Bool for_writing); - void evas_object_image_data_copy_set (Evas_Object *obj, void *data); - void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h); - void evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha); - Evas_Bool evas_object_image_alpha_get (Evas_Object *obj); - void evas_object_image_smooth_scale_set(Evas_Object *obj, Evas_Bool smooth_scale); - Evas_Bool evas_object_image_smooth_scale_get(Evas_Object *obj); - void evas_object_image_reload (Evas_Object *obj); - Evas_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels); - void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data); - void evas_object_image_pixels_dirty_set (Evas_Object *obj, Evas_Bool dirty); - Evas_Bool evas_object_image_pixels_dirty_get (Evas_Object *obj); + EAPI Evas_Object *evas_object_line_add (Evas *e); + EAPI void evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2); + EAPI void evas_object_line_xy_get (Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2); + + EAPI Evas_Object *evas_object_gradient_add (Evas *e); + EAPI void evas_object_gradient_color_add (Evas_Object *obj, int r, int g, int b, int a, int distance); + EAPI void evas_object_gradient_colors_clear (Evas_Object *obj); + EAPI void evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle); + EAPI Evas_Angle evas_object_gradient_angle_get (Evas_Object *obj); + + EAPI Evas_Object *evas_object_polygon_add (Evas *e); + EAPI void evas_object_polygon_point_add (Evas_Object *obj, Evas_Coord x, Evas_Coord y); + EAPI void evas_object_polygon_points_clear (Evas_Object *obj); + + EAPI Evas_Object *evas_object_image_add (Evas *e); + EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key); + EAPI void evas_object_image_file_get (Evas_Object *obj, char **file, char **key); + EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b); + EAPI void evas_object_image_border_get (Evas_Object *obj, int *l, int *r, int *t, int *b); + EAPI void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); + EAPI void evas_object_image_fill_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + EAPI void evas_object_image_size_set (Evas_Object *obj, int w, int h); + EAPI void evas_object_image_size_get (Evas_Object *obj, int *w, int *h); + EAPI int evas_object_image_load_error_get (Evas_Object *obj); + EAPI void evas_object_image_data_set (Evas_Object *obj, void *data); + EAPI void *evas_object_image_data_get (Evas_Object *obj, Evas_Bool for_writing); + EAPI void evas_object_image_data_copy_set (Evas_Object *obj, void *data); + EAPI void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h); + EAPI void evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha); + EAPI Evas_Bool evas_object_image_alpha_get (Evas_Object *obj); + EAPI void evas_object_image_smooth_scale_set(Evas_Object *obj, Evas_Bool smooth_scale); + EAPI Evas_Bool evas_object_image_smooth_scale_get(Evas_Object *obj); + EAPI void evas_object_image_reload (Evas_Object *obj); + EAPI Evas_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels); + EAPI void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data); + EAPI void evas_object_image_pixels_dirty_set (Evas_Object *obj, Evas_Bool dirty); + EAPI Evas_Bool evas_object_image_pixels_dirty_get (Evas_Object *obj); - void evas_image_cache_flush (Evas *e); - void evas_image_cache_reload (Evas *e); - void evas_image_cache_set (Evas *e, int size); - int evas_image_cache_get (Evas *e); - - Evas_Object *evas_object_text_add (Evas *e); - void evas_object_text_font_source_set (Evas_Object *obj, const char *font); - const char *evas_object_text_font_source_get (Evas_Object *obj); - void evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size); - void evas_object_text_font_get (Evas_Object *obj, char **font, Evas_Font_Size *size); - void evas_object_text_text_set (Evas_Object *obj, const char *text); - const char *evas_object_text_text_get (Evas_Object *obj); - Evas_Coord evas_object_text_ascent_get (Evas_Object *obj); - Evas_Coord evas_object_text_descent_get (Evas_Object *obj); - Evas_Coord evas_object_text_max_ascent_get (Evas_Object *obj); - Evas_Coord evas_object_text_max_descent_get (Evas_Object *obj); - Evas_Coord evas_object_text_horiz_advance_get(Evas_Object *obj); - Evas_Coord evas_object_text_vert_advance_get (Evas_Object *obj); - Evas_Coord evas_object_text_inset_get (Evas_Object *obj); - int evas_object_text_char_pos_get (Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); - int evas_object_text_char_coords_get (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); - - int evas_string_char_next_get (const char *str, int pos, int *decoded); - int evas_string_char_prev_get (const char *str, int pos, int *decoded); - - void evas_font_path_clear (Evas *e); - void evas_font_path_append (Evas *e, const char *path); - void evas_font_path_prepend (Evas *e, const char *path); - const Evas_List *evas_font_path_list (Evas *e); + EAPI void evas_image_cache_flush (Evas *e); + EAPI void evas_image_cache_reload (Evas *e); + EAPI void evas_image_cache_set (Evas *e, int size); + EAPI int evas_image_cache_get (Evas *e); + + EAPI Evas_Object *evas_object_text_add (Evas *e); + EAPI void evas_object_text_font_source_set (Evas_Object *obj, const char *font); + EAPI const char *evas_object_text_font_source_get (Evas_Object *obj); + EAPI void evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size); + EAPI void evas_object_text_font_get (Evas_Object *obj, char **font, Evas_Font_Size *size); + EAPI void evas_object_text_text_set (Evas_Object *obj, const char *text); + EAPI const char *evas_object_text_text_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_ascent_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_descent_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_max_ascent_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_max_descent_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_horiz_advance_get(Evas_Object *obj); + EAPI Evas_Coord evas_object_text_vert_advance_get (Evas_Object *obj); + EAPI Evas_Coord evas_object_text_inset_get (Evas_Object *obj); + EAPI int evas_object_text_char_pos_get (Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); + EAPI int evas_object_text_char_coords_get (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); + + EAPI int evas_string_char_next_get (const char *str, int pos, int *decoded); + EAPI int evas_string_char_prev_get (const char *str, int pos, int *decoded); + + EAPI void evas_font_path_clear (Evas *e); + EAPI void evas_font_path_append (Evas *e, const char *path); + EAPI void evas_font_path_prepend (Evas *e, const char *path); + EAPI const Evas_List *evas_font_path_list (Evas *e); - void evas_font_cache_flush (Evas *e); - void evas_font_cache_set (Evas *e, int size); - int evas_font_cache_get (Evas *e); - - void evas_object_del (Evas_Object *obj); - - const char *evas_object_type_get (Evas_Object *obj); - - void evas_object_layer_set (Evas_Object *obj, int l); - int evas_object_layer_get (Evas_Object *obj); - - void evas_object_raise (Evas_Object *obj); - void evas_object_lower (Evas_Object *obj); - void evas_object_stack_above (Evas_Object *obj, Evas_Object *above); - void evas_object_stack_below (Evas_Object *obj, Evas_Object *below); - Evas_Object *evas_object_above_get (Evas_Object *obj); - Evas_Object *evas_object_below_get (Evas_Object *obj); - Evas_Object *evas_object_bottom_get (Evas *e); - Evas_Object *evas_object_top_get (Evas *e); + EAPI void evas_font_cache_flush (Evas *e); + EAPI void evas_font_cache_set (Evas *e, int size); + EAPI int evas_font_cache_get (Evas *e); + + EAPI void evas_object_del (Evas_Object *obj); + + EAPI const char *evas_object_type_get (Evas_Object *obj); + + EAPI void evas_object_layer_set (Evas_Object *obj, int l); + EAPI int evas_object_layer_get (Evas_Object *obj); + + EAPI void evas_object_raise (Evas_Object *obj); + EAPI void evas_object_lower (Evas_Object *obj); + EAPI void evas_object_stack_above (Evas_Object *obj, Evas_Object *above); + EAPI void evas_object_stack_below (Evas_Object *obj, Evas_Object *below); + EAPI Evas_Object *evas_object_above_get (Evas_Object *obj); + EAPI Evas_Object *evas_object_below_get (Evas_Object *obj); + EAPI Evas_Object *evas_object_bottom_get (Evas *e); + EAPI Evas_Object *evas_object_top_get (Evas *e); - void evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y); - void evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h); - void evas_object_geometry_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - - void evas_object_show (Evas_Object *obj); - void evas_object_hide (Evas_Object *obj); - Evas_Bool evas_object_visible_get (Evas_Object *obj); - - void evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a); - void evas_object_color_get (Evas_Object *obj, int *r, int *g, int *b, int *a); - - void evas_object_clip_set (Evas_Object *obj, Evas_Object *clip); - Evas_Object *evas_object_clip_get (Evas_Object *obj); - void evas_object_clip_unset (Evas_Object *obj); - const Evas_List *evas_object_clipees_get (Evas_Object *obj); - - void evas_object_data_set (Evas_Object *obj, const char *key, const void *data); - void *evas_object_data_get (Evas_Object *obj, const char *key); - void *evas_object_data_del (Evas_Object *obj, const char *key); - - void evas_object_name_set (Evas_Object *obj, const char *name); - const char *evas_object_name_get (Evas_Object *obj); - Evas_Object *evas_object_name_find (Evas *e, const char *name); - - Evas *evas_object_evas_get (Evas_Object *obj); - - Evas_Object *evas_object_top_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); - Evas_Object *evas_object_top_at_pointer_get (Evas *e); - Evas_Object *evas_object_top_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); - - Evas_List *evas_objects_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); - Evas_List *evas_objects_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); - - Evas_Smart *evas_smart_new (const char *name, void (*func_add) (Evas_Object *obj), void (*func_del) (Evas_Object *obj), void (*func_layer_set) (Evas_Object *obj, int l), void (*func_raise) (Evas_Object *obj), void (*func_lower) (Evas_Object *obj), void (*func_stack_above) (Evas_Object *obj, Evas_Object *above), void (*func_stack_below) (Evas_Object *obj, Evas_Object *below), void (*func_move) (Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*func_resize) (Evas_Object *obj, Evas_Coord w, Evas_Coord h), void (*func_show) (Evas_Object *obj), void (*func_hide) (Evas_Object *obj), void (*func_color_set) (Evas_Object *obj, int r, int g, int b, int a), void (*func_clip_set) (Evas_Object *obj, Evas_Object *clip), void (*func_clip_unset) (Evas_Object *obj), const void *data); - void evas_smart_free (Evas_Smart *s); - Evas_Smart *evas_smart_class_new (Evas_Smart_Class *sc); - Evas_Smart_Class *evas_smart_class_get (Evas_Smart *s); + EAPI void evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y); + EAPI void evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h); + EAPI void evas_object_geometry_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + + EAPI void evas_object_show (Evas_Object *obj); + EAPI void evas_object_hide (Evas_Object *obj); + EAPI Evas_Bool evas_object_visible_get (Evas_Object *obj); + + EAPI void evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a); + EAPI void evas_object_color_get (Evas_Object *obj, int *r, int *g, int *b, int *a); + + EAPI void evas_object_clip_set (Evas_Object *obj, Evas_Object *clip); + EAPI Evas_Object *evas_object_clip_get (Evas_Object *obj); + EAPI void evas_object_clip_unset (Evas_Object *obj); + EAPI const Evas_List *evas_object_clipees_get (Evas_Object *obj); + + EAPI void evas_object_data_set (Evas_Object *obj, const char *key, const void *data); + EAPI void *evas_object_data_get (Evas_Object *obj, const char *key); + EAPI void *evas_object_data_del (Evas_Object *obj, const char *key); + + EAPI void evas_object_name_set (Evas_Object *obj, const char *name); + EAPI const char *evas_object_name_get (Evas_Object *obj); + EAPI Evas_Object *evas_object_name_find (Evas *e, const char *name); + + EAPI Evas *evas_object_evas_get (Evas_Object *obj); + + EAPI Evas_Object *evas_object_top_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); + EAPI Evas_Object *evas_object_top_at_pointer_get (Evas *e); + EAPI Evas_Object *evas_object_top_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); + + EAPI Evas_List *evas_objects_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); + EAPI Evas_List *evas_objects_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); + + EAPI Evas_Smart *evas_smart_new (const char *name, void (*func_add) (Evas_Object *obj), void (*func_del) (Evas_Object *obj), void (*func_layer_set) (Evas_Object *obj, int l), void (*func_raise) (Evas_Object *obj), void (*func_lower) (Evas_Object *obj), void (*func_stack_above) (Evas_Object *obj, Evas_Object *above), void (*func_stack_below) (Evas_Object *obj, Evas_Object *below), void (*func_move) (Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*func_resize) (Evas_Object *obj, Evas_Coord w, Evas_Coord h), void (*func_show) (Evas_Object *obj), void (*func_hide) (Evas_Object *obj), void (*func_color_set) (Evas_Object *obj, int r, int g, int b, int a), void (*func_clip_set) (Evas_Object *obj, Evas_Object *clip), void (*func_clip_unset) (Evas_Object *obj), const void *data); + EAPI void evas_smart_free (Evas_Smart *s); + EAPI Evas_Smart *evas_smart_class_new (Evas_Smart_Class *sc); + EAPI Evas_Smart_Class *evas_smart_class_get (Evas_Smart *s); - void *evas_smart_data_get (Evas_Smart *s); + EAPI void *evas_smart_data_get (Evas_Smart *s); - Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s); - void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj); - void evas_object_smart_member_del (Evas_Object *obj); - Evas_Smart *evas_object_smart_smart_get (Evas_Object *obj); - void *evas_object_smart_data_get (Evas_Object *obj); - void evas_object_smart_data_set (Evas_Object *obj, void *data); - void evas_object_smart_callback_add (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data); - void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info)); - void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info); - - void evas_event_freeze (Evas *e); - void evas_event_thaw (Evas *e); - int evas_event_freeze_get (Evas *e); - void evas_event_feed_mouse_down_data (Evas *e, int b, const void *data); - void evas_event_feed_mouse_up_data (Evas *e, int b, const void *data); - void evas_event_feed_mouse_move_data (Evas *e, int x, int y, const void *data); - void evas_event_feed_mouse_in_data (Evas *e, const void *data); - void evas_event_feed_mouse_out_data (Evas *e, const void *data); - void evas_event_feed_mouse_wheel_data (Evas *e, int direction, int z, const void *data); - void evas_event_feed_key_down_data (Evas *e, const char *keyname, const void *data); - void evas_event_feed_key_up_data (Evas *e, const char *keyname, const void *data); - void evas_event_feed_mouse_down (Evas *e, int b); - void evas_event_feed_mouse_up (Evas *e, int b); - void evas_event_feed_mouse_move (Evas *e, int x, int y); - void evas_event_feed_mouse_in (Evas *e); - void evas_event_feed_mouse_out (Evas *e); - void evas_event_feed_mouse_wheel (Evas *e, int direction, int z); - void evas_event_feed_key_down (Evas *e, const char *keyname); - void evas_event_feed_key_up (Evas *e, const char *keyname); - - void evas_object_focus_set (Evas_Object *obj, Evas_Bool focus); - Evas_Bool evas_object_focus_get (Evas_Object *obj); - - Evas_Object *evas_focus_get (Evas *e); - - Evas_Modifier *evas_key_modifier_get (Evas *e); - Evas_Lock *evas_key_lock_get (Evas *e); - - Evas_Bool evas_key_modifier_is_set_get (Evas_Modifier *m, const char *keyname); - - Evas_Bool evas_key_lock_is_set_get (Evas_Lock *l, const char *keyname); - - void evas_key_modifier_add (Evas *e, const char *keyname); - void evas_key_modifier_del (Evas *e, const char *keyname); - void evas_key_lock_add (Evas *e, const char *keyname); - void evas_key_lock_del (Evas *e, const char *keyname); - - void evas_key_modifier_on (Evas *e, const char *keyname); - void evas_key_modifier_off (Evas *e, const char *keyname); - void evas_key_lock_on (Evas *e, const char *keyname); - void evas_key_lock_off (Evas *e, const char *keyname); - - Evas_Modifier_Mask evas_key_modifier_mask_get (Evas *e, const char *keyname); - - Evas_Bool evas_object_key_grab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Evas_Bool exclusive); - void evas_object_key_ungrab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers); - - void evas_object_pass_events_set (Evas_Object *obj, Evas_Bool pass); - Evas_Bool evas_object_pass_events_get (Evas_Object *obj); - void evas_object_repeat_events_set (Evas_Object *obj, Evas_Bool repeat); - Evas_Bool evas_object_repeat_events_get (Evas_Object *obj); - - void evas_object_event_callback_add (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info), const void *data); - void *evas_object_event_callback_del (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info)); - - void evas_object_intercept_show_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); - void *evas_object_intercept_show_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); - void evas_object_intercept_hide_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); - void *evas_object_intercept_hide_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); - void evas_object_intercept_move_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y), const void *data); - void *evas_object_intercept_move_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)); - void evas_object_intercept_resize_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h), const void *data); - void *evas_object_intercept_resize_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h)); - void evas_object_intercept_raise_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); - void *evas_object_intercept_raise_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); - void evas_object_intercept_lower_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); - void *evas_object_intercept_lower_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); - void evas_object_intercept_stack_above_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above), const void *data); - void *evas_object_intercept_stack_above_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above)); - void evas_object_intercept_stack_below_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below), const void *data); - void *evas_object_intercept_stack_below_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below)); - void evas_object_intercept_layer_set_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l), const void *data); - void *evas_object_intercept_layer_set_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l)); + EAPI Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s); + EAPI void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj); + EAPI void evas_object_smart_member_del (Evas_Object *obj); + EAPI Evas_Smart *evas_object_smart_smart_get (Evas_Object *obj); + EAPI void *evas_object_smart_data_get (Evas_Object *obj); + EAPI void evas_object_smart_data_set (Evas_Object *obj, void *data); + EAPI void evas_object_smart_callback_add (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data); + EAPI void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info)); + EAPI void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info); + + EAPI void evas_event_freeze (Evas *e); + EAPI void evas_event_thaw (Evas *e); + EAPI int evas_event_freeze_get (Evas *e); + EAPI void evas_event_feed_mouse_down_data (Evas *e, int b, const void *data); + EAPI void evas_event_feed_mouse_up_data (Evas *e, int b, const void *data); + EAPI void evas_event_feed_mouse_move_data (Evas *e, int x, int y, const void *data); + EAPI void evas_event_feed_mouse_in_data (Evas *e, const void *data); + EAPI void evas_event_feed_mouse_out_data (Evas *e, const void *data); + EAPI void evas_event_feed_mouse_wheel_data (Evas *e, int direction, int z, const void *data); + EAPI void evas_event_feed_key_down_data (Evas *e, const char *keyname, const void *data); + EAPI void evas_event_feed_key_up_data (Evas *e, const char *keyname, const void *data); + EAPI void evas_event_feed_mouse_down (Evas *e, int b); + EAPI void evas_event_feed_mouse_up (Evas *e, int b); + EAPI void evas_event_feed_mouse_move (Evas *e, int x, int y); + EAPI void evas_event_feed_mouse_in (Evas *e); + EAPI void evas_event_feed_mouse_out (Evas *e); + EAPI void evas_event_feed_mouse_wheel (Evas *e, int direction, int z); + EAPI void evas_event_feed_key_down (Evas *e, const char *keyname); + EAPI void evas_event_feed_key_up (Evas *e, const char *keyname); + + EAPI void evas_object_focus_set (Evas_Object *obj, Evas_Bool focus); + EAPI Evas_Bool evas_object_focus_get (Evas_Object *obj); + + EAPI Evas_Object *evas_focus_get (Evas *e); + + EAPI Evas_Modifier *evas_key_modifier_get (Evas *e); + EAPI Evas_Lock *evas_key_lock_get (Evas *e); + + EAPI Evas_Bool evas_key_modifier_is_set_get (Evas_Modifier *m, const char *keyname); + + EAPI Evas_Bool evas_key_lock_is_set_get (Evas_Lock *l, const char *keyname); + + EAPI void evas_key_modifier_add (Evas *e, const char *keyname); + EAPI void evas_key_modifier_del (Evas *e, const char *keyname); + EAPI void evas_key_lock_add (Evas *e, const char *keyname); + EAPI void evas_key_lock_del (Evas *e, const char *keyname); + + EAPI void evas_key_modifier_on (Evas *e, const char *keyname); + EAPI void evas_key_modifier_off (Evas *e, const char *keyname); + EAPI void evas_key_lock_on (Evas *e, const char *keyname); + EAPI void evas_key_lock_off (Evas *e, const char *keyname); + + EAPI Evas_Modifier_Mask evas_key_modifier_mask_get (Evas *e, const char *keyname); + + EAPI Evas_Bool evas_object_key_grab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Evas_Bool exclusive); + EAPI void evas_object_key_ungrab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers); + + EAPI void evas_object_pass_events_set (Evas_Object *obj, Evas_Bool pass); + EAPI Evas_Bool evas_object_pass_events_get (Evas_Object *obj); + EAPI void evas_object_repeat_events_set (Evas_Object *obj, Evas_Bool repeat); + EAPI Evas_Bool evas_object_repeat_events_get (Evas_Object *obj); + + EAPI void evas_object_event_callback_add (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info), const void *data); + EAPI void *evas_object_event_callback_del (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info)); + + EAPI void evas_object_intercept_show_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); + EAPI void *evas_object_intercept_show_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); + EAPI void evas_object_intercept_hide_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); + EAPI void *evas_object_intercept_hide_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); + EAPI void evas_object_intercept_move_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y), const void *data); + EAPI void *evas_object_intercept_move_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)); + EAPI void evas_object_intercept_resize_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h), const void *data); + EAPI void *evas_object_intercept_resize_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h)); + EAPI void evas_object_intercept_raise_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); + EAPI void *evas_object_intercept_raise_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); + EAPI void evas_object_intercept_lower_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); + EAPI void *evas_object_intercept_lower_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); + EAPI void evas_object_intercept_stack_above_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above), const void *data); + EAPI void *evas_object_intercept_stack_above_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above)); + EAPI void evas_object_intercept_stack_below_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below), const void *data); + EAPI void *evas_object_intercept_stack_below_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below)); + EAPI void evas_object_intercept_layer_set_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l), const void *data); + EAPI void *evas_object_intercept_layer_set_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l)); /* Evas imaging api - exports some of the comon gfx engine routines */ /* this is not complete and should be considered experimental. use at your */ @@ -547,28 +564,28 @@ #endif #endif - Evas_Imaging_Image *evas_imaging_image_load (const char *file, const char *key); - void evas_imaging_image_free (Evas_Imaging_Image *im); - void evas_imaging_image_size_get (Evas_Imaging_Image *im, int *w, int *h); - Evas_Bool evas_imaging_image_alpha_get (Evas_Imaging_Image *im); - void evas_imaging_image_cache_set (int bytes); - int evas_imaging_image_cache_get (void); - - Evas_Imaging_Font *evas_imaging_font_load (const char *file, const char *key, int size); - void evas_imaging_font_free (Evas_Imaging_Font *fn); - int evas_imaging_font_ascent_get (Evas_Imaging_Font *fn); - int evas_imaging_font_descent_get (Evas_Imaging_Font *fn); - int evas_imaging_font_max_ascent_get (Evas_Imaging_Font *fn); - int evas_imaging_font_max_descent_get (Evas_Imaging_Font *fn); - int evas_imaging_font_line_advance_get (Evas_Imaging_Font *fn); - void evas_imaging_font_string_advance_get (Evas_Imaging_Font *fn, char *str, int *x, int *y); - void evas_imaging_font_string_size_query (Evas_Imaging_Font *fn, char *str, int *w, int *h); - int evas_imaging_font_string_inset_get (Evas_Imaging_Font *fn, char *str); - int evas_imaging_font_string_char_coords_get (Evas_Imaging_Font *fn, char *str, int pos, int *cx, int *cy, int *cw, int *ch); - int evas_imaging_font_string_char_at_coords_get (Evas_Imaging_Font *fn, char *str, int x, int y, int *cx, int *cy, int *cw, int *ch); + EAPI Evas_Imaging_Image *evas_imaging_image_load (const char *file, const char *key); + EAPI void evas_imaging_image_free (Evas_Imaging_Image *im); + EAPI void evas_imaging_image_size_get (Evas_Imaging_Image *im, int *w, int *h); + EAPI Evas_Bool evas_imaging_image_alpha_get (Evas_Imaging_Image *im); + EAPI void evas_imaging_image_cache_set (int bytes); + EAPI int evas_imaging_image_cache_get (void); + + EAPI Evas_Imaging_Font *evas_imaging_font_load (const char *file, const char *key, int size); + EAPI void evas_imaging_font_free (Evas_Imaging_Font *fn); + EAPI int evas_imaging_font_ascent_get (Evas_Imaging_Font *fn); + EAPI int evas_imaging_font_descent_get (Evas_Imaging_Font *fn); + EAPI int evas_imaging_font_max_ascent_get (Evas_Imaging_Font *fn); + EAPI int evas_imaging_font_max_descent_get (Evas_Imaging_Font *fn); + EAPI int evas_imaging_font_line_advance_get (Evas_Imaging_Font *fn); + EAPI void evas_imaging_font_string_advance_get (Evas_Imaging_Font *fn, char *str, int *x, int *y); + EAPI void evas_imaging_font_string_size_query (Evas_Imaging_Font *fn, char *str, int *w, int *h); + EAPI int evas_imaging_font_string_inset_get (Evas_Imaging_Font *fn, char *str); + EAPI int evas_imaging_font_string_char_coords_get (Evas_Imaging_Font *fn, char *str, int pos, int *cx, int *cy, int *cw, int *ch); + EAPI int evas_imaging_font_string_char_at_coords_get (Evas_Imaging_Font *fn, char *str, int x, int y, int *cx, int *cy, int *cw, int *ch); - void evas_imaging_font_cache_set (int bytes); - int evas_imaging_font_cache_get (void); + EAPI void evas_imaging_font_cache_set (int bytes); + EAPI int evas_imaging_font_cache_get (void); #ifdef __cplusplus } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs