summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.h
diff options
context:
space:
mode:
authorrephorm <rephorm>2006-10-20 03:23:46 +0000
committerrephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-10-20 03:23:46 +0000
commit80478f40d8c894ce2f1866e188cae4f3692ce02e (patch)
tree16c0f977d2b87111bb256ad1a116751196927ab8 /src/bin/e_bg.h
parent73a150fbf85a7e2327007c045e77543800708b0b (diff)
Allow setting bg of desktops from within virtual desktop dialog.
For now, left click on the small desktop. We'll probably add a menu on click, with the ability to set the desktop name or set bg. SVN revision: 26700
Diffstat (limited to 'src/bin/e_bg.h')
-rw-r--r--src/bin/e_bg.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bin/e_bg.h b/src/bin/e_bg.h
index e86e659..2b864cf 100644
--- a/src/bin/e_bg.h
+++ b/src/bin/e_bg.h
@@ -10,19 +10,30 @@ typedef enum {
10 E_BG_TRANSITION_CHANGE 10 E_BG_TRANSITION_CHANGE
11} E_Bg_Transition; 11} E_Bg_Transition;
12 12
13typedef struct _E_Event_Bg_Update E_Event_Bg_Update;
13#else 14#else
14#ifndef E_BG_H 15#ifndef E_BG_H
15#define E_BG_H 16#define E_BG_H
16 17
18extern EAPI int E_EVENT_BG_UPDATE;
19
20struct _E_Event_Bg_Update
21{
22 int container;
23 int zone;
24 int desk_x;
25 int desk_y;
26};
27
17EAPI int e_bg_init(void); 28EAPI int e_bg_init(void);
18EAPI int e_bg_shutdown(void); 29EAPI int e_bg_shutdown(void);
19 30
31EAPI const E_Config_Desktop_Background *e_bg_config_get(int container_num, int zone_num, int desk_x, int desk_y);
20EAPI const char *e_bg_file_get(int container_num, int zone_num, int desk_x, int desk_y); 32EAPI const char *e_bg_file_get(int container_num, int zone_num, int desk_x, int desk_y);
21EAPI void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition); 33EAPI void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition);
22EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, char *file); 34EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, char *file);
23EAPI void e_bg_del(int container, int zone, int desk_x, int desk_y); 35EAPI void e_bg_del(int container, int zone, int desk_x, int desk_y);
24EAPI void e_bg_default_set(char *file); 36EAPI void e_bg_default_set(char *file);
25EAPI void e_bg_update(void); 37EAPI void e_bg_update(void);
26
27#endif 38#endif
28#endif 39#endif