oftheo / ofxcontrolpanel Goto Github PK
View Code? Open in Web Editor NEWA flexible control panel based gui addon for openFrameworks
A flexible control panel based gui addon for openFrameworks
when you add a panel like..
gui.addPanel("Vision", 3, false);
I think the current panel should be the one that you just added... thoughts
Not sure if its an issue, I've just noticed when I use ofSetBackgroundAuto(false); with ofxControlPanel I can't draw anything on screen.
if depth testing is enabled, nothing draws correctly. ofxControlPanel should detect the state, disable, and restore when done drawing.
Hi!
First of all thanks a lot for this awesome addon. I wish to be able to click a slider and then automatically through a hotkey assign its parameter to another automatically varying value (sound volume, bpm, etc). Typically looking for a method like gui.getLastUsedSlider() returning the ofParameter in question. Is there currently a way to do it this way or another way? Thank you so much in advance for your answer!
To get this to compile with the up to date linux64 Makefile, I had to remove main.cpp, testApp.cpp and testApp.h from the src directory.
I also had to add to guiTypePanel.h:
# include
Hello,
looking for leaks with valgrind I've found that guiBaseObject doesn't declare a virtual dtor, so the dtor of ofxControlPanel doesn't deallocate properly the objects of the guiObjects vector, etc etc... right now they are all leaking I guess!
Alessandro
because of the way the 'save' and 'restore' buttons are drawn relatively to the pannel's name sometimes these buttons overlap the minimize button - any hack or solution?
table of sorts with variables names and their values on the right ( with auto tabbing )
ie:
force x: 200.0
force y: -50.0
no. of people: 20
also maybe a couple of graph like elements - lines charts, etc
Would be nice if you could add some kind of unique callback when saving/loading.
I simpy added this at the end of ofxControlPanel::loadSettings :
guiCallbackData hackcallback;
hackcallback.addValueS("LOADING_UNIQUE_CALLBACK_HACK");
ofNotifyEvent(guiEvent, hackcallback, this);
and it got me the functionality I needed. Great code by the way!
i'm in that stage where i'm delivering an app/working out the best settings for an app and sending xml settings files back and forth.
it could be really nice to have mouseover tooltips for controls to facilitate this kind of thing. i suppose that would start to turn ofxControlPanel into a more full-fledged GUI, which maybe isn't the right direction... but it seems like a potentially useful feature :)
Check dependencies
error: There is no SDK with the name or path '/Volumes/GhOsT/Creative Coding/OF/of_v0.9.0_osx_release/apps/myApps/example/macosx10.8'
It would be good to know if saving and loading worked ...
Had compile errors Use of undeclared identifiers for eg ofDrawRectangle, ofDrawTriangle...
`difu /example/addons.make b/example/addons.make
--- a/example/addons.make 2016-05-27 14:30:02.000000000 +0000
+++ b/example/addons.make 2016-05-27 14:16:07.000000000 +0000
@@ -2,3 +2,5 @@
ofxOpenCv
+ofxControlPanel
+ofxXmlSettings
\ No newline at end of file
`
boundingRect is not being set by the gui
Automatically add event listeners for draw, update, mouse and key events. For example:
void addEventListeners() {
ofAddListener(ofEvents.update, this, &ofxAutoControlPanel::update);
...
}
void update(ofEventArgs& event) {
ofxControlPanel::update();
}
...
When you first set up the gui I think that all object should get called. The problem is if you are setting all your values in the event call - then initially nothing is set.
You could just set it in the setup function but it would be nice if there were something like gui.notifyAllEvents();
lots of warnings/errors "did you mean ofSetHexColor" from four or five places in the code.
I changed it to use isLoaded() and it worked fine.
It would be amazing to have a possibility of a multiple toggle with images instead of labels. useful for example for dir listing a series of videos, generating thumbnails and having an interface to click and switch.
/Users/todd/OpenFrameworks/OF/061/apps/Computer Vision/Watershed/../../../../other addons/ofxControlPanel/simpleColor.h:13:0 /Users/todd/OpenFrameworks/OF/061/apps/Computer Vision/Watershed/../../../../other addons/ofxControlPanel/simpleColor.h:13: error: extra qualification 'simpleColor::' on member 'simpleColor'
in simplecolor.h I need to change simpleColor::simpleColor to simpleColor
not sure if I am using it wrong, but it appears broken. Just tried to use it on a few values and it's always returning true.
addButtonSlider doesn't seem to use the same font as the others elements when using loadFont
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.