MCPcopy Create free account
hub / github.com/audacity/audacity / ViewportSize

Method ViewportSize

src/ProjectWindow.cpp:455–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453 ~Adapter() override = default;
454
455 std::pair<int, int> ViewportSize() const override
456 { return IsWindowValid(mwWindow) ? mwWindow->ViewportSize() : std::pair{ 1, 1 }; }
457
458 unsigned MinimumTrackHeight() override
459 { return IsWindowValid(mwWindow) ? mwWindow->MinimumTrackHeight() : 0; }

Callers

nothing calls this directly

Calls 2

IsWindowValidFunction · 0.85
ViewportSizeMethod · 0.45

Tested by

no test coverage detected