MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / StatusBarWindow

Method StatusBarWindow

src/statusbar_gui.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 static constexpr auto REMINDER_START = std::chrono::milliseconds(1350); ///< time in ms for reminder notification (red dot on the right) to stay
63
64 StatusBarWindow(WindowDesc &desc) : Window(desc)
65 {
66 this->InitNested();
67 this->flags.Reset(WindowFlag::WhiteBorder);
68 PositionStatusbar(this);
69 }
70
71 Point OnInitialPosition([[maybe_unused]] int16_t sm_width, [[maybe_unused]] int16_t sm_height, [[maybe_unused]] int window_number) override
72 {

Callers

nothing calls this directly

Calls 3

PositionStatusbarFunction · 0.85
InitNestedMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected