]> git.lyx.org Git - lyx.git/blobdiff - src/FontEnums.h
Group most verbose dbg output into more intuitive categories.
[lyx.git] / src / FontEnums.h
index d06c5d6fa93bfc5b12eb31242a52d1b95cda60d1..0fcbd9d518321e4068b24d62cb0889832e6a2c89 100644 (file)
@@ -45,10 +45,14 @@ enum FontFamily {
        ///
        MSB_FAMILY,
        ///
+       DS_FAMILY,
+       ///
        EUFRAK_FAMILY,
        ///
        RSFS_FAMILY,
        ///
+       STMARY_FAMILY,
+       ///
        WASY_FAMILY,
        ///
        ESINT_FAMILY,
@@ -95,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
@@ -140,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