]> git.lyx.org Git - lyx.git/blobdiff - src/vspace.h
more dialog merging
[lyx.git] / src / vspace.h
index 6e0bf5ff8dbf675ceb26baf1996c4cfbf4e2195f..b358b40621b486b7e94ca6077c973dd59de7a072 100644 (file)
@@ -15,6 +15,9 @@
 #include "lyxgluelength.h"
 
 
+namespace lyx {
+
+
 class BufferParams;
 class BufferView;
 
@@ -24,7 +27,6 @@ class VSpace {
 public:
        /// The different kinds of spaces.
        enum vspace_kind {
-               NONE, ///< no added vertical space
                DEFSKIP,
                SMALLSKIP,
                MEDSKIP,
@@ -62,6 +64,8 @@ public:
        std::string const asLyXCommand() const;
        /// the latex representation
        std::string const asLatexCommand(BufferParams const & params) const;
+       /// how it is seen in the LyX window
+       docstring const asGUIName() const;
        /// the size of the space on-screen
        int inPixels(BufferView const & bv) const;
 
@@ -74,4 +78,7 @@ private:
        bool keep_;
 };
 
+
+} // namespace lyx
+
 #endif // VSPACE_H