X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=alg%2Fglsequence.hpp;h=4d93d15b66969aea13f3a51026352c58c9524a4a;hp=cbb933c6d3836717e4340e97aac5451bb55b8f12;hb=8b38b5bc63e5c62983d0814aa75d3f88b9116e49;hpb=4b9dd885cdfef6d73c82bae5f112a063588766a9 diff --git a/alg/glsequence.hpp b/alg/glsequence.hpp index cbb933c..4d93d15 100644 --- a/alg/glsequence.hpp +++ b/alg/glsequence.hpp @@ -54,6 +54,8 @@ public: const ColorRef color() const; //! return our draw color ColorRef color(); + //! return our annotation color mapper + AnnotationColorsRef colorMapper() { return color_mapper; } //! draw a track /*! left and right are the edges of the current viewport @@ -100,7 +102,7 @@ public: friend bool operator==(const GlSequence &left, const GlSequence &right); protected: - boost::shared_ptr color_mapper; + AnnotationColorsRef color_mapper; const GLfloat char_pix_per_world_unit; //! Return the pixel width of the opengl viewport.