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

Method ErrmsgWindow

src/error_gui.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109public:
110 ErrmsgWindow(const ErrorMessageData &data) :
111 Window(data.HasFace() ? _errmsg_face_desc : _errmsg_desc),
112 ErrorMessageData(data)
113 {
114 this->InitNested();
115 }
116
117 void UpdateWidgetSize(WidgetID widget, Dimension &size, [[maybe_unused]] const Dimension &padding, [[maybe_unused]] Dimension &fill, [[maybe_unused]] Dimension &resize) override
118 {

Callers

nothing calls this directly

Calls 2

HasFaceMethod · 0.80
InitNestedMethod · 0.80

Tested by

no test coverage detected