feat: add oscillator button

This commit is contained in:
2023-08-08 23:02:25 +04:00
parent 5c485047fb
commit ec01773ab1
4 changed files with 32 additions and 19 deletions

View File

@@ -8,17 +8,18 @@ class Renderer
{
private:
void DrawMainPanel(const Rectangle& panel_bounds);
void DrawAddOscillatorButton(Synth & synth, SynthGuiState & synthGui, Rectangle panel_bounds);
void DrawOscillatorsPanels(const std::vector<Oscillator*>& oscillators,
const std::vector<OscillatorGuiState*>& guiOscillators,
const Rectangle& panel_bounds);
void DrawOscillatorsShapeInputs(const std::vector<Oscillator*>& oscillators,
const std::vector<OscillatorGuiState*>& guiOscillators);
void DrawUi(Synth & synth, const SynthGuiState & synthGui);
void DrawSignal(Synth & synth, const SynthGuiState & synthGui);
void DrawUi(Synth & synth, SynthGuiState & synthGui);
void DrawSignal(Synth & synth, SynthGuiState & synthGui);
public:
Renderer(/* args */);
~Renderer();
void Draw(Synth& synth, const SynthGuiState & synthGui);
void Draw(Synth& synth, SynthGuiState & synthGui);
};