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

Method OnEditboxChanged

src/osk_gui.cpp:189–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 }
188
189 void OnEditboxChanged(WidgetID widget) override
190 {
191 if (widget == WID_OSK_TEXT) {
192 this->SetWidgetDirty(WID_OSK_TEXT);
193 this->parent->OnEditboxChanged(this->text_btn);
194 this->parent->SetWidgetDirty(this->text_btn);
195 }
196 }
197
198 void OnInvalidateData([[maybe_unused]] int data = 0, [[maybe_unused]] bool gui_scope = true) override
199 {

Callers 1

OnClickMethod · 0.95

Calls 1

SetWidgetDirtyMethod · 0.80

Tested by

no test coverage detected