OpenTTD Source: src/news_gui.h File Reference

OpenTTD Source 14.1

Functions | Variables
news_gui.h File Reference
`#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...

## Variables
NewsItem * | _latest_news
| tail of news items queue

## Detailed Description

GUI functions related to the news.

Definition in file news_gui.h.

## Function Documentation

## ◆ HideActiveNewsMessage()

bool HideActiveNewsMessage | ( |  | ) |

Close active news message window.

Returns
  true if a window was closed.

Definition at line 1046 of file news_gui.cpp.

References Window::Close(), FindWindowById(), and WC_NEWS_WINDOW.