X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=alg%2Fdrawable.hpp;h=1ed9169fda9cd8ddc51f9d4337c5dd7d2a13701b;hp=97b01059259587015db5bda8c87ff69dc5d87d9a;hb=15f9eb9d7ba5ffe32cbe7bc67a9d85b714c27871;hpb=9d76ff624ae315a1262d6ceba1faeb68484ebd85 diff --git a/alg/drawable.hpp b/alg/drawable.hpp index 97b0105..1ed9169 100644 --- a/alg/drawable.hpp +++ b/alg/drawable.hpp @@ -19,7 +19,8 @@ typedef boost::shared_ptr 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_*/