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

Method OnPaint

src/script/script_gui.cpp:797–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795 }
796
797 void OnPaint() override
798 {
799 this->SelectValidDebugCompany();
800 this->UpdateLogScroll();
801
802 /* Draw standard stuff */
803 this->DrawWidgets();
804 }
805
806 std::string GetWidgetString(WidgetID widget, StringID stringid) const override
807 {

Callers

nothing calls this directly

Calls 3

UpdateLogScrollMethod · 0.95
DrawWidgetsMethod · 0.80

Tested by

no test coverage detected