diff options
Diffstat (limited to 'src/news_type.h')
-rw-r--r-- | src/news_type.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/news_type.h b/src/news_type.h index 0d7466cef..ea3cb7011 100644 --- a/src/news_type.h +++ b/src/news_type.h @@ -17,6 +17,19 @@ #include "strings_type.h" #include "sound_type.h" +/** Constants in the message options window. */ +enum MessageOptionsSpace { + MOS_WIDG_PER_SETTING = 4, ///< Number of widgets needed for each news category, starting at widget #WID_MO_START_OPTION. + + MOS_LEFT_EDGE = 6, ///< Number of pixels between left edge of the window and the options buttons column. + MOS_COLUMN_SPACING = 4, ///< Number of pixels between the buttons and the description columns. + MOS_RIGHT_EDGE = 6, ///< Number of pixels between right edge of the window and the options descriptions column. + MOS_BUTTON_SPACE = 10, ///< Additional space in the button with the option value (for better looks). + + MOS_ABOVE_GLOBAL_SETTINGS = 6, ///< Number of vertical pixels between the categories and the global options. + MOS_BOTTOM_EDGE = 6, ///< Number of pixels between bottom edge of the window and bottom of the global options. +}; + /** * Type of news. */ |