Mercurial > MadButterfly
diff src/paint.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 | 56f592f56ff7 |
children | 01ed2bc37eed |
line wrap: on
line diff
--- a/src/paint.h Sat Aug 09 21:34:07 2008 +0800 +++ b/src/paint.h Sat Aug 09 22:16:23 2008 +0800 @@ -14,6 +14,9 @@ extern void paint_color_set(paint_t *paint, co_comp_t r, co_comp_t g, co_comp_t b, co_comp_t a); +extern void paint_color_get(paint_t *paint, + co_comp_t *r, co_comp_t *g, + co_comp_t *b, co_comp_t *a); #define paint_init(_paint, _prepare, _free) \ do { \ (_paint)->prepare = _prepare; \