diff src/animate.h @ 52:59a295651480

Add action mb_chgcolor_t to change color of paints.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 09 Aug 2008 22:16:23 +0800
parents f3818d996f4f
children ab028c9f0930
line wrap: on
line diff
--- a/src/animate.h	Sat Aug 09 21:34:07 2008 +0800
+++ b/src/animate.h	Sat Aug 09 22:16:23 2008 +0800
@@ -3,6 +3,7 @@
 
 #include "mb_types.h"
 #include "mb_timer.h"
+#include "paint.h"
 
 typedef struct _mb_progm mb_progm_t;
 typedef struct _mb_word mb_word_t;
@@ -19,6 +20,9 @@
 extern void mb_progm_abort(mb_progm_t *progm, mb_tman_t *tman);
 extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord,
 				 mb_word_t *word);
+extern mb_action_t *mb_chgcolor_new(co_comp_t r, co_comp_t g,
+				    co_comp_t b, co_comp_t a,
+				    paint_t *paint, mb_word_t *word);
 
 
 #endif /* __ANIMATE_H_ */