MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / tabReset

Function tabReset

src/OpenLoco/src/Ui/Windows/MessageWindow.cpp:285–294  ·  view source on GitHub ↗

0x0042A7B9

Source from the content-addressed store, hash-verified

283
284 // 0x0042A7B9
285 static void tabReset(Window& self)
286 {
287 self.minWidth = kMinWindowSize.width;
288 self.minHeight = kMinWindowSize.height;
289 self.maxWidth = kMaxWindowSize.width;
290 self.maxHeight = kMaxWindowSize.height;
291 self.width = kMinWindowSize.width;
292 self.height = kMinWindowSize.height;
293 self.rowHover = -1;
294 }
295
296 static constexpr WindowEventList kEvents = {
297 .onMouseUp = onMouseUp,

Callers 1

switchTabFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected