mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16204) -Codechange: Completing widget numbers of news settings window.
This commit is contained in:
parent
785c4dad07
commit
8214a1746c
@ -817,10 +817,17 @@ void ShowMessageHistory()
|
||||
|
||||
|
||||
/** News settings window widget offset constants */
|
||||
enum {
|
||||
WIDGET_NEWSOPT_DROP_SUMMARY = 4, ///< Dropdown that adjusts at once the level for all settings
|
||||
WIDGET_NEWSOPT_SOUNDTICKER = 6, ///< Button activating sound on events
|
||||
WIDGET_NEWSOPT_START_OPTION = 8, ///< First widget that is part of a group [<] .. [.]
|
||||
enum NewsSettingsWidgets {
|
||||
WIDGET_NEWSOPT_CLOSEBOX, ///< Close box.
|
||||
WIDGET_NEWSOPT_CAPTION, ///< Caption.
|
||||
WIDGET_NEWSOPT_BACKGROUND, ///< Background widget.
|
||||
WIDGET_NEWSOPT_LABEL, ///< Top label.
|
||||
WIDGET_NEWSOPT_DROP_SUMMARY, ///< Dropdown that adjusts at once the level for all settings.
|
||||
WIDGET_NEWSOPT_LABEL_SUMMARY, ///< Label of the summary drop down.
|
||||
WIDGET_NEWSOPT_SOUNDTICKER, ///< Button for (de)activating sound on events.
|
||||
WIDGET_NEWSOPT_SOUNDTICKER_LABEL, ///< Label of the soundticker button,
|
||||
|
||||
WIDGET_NEWSOPT_START_OPTION, ///< First widget that is part of a group [<] .. [.]
|
||||
};
|
||||
|
||||
static const StringID _message_opt[] = {STR_OFF, STR_SUMMARY, STR_FULL, INVALID_STRING_ID};
|
||||
|
Loading…
Reference in New Issue
Block a user