| 183 | } |
| 184 | |
| 185 | void OnClick([[maybe_unused]] Point pt, WidgetID widget, [[maybe_unused]] int click_count) override |
| 186 | { |
| 187 | switch (widget) { |
| 188 | case WID_S_MIDDLE: ShowLastNewsMessage(); break; |
| 189 | case WID_S_RIGHT: if (_local_company != COMPANY_SPECTATOR) ShowCompanyFinances(_local_company); break; |
| 190 | default: ResetObjectToPlace(); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | /** Move information on the ticker slowly from one side to the other. */ |
| 195 | const IntervalTimer<TimerWindow> ticker_scroll_interval = {std::chrono::milliseconds(15), [this](uint count) { |
nothing calls this directly
no test coverage detected