MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / resized

Method resized

Source/Panels/SpectrogramPanel/FreqDividerGroup.cpp:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void FreqDividerGroup::resized()
66{
67 margin = getHeight() / 20.0f;
68 size = getWidth() / 100.0f * 15;
69 width = verticalLine.getWidth() / 2.0f;
70 verticalLine.setBounds(0, 0, getWidth() / 10.0f, getHeight());
71 freqTextLabel.setBounds(width + margin * 2, getHeight() / 5 + margin, size * 5, size * 2);
72}
73
74void FreqDividerGroup::setDeleteState(bool deleteState)
75{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected