X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvspace.h;h=b358b40621b486b7e94ca6077c973dd59de7a072;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=6e0bf5ff8dbf675ceb26baf1996c4cfbf4e2195f;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/vspace.h b/src/vspace.h index 6e0bf5ff8d..b358b40621 100644 --- a/src/vspace.h +++ b/src/vspace.h @@ -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