projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show where the Ns are
[mussa.git]
/
alg
/
drawable.hpp
diff --git
a/alg/drawable.hpp
b/alg/drawable.hpp
index 97b01059259587015db5bda8c87ff69dc5d87d9a..1ed9169fda9cd8ddc51f9d4337c5dd7d2a13701b 100644
(file)
--- a/
alg/drawable.hpp
+++ b/
alg/drawable.hpp
@@
-19,7
+19,8
@@
typedef boost::shared_ptr<Drawable> DrawableRef;
*/
class Drawable {
public:
*/
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) {}
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;
float draw_height;
ColorRef draw_color;
draw_func_ptr draw_func;
-
};
#endif /*DRAWABLE_HPP_*/
};
#endif /*DRAWABLE_HPP_*/