Code Monkey home page Code Monkey logo

ofxcontrolpanel's People

Contributors

nickhardeman avatar oftheo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofxcontrolpanel's Issues

glDisable(GL_DEPTH_TEST);

if depth testing is enabled, nothing draws correctly. ofxControlPanel should detect the state, disable, and restore when done drawing.

Detect which slider was last selected/used

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!

compile errors

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

guiBaseObject destructor not declared virtual

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

size matters?

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?

stats module

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

Suggestion: saving/loading callback

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!

tooltips

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 :)

can't compile example on OF-0.9 help

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'

compile errors -

Not sure what's going on.

No viable conversion from 'ofParameterGroup' to 'ofParameterGroup'.

screen shot 2015-09-25 at 2 07 30 am

linux complie fix

`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 @@

These are the names of the folders in OF_ROOT/addons

ofxOpenCv
+ofxControlPanel
+ofxXmlSettings
\ No newline at end of file
`

enableAutoEvents or addEventListeners

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();
}
...

initial event load

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();

Suggestion: addMultiImageToggle

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.

maybe a 10.6 sdk issue

/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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.