MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / resized

Method resized

source/PluginEditor.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void PluginEditor::resized() {
76 main_panel_.setBounds(getLocalBounds());
77 if (!base_.getWindowSizeFix()) {
78 last_ui_width_ = std::clamp(getWidth(),
79 static_cast<int>(zlstate::PWindowW::kMinV),
80 static_cast<int>(zlstate::PWindowW::kMaxV));
81 last_ui_height_ = std::clamp(getHeight(),
82 static_cast<int>(zlstate::PWindowH::kMinV),
83 static_cast<int>(zlstate::PWindowH::kMaxV));
84 triggerAsyncUpdate();
85 }
86}
87
88void PluginEditor::visibilityChanged() {
89 updateIsShowing();

Callers 1

PluginEditorMethod · 0.45

Calls 1

getWindowSizeFixMethod · 0.80

Tested by

no test coverage detected