Files
SeeSynth/inc/SynthGuiState.h
2023-08-08 23:24:26 +04:00

16 lines
354 B
C++

#pragma once
#include "OscillatorType.h"
#include "raygui.h"
#include <vector>
struct OscillatorGuiState {
float volume;
float freq; // todo: remove or change to pitch shift
OscillatorType waveshape;
bool is_dropdown_open;
Rectangle shape_dropdown_rect;
};
struct SynthGuiState {
std::vector<OscillatorGuiState*> oscillators;
};