Files
SeeSynth/inc/SynthGuiState.h
2023-08-08 22:07:41 +04:00

16 lines
352 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;
};