Major refactoring: State, mouse and more...
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
#define VS_COLOR_BROWN (Color){84, 75, 61, 255}
|
||||
#define VS_COLOR_SUN (Color){214, 170, 21, 255}
|
||||
|
||||
#include "vmath.h"
|
||||
|
||||
#include "nlohmann/json.hpp"
|
||||
using json = nlohmann::json;
|
||||
|
||||
@@ -33,19 +31,6 @@ namespace VISEQ::GRAPH::NODES {
|
||||
enum Distribution {GEOMETRIC, ROUNDROBIN, RANDOM};
|
||||
}
|
||||
|
||||
namespace VISEQ::APP{
|
||||
struct AppSettings{
|
||||
int mode = 0;
|
||||
int width;
|
||||
int height;
|
||||
float grid;
|
||||
float bpm;
|
||||
float fps;
|
||||
float speed = 16.0f;
|
||||
int gui_selected_midi_out;
|
||||
};
|
||||
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(AppSettings, mode, width, height, grid, bpm, fps, speed, gui_selected_midi_out)
|
||||
}
|
||||
|
||||
namespace VISEQ::GRAPH{
|
||||
enum GraphItemType {NODE, EDGE};
|
||||
|
||||
Reference in New Issue
Block a user