From 39c5be41e0526ef50b45d2742f701c4f48226c00 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 7 Sep 2014 15:14:12 +0200 Subject: [PATCH] Position image source selector --- src/ofxSourcesEditor.cpp | 1 + src/ofxSourcesEditor.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ofxSourcesEditor.cpp b/src/ofxSourcesEditor.cpp index 0d5e2f5..5b5603c 100644 --- a/src/ofxSourcesEditor.cpp +++ b/src/ofxSourcesEditor.cpp @@ -43,6 +43,7 @@ void ofxSourcesEditor::setup(ofEventArgs& args) } gui->setup("Images", vnames); + gui->setPosition(20, 20); ofAddListener(gui->radioSelectedEvent, this, &ofxSourcesEditor::guiEvent); } diff --git a/src/ofxSourcesEditor.h b/src/ofxSourcesEditor.h index cab567e..33aad38 100644 --- a/src/ofxSourcesEditor.h +++ b/src/ofxSourcesEditor.h @@ -35,9 +35,6 @@ private: void guiEvent(string &imageName); vector images; vector imageNames; - //ofxPanel imgSrcPanel; - - //void onSourceSelect(bool& value); }; #endif \ No newline at end of file