-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data binding #13
Comments
More data binding support is coming. There's been some talk on the forum about integration with ofParameter so I'm thinking about how I want to implement binding consistently across all components to possibly integrate with ofParameter. Good to know that this is of interest to you though as that helps push this towards a priority. |
ofParameter integration would definitely be my recommended option too. Sweet. |
ofParameter is the way to go i think |
c++ 11 lambda callbacks would be wonderful. ofParameter support them a bit. |
v1.1 now has limited support for ofParameter (sliders only). |
I started an approach here at classes to bind ofParameters to combinations ofxDatGui elements. Works well for me, still incomplete. Would definitely be nicer to integrate the ofParameter binding more tightly with datGui. https://github.com/RecoilPerformanceGroup/Stereo2016/blob/master/ofStereo2016/src/ofxDatGuiParameterBindings.hpp An example of how I use them:
|
Data binding and ofParamater support for other input types would be a great addition. I see PR #62 has some bind compatibility for toggle and text fields. I would love to have some more binding in master. |
Is there any reason data binding is limited to sliders? It is super useful and I did a quick implementation for the button as well but if it's in the works I'd rather hold back as I'm not sure I'm following your nullptr implementation very well.
The text was updated successfully, but these errors were encountered: