diff include/mb_types.h @ 753:cedfe4966fd6

Clear unused local variables
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 26 Aug 2010 13:35:21 +0800
parents d2f2ed27b84d
children 0e56a1ca19b2
line wrap: on
line diff
--- a/include/mb_types.h	Thu Aug 26 00:16:12 2010 +0800
+++ b/include/mb_types.h	Thu Aug 26 13:35:21 2010 +0800
@@ -312,6 +312,8 @@
 #define coord_clear_flags(co, _flags)		\
     do { (co)->flags &= ~(_flags); } while(0)
 #define coord_get_mouse_event(coord) ((coord)->mouse_event)
+#define coord_get_opacity(coord) ((coord)->opacity)
+#define coord_set_opacity(coord, v) do { (coord)->opacity = v; } while(0)
 #define coord_get_aggr_matrix(coord) ((coord)->aggr_matrix)
 #define coord_get_matrix(coord) ((coord)->matrix)
 #define FOR_COORDS_POSTORDER(coord, cur)			\