OpenTTD Source 20241224-master-gf74b0cf984
|
The GUI for the bottom status bar. More...
#include "stdafx.h"
#include "core/backup_type.hpp"
#include "gfx_func.h"
#include "news_func.h"
#include "company_func.h"
#include "string_func.h"
#include "strings_func.h"
#include "company_base.h"
#include "tilehighlight_func.h"
#include "news_gui.h"
#include "company_gui.h"
#include "window_gui.h"
#include "saveload/saveload.h"
#include "window_func.h"
#include "statusbar_gui.h"
#include "toolbar_gui.h"
#include "core/geometry_func.hpp"
#include "zoom_func.h"
#include "timer/timer.h"
#include "timer/timer_game_calendar.h"
#include "timer/timer_window.h"
#include "widgets/statusbar_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
#include "safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | StatusBarWindow |
Functions | |
static bool | DrawScrollingStatusText (const NewsItem *ni, int scroll_pos, int left, int right, int top, int bottom) |
bool | IsNewsTickerShown () |
Checks whether the news ticker is currently being used. | |
void | ShowStatusBar () |
Show our status bar. | |
Variables | |
static constexpr NWidgetPart | _nested_main_status_widgets [] |
static WindowDesc | _main_status_desc (WDP_MANUAL, nullptr, 0, 0, WC_STATUS_BAR, WC_NONE, WDF_NO_FOCUS|WDF_NO_CLOSE, _nested_main_status_widgets) |
The GUI for the bottom status bar.
Definition in file statusbar_gui.cpp.
|
static |
Definition at line 39 of file statusbar_gui.cpp.
bool IsNewsTickerShown | ( | ) |
Checks whether the news ticker is currently being used.
Definition at line 241 of file statusbar_gui.cpp.
References FindWindowById(), StatusBarWindow::TICKER_STOP, and WC_STATUS_BAR.
Referenced by ReadyForNextTickerItem().
void ShowStatusBar | ( | ) |
Show our status bar.
Definition at line 250 of file statusbar_gui.cpp.
Referenced by ShowVitalWindows().
|
staticconstexpr |
Definition at line 223 of file statusbar_gui.cpp.