fix problems with motif changes not showing up in sequencebrowser
[mussa.git] / alg / glsequence.hpp
index cbb933c6d3836717e4340e97aac5451bb55b8f12..4d93d15b66969aea13f3a51026352c58c9524a4a 100644 (file)
@@ -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<AnnotationColors> color_mapper;
+  AnnotationColorsRef color_mapper;
   const GLfloat char_pix_per_world_unit;
 
   //! Return the pixel width of the opengl viewport.