]> git.lyx.org Git - lyx.git/blobdiff - src/vspace.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / vspace.h
index 11fe28079d14a3f7030448053c3c8a36727d2114..f3c8f5072d04d239bcc7646d66bd2370a3cb4b0f 100644 (file)
@@ -173,7 +173,7 @@ extern bool isValidGlueLength(string const & data, LyXGlueLength * result);
 ///  VSpace class
 class VSpace {
 public:
-       ///
+       /// The different kinds of spaces.
        enum vspace_kind {
                ///
                NONE,
@@ -190,39 +190,39 @@ public:
                ///
                LENGTH
        };
-       /// constructors
+       /// Constructor
        VSpace() : 
                kin (NONE), 
                len(0.0, LyXLength::PT),
                 kp (false) {}
-       ///
+       /// Constructor
        explicit
-       VSpace(vspace_kind k) : 
+       VSpace(vspace_kind k) :
                kin (k), 
                len (0.0, LyXLength::PT),
                kp (false) {}
-       ///
+       /// Constructor
        explicit
        VSpace(LyXGlueLength l) :
                kin (LENGTH),
                len (l),
                kp (false) {}
 
-       ///
+       /// Constructor
        explicit
        VSpace(float v, LyXLength::UNIT u) : 
                kin (LENGTH), 
                len (v, u),
                kp (false) {}
 
-       /// this constructor is for reading from a .lyx file
+       /// Constructor for reading from a .lyx file
        explicit
        VSpace(string const & data);
        
-       // access functions
-       vspace_kind kind() const  { return  kin; }
+       /// access functions
+       vspace_kind kind() const { return  kin; }
        ///
-       LyXLength   length() const { return len; }
+       LyXGlueLength   length() const { return len; }
 
        // a flag that switches between \vspace and \vspace*
         bool keep() const      { return kp; }
@@ -241,7 +241,7 @@ public:
        ///
        int inPixels(int default_height, int default_skip) const;
 private:
-       ///
+       /// This VSpace kind
        vspace_kind kin;
        ///
        LyXGlueLength len;