Background alpha fading.

This commit is contained in:
Andrei Drexler 2011-03-10 09:22:24 +00:00
parent 6efd18ae7f
commit 6807e04768

View file

@ -468,9 +468,15 @@
#define ALPHA_FADE_FORE_EX(what, to, duration) \
ALPHA_FADE_EX(what, forecolor, 0, to, duration)
#define ALPHA_FADE_BACK_EX(what, to, duration) \
ALPHA_FADE_EX(what, backcolor, 0, to, duration)
#define DEFAULT_FADEIN_TIME 125
#define ALPHA_FADE_FORE(what, to) \
ALPHA_FADE_FORE_EX(what, to, DEFAULT_FADEIN_TIME)
#define ALPHA_FADE_BACK(what, to) \
ALPHA_FADE_BACK_EX(what, to, DEFAULT_FADEIN_TIME)