From e314c2cc04886cb05deee1e12c6c7a56cf868fc2 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 29 Jun 2005 14:28:47 +0000 Subject: 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 --- src/bin/e_bg.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/bin/e_bg.h (limited to 'src/bin/e_bg.h') 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 -- cgit v1.2.1