summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/news_type.h')
-rw-r--r--src/news_type.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/news_type.h b/src/news_type.h
index d96e2171a..8ed7f8335 100644
--- a/src/news_type.h
+++ b/src/news_type.h
@@ -77,12 +77,22 @@ enum NewsBankrupcy {
};
/**
+ * News display options
+ */
+enum NewsDisplay {
+ ND_OFF, ///< Only show a reminder in the status bar
+ ND_SUMMARY, ///< Show ticker
+ ND_FULL, ///< Show newspaper
+};
+
+/**
* Per-NewsType data
*/
struct NewsTypeData {
const char *const name; ///< Name
const byte age; ///< Maximum age of news items (in days)
const SoundFx sound; ///< Sound
+ NewsDisplay display; ///< Display mode (off, summary, full)
};
struct NewsItem {