Skip to content

Commit d365488

Browse files
committed
some cleaning
1 parent b7dc2f8 commit d365488

File tree

1 file changed

+39
-46
lines changed

1 file changed

+39
-46
lines changed

src/ofxVisualProgramming.h

Lines changed: 39 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ class ofxVisualProgramming : public pdsp::Wrapper {
115115
void activateDSP();
116116
void deactivateDSP();
117117

118-
void setIsHoverMenu(bool ish){ isHoverMenu = ish; }
119-
void setIsHoverLogger(bool isl){ isHoverLogger = isl; }
120-
void setIsHoverCodeEditor(bool isl){ isHoverCodeEditor = isl; }
121-
122118
// PATCH CANVAS
123119
ofxInfiniteCanvas canvas;
124120
ofEasyCam easyCam;
@@ -129,13 +125,13 @@ class ofxVisualProgramming : public pdsp::Wrapper {
129125

130126

131127
// PATCH DRAWING RESOURCES
132-
ofxFontStash *font;
133-
int fontSize;
134-
bool isRetina;
135-
int scaleFactor;
128+
ofxFontStash *font;
129+
int fontSize;
130+
bool isRetina;
131+
int scaleFactor;
136132

137133
// PUGG external plugins objects
138-
pugg::Kernel plugins_kernel;
134+
pugg::Kernel plugins_kernel;
139135

140136
// PATCH OBJECTS
141137
map<int,shared_ptr<PatchObject>> patchObjects;
@@ -154,51 +150,48 @@ class ofxVisualProgramming : public pdsp::Wrapper {
154150
bool clearingObjectsMap;
155151

156152
// LOAD/SAVE
157-
string currentPatchFile;
158-
string currentPatchFolderPath;
159-
string tempPatchFile;
160-
int output_width;
161-
int output_height;
162-
string alphabet;
163-
int newFileCounter;
153+
string currentPatchFile;
154+
string currentPatchFolderPath;
155+
string tempPatchFile;
156+
int output_width;
157+
int output_height;
158+
string alphabet;
159+
int newFileCounter;
164160

165161
// SYSTEM
166-
shared_ptr<ofAppGLFWWindow> mainWindow;
167-
bool profilerActive;
168-
bool inspectorActive;
169-
bool inited;
162+
shared_ptr<ofAppGLFWWindow> mainWindow;
163+
bool profilerActive;
164+
bool inspectorActive;
165+
bool inited;
170166

171167
// GUI
172-
string inspectorTitle;
173-
float lastInspectorWidth;
174-
bool isHoverMenu;
175-
bool isHoverLogger;
176-
bool isHoverCodeEditor;
168+
string inspectorTitle;
169+
float lastInspectorWidth;
177170

178171
// LIVE PATCHING
179-
int livePatchingObiID;
172+
int livePatchingObiID;
180173

181174
// Sound Stream
182-
pdsp::Engine *engine;
183-
ofSoundBuffer inputBuffer;
184-
ofSoundBuffer emptyBuffer;
185-
186-
vector<ofSoundDevice> audioDevices;
187-
vector<string> audioDevicesStringIN;
188-
vector<string> audioDevicesStringOUT;
189-
vector<int> audioDevicesID_IN;
190-
vector<int> audioDevicesID_OUT;
191-
ofSoundStream soundStreamIN;
192-
ofSoundBuffer lastInputBuffer;
193-
ofPolyline inputBufferWaveform;
194-
int audioINDev;
195-
int audioOUTDev;
196-
int audioGUIINIndex;
197-
int audioGUIOUTIndex;
198-
int audioSampleRate;
199-
int audioBufferSize;
200-
int bpm;
201-
bool dspON;
175+
pdsp::Engine *engine;
176+
ofSoundBuffer inputBuffer;
177+
ofSoundBuffer emptyBuffer;
178+
179+
vector<ofSoundDevice> audioDevices;
180+
vector<string> audioDevicesStringIN;
181+
vector<string> audioDevicesStringOUT;
182+
vector<int> audioDevicesID_IN;
183+
vector<int> audioDevicesID_OUT;
184+
ofSoundStream soundStreamIN;
185+
ofSoundBuffer lastInputBuffer;
186+
ofPolyline inputBufferWaveform;
187+
int audioINDev;
188+
int audioOUTDev;
189+
int audioGUIINIndex;
190+
int audioGUIOUTIndex;
191+
int audioSampleRate;
192+
int audioBufferSize;
193+
int bpm;
194+
bool dspON;
202195

203196
// MEMORY
204197
uint64_t resetTime;

0 commit comments

Comments
 (0)