WhatsThis update
[mussa.git] / alg / glseqbrowser.hpp
index 2b313f65e5fca7bcd62434118572ea6fc702555d..86439fce8f8b847fd07f0c5e49106b72c973751e 100644 (file)
@@ -50,6 +50,11 @@ public:
   float viewportHeight() const;
   //! return width of the viewport in world coordinates
   float viewportWidth() const;
+  
+  //! return viewport height in pixels
+  int viewportPixelHeight() const;
+  //! return viewport width in pixels
+  int viewportPixelWidth() const;
 
   //! zoom out far enough to show the full size of the sequence
   double zoomOut();
@@ -206,12 +211,12 @@ private:
   float viewport_center;
   double zoom_level;
   boost::shared_ptr<AnnotationColors> color_mapper;
-  //! container of all the GlSequences loaded into our scene
-  std::vector<boost::shared_ptr<GlSequence> > track_container;
   //! counter for each path added to us via connect
   int pathid;
 
 protected:
+  //! container of all the GlSequences loaded into our scene
+  std::vector<boost::shared_ptr<GlSequence> > track_container;
   //! where to draw our box (world coordinates)
   rect<float> selectedRegion;
   //! true if we have a selection