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

Method OnClick

src/highscore_gui.cpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 void OnClick([[maybe_unused]] Point pt, [[maybe_unused]] WidgetID widget, [[maybe_unused]] int click_count) override
78 {
79 this->Close();
80 }
81
82 EventState OnKeyPress([[maybe_unused]] char32_t key, uint16_t keycode) override
83 {

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected