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

Method canResize

src/OpenLoco/src/Ui/Window.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 bool Window::canResize()
42 {
43 return this->hasFlags(WindowFlags::resizable) && (this->minWidth != this->maxWidth || this->minHeight != this->maxHeight);
44 }
45
46 void Window::capSize(int32_t newMinWidth, int32_t newMinHeight, int32_t newMaxWidth, int32_t newMaxHeight)
47 {

Callers 1

stateNormalLeftFunction · 0.80

Calls 1

hasFlagsMethod · 0.95

Tested by

no test coverage detected