MCPcopy Create free account
hub / github.com/WallBreaker2/op / IsValidUniformSize

Function IsValidUniformSize

libop/window/WindowLayout.cpp:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98bool IsValidUniformSize(const Options &options) {
99 if (options.size_mode != SizeMode::Uniform)
100 return true;
101
102 return options.window_width >= kMinWindowWidth && options.window_height >= kMinWindowHeight;
103}
104
105bool MatchesTargetSize(HWND hwnd, const Rect &rect) {
106 int width = 0;

Callers 1

LayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected