X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FFontEnums.h;h=7c55c8cbc28bda012b540431092084b0b11c037f;hb=eea4ef9b6e8c103b8d77fb456214a116c68f58a7;hp=5dd7839508209f0552e673925b33f69178ba9f6c;hpb=f67cf6f4bb3e3d22ac9aebfa22027c3537cbdf61;p=lyx.git diff --git a/src/FontEnums.h b/src/FontEnums.h index 5dd7839508..7c55c8cbc2 100644 --- a/src/FontEnums.h +++ b/src/FontEnums.h @@ -97,35 +97,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 +142,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