Browse Source

Position image source selector

master
Krisjanis Rijnieks 11 years ago
parent
commit
39c5be41e0
  1. 1
      src/ofxSourcesEditor.cpp
  2. 3
      src/ofxSourcesEditor.h

1
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);
}

3
src/ofxSourcesEditor.h

@ -35,9 +35,6 @@ private:
void guiEvent(string &imageName);
vector<ofImage*> images;
vector<string> imageNames;
//ofxPanel imgSrcPanel;
//void onSourceSelect(bool& value);
};
#endif
Loading…
Cancel
Save