diff options
author | Carsten Haitzler <raster@rasterman.com> | 2005-06-29 14:28:47 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2005-06-29 14:28:47 +0000 |
commit | e314c2cc04886cb05deee1e12c6c7a56cf868fc2 (patch) | |
tree | 282b5a27f0855bf24c852fe6ed23b273d0e34abf /src/bin/e_bg.h | |
parent | 63fb8f4a129f1ba763d03e4f03fbd77d7ef7b009 (diff) | |
download | enlightenment-e314c2cc04886cb05deee1e12c6c7a56cf868fc2.tar.gz |
bg now allows transitions when changing the bg. also a first step to allow
different bg's per desk - not implemented yet tho, but some infrastructure
for it
SVN revision: 15568
Diffstat (limited to 'src/bin/e_bg.h')
-rw-r--r-- | src/bin/e_bg.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/bin/e_bg.h b/src/bin/e_bg.h new file mode 100644 index 0000000000..1ab0f93e3b --- /dev/null +++ b/src/bin/e_bg.h @@ -0,0 +1,27 @@ +/* + * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 + */ +#ifdef E_TYPEDEFS + +typedef enum { + E_BG_TRANSITION_NONE, + E_BG_TRANSITION_START, + E_BG_TRANSITION_DESK, + E_BG_TRANSITION_CHANGE +} E_Bg_Transition; + +typedef enum { + E_BG_TRANSITION_MODE_NONE, + E_BG_TRANSITION_MODE_RANDOM, + E_BG_TRANSITION_MODE_FADE, + E_BG_TRANSITION_MODE_SINUSOUDAL_FADE, + E_BG_TRANSITION_MODE_LAST +} E_Bg_Transition_Mode; +#else +#ifndef E_BG_H +#define E_BG_H + +void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition); + +#endif +#endif |