summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-17 23:05:51 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-17 23:05:51 +0000
commit8a8025c6d84e49b264d1e1974e64869123cb67fc (patch)
treec8e63b0e395bdd68f9bd0fffb3a40c7f61e29fe4 /src/bin/e_bg.h
parent9710ec6536b0df66d6b0748ead00b542aa3ed4a6 (diff)
e_bg: improvements and start import process (unfinished!)
I ran out of time, so if someone wants to finish the move of e_int_config_wallpaper_import.c to standard e_bg.c I appreciate the help. Skeleton is there. With this, it is possible to remove code from conf_wallpaper and have that functionality in both wallpaper and wallpaper2. SVN revision: 44527
Diffstat (limited to 'src/bin/e_bg.h')
-rw-r--r--src/bin/e_bg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/e_bg.h b/src/bin/e_bg.h
index 9323c70..319cbab 100644
--- a/src/bin/e_bg.h
+++ b/src/bin/e_bg.h
@@ -12,6 +12,8 @@ typedef enum {
12 12
13typedef struct _E_Event_Bg_Update E_Event_Bg_Update; 13typedef struct _E_Event_Bg_Update E_Event_Bg_Update;
14 14
15typedef struct _E_Bg_Image_Import E_Bg_Image_Import;
16
15#else 17#else
16#ifndef E_BG_H 18#ifndef E_BG_H
17#define E_BG_H 19#define E_BG_H
@@ -33,12 +35,14 @@ EAPI const E_Config_Desktop_Background *e_bg_config_get(int container_num, int z
33EAPI const char *e_bg_file_get(int container_num, int zone_num, int desk_x, int desk_y); 35EAPI const char *e_bg_file_get(int container_num, int zone_num, int desk_x, int desk_y);
34EAPI void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition); 36EAPI void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition);
35EAPI void e_bg_zone_slide(E_Zone *zone, int prev_x, int prev_y); 37EAPI void e_bg_zone_slide(E_Zone *zone, int prev_x, int prev_y);
36EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, char *file); 38EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, const char *file);
37EAPI void e_bg_del(int container, int zone, int desk_x, int desk_y); 39EAPI void e_bg_del(int container, int zone, int desk_x, int desk_y);
38EAPI void e_bg_default_set(char *file); 40EAPI void e_bg_default_set(const char *file);
39EAPI void e_bg_update(void); 41EAPI void e_bg_update(void);
40EAPI void e_bg_handler_set(Evas_Object *obj, const char *path, void *data); 42EAPI void e_bg_handler_set(Evas_Object *obj, const char *path, void *data);
41EAPI int e_bg_handler_test(Evas_Object *obj, const char *path, void *data); 43EAPI int e_bg_handler_test(Evas_Object *obj, const char *path, void *data);
42 44
45EAPI E_Bg_Image_Import *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data);
46
43#endif 47#endif
44#endif 48#endif