/* * Header library for gui functions */ #ifndef SYNTH_GUI_H_ #define SYNTH_GUI_H_ #include "control.h" #include void frequencyToColor(float frequency, int *red, int *green, int *blue); float generic_vbar(float val, float def, float min, float max, int x, int y, int width, int height); float generic_hbar(float val, float def, float min, float max, int x, int y, int width, int height); void draw_cc_circle(cc_t * cc, int x, int y, int width, int height); void draw_cc_hbar(cc_t * cc, int x, int y, int width, int height); void draw_cc_vbar(cc_t * cc, int x, int y, int width, int height); int gui_string_spinner(Rectangle rect, char * text, int * index); #endif // SYNTH_GUI_H_ #ifdef SYNTH_GUI_IMPLEMENTATION #endif // SYNTH_GUI_IMPLEMENTATION