HACKISH: Display chipseq peak window track
[mussa.git] / alg / glsequence.hpp
index a2b5704a66024f0e6b61f7749d6126b4e9e8fffe..e486ca79e8096c61c0d2d45ef69e05091b0c5ba8 100644 (file)
@@ -68,6 +68,8 @@ public:
   static ColorRef default_gene_color();
   //! return default track color
   static ColorRef default_track_color();
+  //! return default chipseq color
+  static ColorRef default_chipseq_color();
   
   //! return our annotation color mapper
   AnnotationColorsRef colorMapper() { return color_mapper; }
@@ -86,7 +88,7 @@ public:
   //! get our right (horizontal) coordinate (size-x)
   float right() const;
   //! how long is our sequence track? (computed from the sequence)
-  GLfloat size() const;
+  Sequence::size_type size() const;
  
   //! return the left (lowest) base index that is fully visible
   Sequence::size_type leftbase(GLfloat left) const;
@@ -148,4 +150,6 @@ protected:
 void draw_summarized_track(SeqSpanRef ref, float left, float right);
 //! draw a 1/4 width centered track 
 void draw_narrow_track(SeqSpanRef ref, float left, float right);
+//! draw a chipseq peak window track 
+void draw_chipseq_window(SeqSpanRef ref, float left, float right);
 #endif