Skip to content

How to define default colors for toggle, bang etc #14

Answered by sebshader
mk-archaeo asked this question in Q&A
Discussion options

You must be logged in to vote

hi @mk-archaeo
There aren't any hooks for these "iemgui" objects. The issue is that people set and save specific color values for these objects when distributing GOP abstractions and patches. So the colors for these objects are set and saved "per-object" in the properties.
The only possible hooks I've been thinking about putting in is for when the objects are created. Then you could define default properties when an object was first created, but not when loading from a file. However this might still be problematic to implement since I'm not sure if it will be possible to tell the difference between when an object is first created and when it is loaded from a patch file.
edit: I might cons…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@sebshader
Comment options

@mk-archaeo
Comment options

Answer selected by sebshader
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sebshader
Comment options

@sebshader
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #5 on April 17, 2022 19:07.