summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/control_codes.h')
-rw-r--r--src/table/control_codes.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index d6b1ad6f4..ad620197a 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -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,