X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontEnums.h;h=0fcbd9d518321e4068b24d62cb0889832e6a2c89;hb=9e645a5cfc9d6c3e66d627002e68384c92c4d0b8;hp=5dd7839508209f0552e673925b33f69178ba9f6c;hpb=f67cf6f4bb3e3d22ac9aebfa22027c3537cbdf61;p=lyx.git diff --git a/src/FontEnums.h b/src/FontEnums.h index 5dd7839508..0fcbd9d518 100644 --- a/src/FontEnums.h +++ b/src/FontEnums.h @@ -45,6 +45,8 @@ enum FontFamily { /// MSB_FAMILY, /// + DS_FAMILY, + /// EUFRAK_FAMILY, /// RSFS_FAMILY, @@ -97,35 +99,35 @@ enum FontShape { /// enum FontSize { /// - FONT_SIZE_TINY = 0, + TINY_SIZE = 0, /// - FONT_SIZE_SCRIPT, + SCRIPT_SIZE, /// - FONT_SIZE_FOOTNOTE, + FOOTNOTE_SIZE, /// - FONT_SIZE_SMALL, + SMALL_SIZE, /// - FONT_SIZE_NORMAL, + NORMAL_SIZE, /// - FONT_SIZE_LARGE, + LARGE_SIZE, /// - FONT_SIZE_LARGER, + LARGER_SIZE, /// - FONT_SIZE_LARGEST, + LARGEST_SIZE, /// - FONT_SIZE_HUGE, + HUGE_SIZE, /// - FONT_SIZE_HUGER, + HUGER_SIZE, /// - FONT_SIZE_INCREASE, + INCREASE_SIZE, /// - FONT_SIZE_DECREASE, + DECREASE_SIZE, /// - FONT_SIZE_INHERIT, + INHERIT_SIZE, /// - FONT_SIZE_IGNORE, + IGNORE_SIZE, /// - NUM_SIZE = FONT_SIZE_INCREASE + NUM_SIZE = INCREASE_SIZE }; /// Used for emph, underbar, noun and latex toggles @@ -142,5 +144,25 @@ enum FontState { FONT_IGNORE }; + +/// Math styles +enum MathStyle { + /// + SCRIPTSCRIPT_STYLE = 0, + /// + SCRIPT_STYLE, + /// + TEXT_STYLE, + /// + DISPLAY_STYLE, + /// + INHERIT_STYLE, + /// + IGNORE_STYLE, + /// the text and display fonts are the same + NUM_STYLE = DISPLAY_STYLE +}; + + } // namespace lyx #endif