]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfont.h
fix compilation pb ; update eu.po
[lyx.git] / src / lyxfont.h
index 906115a887fba693f354de8eb3d49d83e2d2b2bd..86df589be609d14678af1b5925e69c3cae8a555a 100644 (file)
 
 #include "LString.h"
 #include "LColor.h"
+#include "language.h"
 
 class LyXLex;
 class BufferParams;
-class Language;
+
 
 ///
 class LyXFont {
@@ -363,6 +364,33 @@ LyXFont::FONT_SHAPE LyXFont::shape() const
 }
 
 
+inline
+LyXFont::LyXFont()
+       : bits(sane), lang(default_language)
+{}
+
+
+inline
+LyXFont::FONT_FAMILY LyXFont::family() const 
+{
+       return bits.family;
+}
+
+
+inline
+LyXFont::FONT_SERIES LyXFont::series() const
+{
+       return bits.series;
+}
+
+
+inline
+LyXFont::FONT_SIZE LyXFont::size() const
+{
+       return bits.size;
+}
+
+
 inline
 LyXFont::FONT_MISC_STATE LyXFont::emph() const
 {
@@ -370,6 +398,13 @@ LyXFont::FONT_MISC_STATE LyXFont::emph() const
 }
 
 
+inline
+LyXFont::FONT_MISC_STATE LyXFont::noun() const
+{
+       return bits.noun;
+}
+
+
 ///
 std::ostream & operator<<(std::ostream &, LyXFont::FONT_MISC_STATE);