show where the Ns are
[mussa.git] / alg / drawable.hpp
index 97b01059259587015db5bda8c87ff69dc5d87d9a..1ed9169fda9cd8ddc51f9d4337c5dd7d2a13701b 100644 (file)
@@ -19,7 +19,8 @@ typedef boost::shared_ptr<Drawable> DrawableRef;
  */ 
 class Drawable {
 public:
-  typedef void (*draw_func_ptr)(SeqSpanRef, void *);
+  // render our SeqSpanRef in the region between left/right
+  typedef void (*draw_func_ptr)(SeqSpanRef, float left, float right);
   
   Drawable() : 
     draw_x(0), draw_y(0), draw_z(0), draw_height(0), draw_color(new Color), draw_func(0) {}
@@ -65,6 +66,5 @@ protected:
   float draw_height;
   ColorRef draw_color;
   draw_func_ptr draw_func;
-
 };
 #endif /*DRAWABLE_HPP_*/