Skip to content

Conversation

ldmoser
Copy link

@ldmoser ldmoser commented Aug 26, 2013

This will allow dynamic interfaces to exist, by updating the shown presets based on value changes in other parameters in the same Parameterised object (most likely Ops).
The idea is to make Gaffer support a user hint that forces a given Parameter to be shown as a drop down list control, and then, use the change-value callback mechanism to update the presets and update the current value if not in the new presets.

Lucio Moser added 2 commits August 26, 2013 13:52
This will allow dynamic interfaces to exist, by updating the shown presets based on value changes in other parameters in the same Parameterised object (most likely Ops).
The idea is to make Gaffer support a user hint that forces a given Parameter to be shown as a drop down list control, and then, use the change-value callback mechanism to update the presets and update the current value if not in the new presets.
andrewkaufman added a commit that referenced this pull request Aug 26, 2013
Adding setPresets() to Parameter class.
@andrewkaufman andrewkaufman merged commit 219ffb4 into ImageEngine:master Aug 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants