remove unnecessary class decoration
authorDiane Trout <diane@caltech.edu>
Fri, 16 Jun 2006 05:38:37 +0000 (05:38 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 16 Jun 2006 05:38:37 +0000 (05:38 +0000)
would you believe that you don't need the name of the class inside the
class declaration?

alg/glseqbrowser.hpp
alg/glsequence.hpp

index 8ad16c4bdbcd9d1dc32013518c46cf82b536831a..99ddd36580d636c2dfa129bd147a36f27f95ad67 100644 (file)
@@ -24,7 +24,7 @@ public:
   void paintGL() const;
 
   //! select a region (using canvas coordinates)
-  void GlSeqBrowser::selectRegion(int top, int left, int bottom, int right);
+  void selectRegion(int top, int left, int bottom, int right);
 
   //! border size
   float border() const;
index 4e992f3ee05ab2038e3a9bd892f5a8b58c634c76..c20e1945b11414d0090e829c60d0abc2b87624ec 100644 (file)
@@ -44,11 +44,10 @@ public:
   GLfloat length() const;
  
   //! return the left (lowest) base index that is fully visible
-  Sequence::size_type GlSequence::leftbase(GLfloat left) const;
+  Sequence::size_type leftbase(GLfloat left) const;
   //! return one past rightmost (highest ) base index that is fully visible
-  /*! done mostly so all the iterator logic continues to work correctly.
-   */
-  Sequence::size_type GlSequence::rightbase(GLfloat right) const;
+  //! done mostly so all the iterator logic continues to work correctly.
+  Sequence::size_type rightbase(GLfloat right) const;
 
   //! return iterator to the start of the stored sequence
   Sequence::const_iterator sequence_begin() const;