refactored main a bit
This commit is contained in:
+4
-6
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
//#include "connection-manager.h"
|
||||
//#include "signal-manager.h"
|
||||
#ifdef _WIN32
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
@@ -133,11 +135,8 @@ Vec2D<T> operator*(const Vec2D<T>& left, T scalar){
|
||||
return Vec2D<T>(left.x * scalar, left.y * scalar);
|
||||
};
|
||||
|
||||
// State
|
||||
|
||||
enum States {IDLE, CONFIG};
|
||||
|
||||
struct AppState{
|
||||
// App Settings
|
||||
struct AppSettings{
|
||||
int width;
|
||||
int height;
|
||||
float grid;
|
||||
@@ -145,7 +144,6 @@ struct AppState{
|
||||
float fps;
|
||||
float speed = 16.0f;
|
||||
int gui_selected_midi_out;
|
||||
States state;
|
||||
};
|
||||
|
||||
// MIDI
|
||||
|
||||
Reference in New Issue
Block a user