Skip to content

Commit ef116cc

Browse files
committed
added subpatch navigation func structure ( to implement yet )
1 parent 4710a0c commit ef116cc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@ void ofxVisualProgramming::draw(){
344344
ofPopStyle();
345345
ofPopView();
346346

347+
// Draw Subpatch Navigation
348+
drawSubpatchNavigation();
349+
347350
// Graphical Context
348351
canvas.update();
349352

@@ -397,6 +400,13 @@ void ofxVisualProgramming::drawLivePatchingSession(){
397400
}
398401
}
399402

403+
//--------------------------------------------------------------
404+
void ofxVisualProgramming::drawSubpatchNavigation(){
405+
if(currentSubpatch != "root"){
406+
// TODO
407+
}
408+
}
409+
400410
//--------------------------------------------------------------
401411
void ofxVisualProgramming::resetTempFolder(){
402412
ofDirectory dir;

src/ofxVisualProgramming.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class ofxVisualProgramming : public pdsp::Wrapper {
6464
void draw();
6565
void drawInspector();
6666
void drawLivePatchingSession();
67+
void drawSubpatchNavigation();
6768
void resetTempFolder();
6869
void cleanPatchDataFolder();
6970
void exit();

0 commit comments

Comments
 (0)