OpenTTD Source
20241121-master-g67a0fccfad
|
GUI functions related to the news. More...
#include "news_type.h"
Go to the source code of this file.
Functions | |
void | ShowLastNewsMessage () |
Show previous news item. | |
void | ShowMessageHistory () |
Display window with news messages history. | |
bool | HideActiveNewsMessage () |
Close active news message window. More... | |
const NewsContainer & | GetNews () |
Get read-only reference to all news items. More... | |
GUI functions related to the news.
Definition in file news_gui.h.
const NewsContainer& GetNews | ( | ) |
Get read-only reference to all news items.
Definition at line 79 of file news_gui.cpp.
References _news.
Referenced by SurveyRecentNews().
bool HideActiveNewsMessage | ( | ) |
Close active news message window.
Definition at line 1030 of file news_gui.cpp.
References Window::Close(), FindWindowById(), and WC_NEWS_WINDOW.