X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontEnums.h;h=7c55c8cbc28bda012b540431092084b0b11c037f;hb=b5722962fb0393299e02df0b146522770e98aef6;hp=5b98604c9dd0b1a37210ef424f8282437da2dad9;hpb=72292b98a64c152c3b8862456c49067f74449cef;p=lyx.git diff --git a/src/FontEnums.h b/src/FontEnums.h index 5b98604c9d..7c55c8cbc2 100644 --- a/src/FontEnums.h +++ b/src/FontEnums.h @@ -49,6 +49,8 @@ enum FontFamily { /// RSFS_FAMILY, /// + STMARY_FAMILY, + /// WASY_FAMILY, /// ESINT_FAMILY, @@ -69,7 +71,9 @@ enum FontSeries { /// INHERIT_SERIES, /// - IGNORE_SERIES + IGNORE_SERIES, + /// + NUM_SERIES = INHERIT_SERIES }; /// @@ -85,39 +89,43 @@ enum FontShape { /// INHERIT_SHAPE, /// - IGNORE_SHAPE + IGNORE_SHAPE, + /// + NUM_SHAPE = INHERIT_SHAPE }; /// enum FontSize { /// - FONT_SIZE_TINY = 0, + TINY_SIZE = 0, + /// + SCRIPT_SIZE, /// - FONT_SIZE_SCRIPT, + FOOTNOTE_SIZE, /// - FONT_SIZE_FOOTNOTE, + SMALL_SIZE, /// - FONT_SIZE_SMALL, + NORMAL_SIZE, /// - FONT_SIZE_NORMAL, + LARGE_SIZE, /// - FONT_SIZE_LARGE, + LARGER_SIZE, /// - FONT_SIZE_LARGER, + LARGEST_SIZE, /// - FONT_SIZE_LARGEST, + HUGE_SIZE, /// - FONT_SIZE_HUGE, + HUGER_SIZE, /// - FONT_SIZE_HUGER, + INCREASE_SIZE, /// - FONT_SIZE_INCREASE, + DECREASE_SIZE, /// - FONT_SIZE_DECREASE, + INHERIT_SIZE, /// - FONT_SIZE_INHERIT, + IGNORE_SIZE, /// - FONT_SIZE_IGNORE + NUM_SIZE = INCREASE_SIZE }; /// Used for emph, underbar, noun and latex toggles @@ -134,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