-ostream & operator<<(ostream &, LyXFont::FONT_MISC_STATE);
-
-inline LyXFont::LyXFont()
-{
- bits = sane;
-}
-
-
-inline LyXFont::LyXFont(LyXFont const & x)
-{
- bits = x.bits;
-}
-
-
-inline LyXFont::LyXFont(LyXFont::FONT_INIT1)
-{
- bits = inherit;
-}
-
-
-inline LyXFont::LyXFont(LyXFont::FONT_INIT2)
-{
- bits = ignore;
-}
-
-
-inline LyXFont::LyXFont(LyXFont::FONT_INIT3)
-{
- bits = sane;
-}
-
-
-inline LyXFont & LyXFont::operator=(LyXFont const & x)
-{
- bits = x.bits;
- return *this;
-}
-
-
- // You don't have to understand the stuff below :-)
- // It works, and it's bloody fast. (Asger)
-inline LyXFont::FONT_FAMILY LyXFont::family() const
-{
- return LyXFont::FONT_FAMILY((bits >> Fam_Pos) & Fam_Mask);
-}
-
-
-inline LyXFont::FONT_SERIES LyXFont::series() const
-{
- return LyXFont::FONT_SERIES((bits >> Ser_Pos) & Ser_Mask);
-}
-
-
-inline LyXFont::FONT_SHAPE LyXFont::shape() const
-{
- return LyXFont::FONT_SHAPE((bits >> Sha_Pos) & Sha_Mask);
-}
-