Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726)

This commit is contained in:
Pavel Stupnikov
2018-04-17 20:41:31 +03:00
committed by PeterN
parent 4d6a5fbec4
commit 9175c349da
4 changed files with 13 additions and 11 deletions

View File

@@ -26,9 +26,13 @@ enum StringControlCode {
/* This must be the first entry. It's encoded in strings that are saved. */
SCC_ENCODED = SCC_CONTROL_START,
/* Display control codes */
SCC_TINYFONT, ///< Switch to small font
SCC_BIGFONT, ///< Switch to large font
/* Font selection codes, must be in same order as FontSize enum */
SCC_FIRST_FONT,
SCC_NORMALFONT = SCC_FIRST_FONT, ///< Switch to normal size font
SCC_TINYFONT, ///< Switch to small font
SCC_BIGFONT, ///< Switch to large font
SCC_MONOFONT, ///< Switch to monospaced font
SCC_LAST_FONT = SCC_MONOFONT,
/* Formatting control codes */
SCC_REVISION,