Skip to content
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

Guidance on defining JBOX Flags for UI Objects? #212

Open
jkaplan55 opened this issue Nov 22, 2023 · 0 comments
Open

Guidance on defining JBOX Flags for UI Objects? #212

jkaplan55 opened this issue Nov 22, 2023 · 0 comments
Labels

Comments

@jkaplan55
Copy link

When creating a UI object in min your object must inherit from the ui_operator class defined in c74_min_operator_ui.h.

It appears that the JBOX flags to describe the objects capabilities are hardcoded into the constructor for the ui_operator class. This means there is no way to modify the flags without tampering with c74_min_operator_ui.h directly. In experimenting with this, I found most of the flags behave as expected when enabled. What is most appropriate way to to enable JBOX flags from within a Min Object?

Also, while experimenting with the different flags I found that JBOX_TEXTFIELD does not actually work. The compiler fails to build the object. I am not aware of any other way to build a TEXTFIELD object with Min.

Could we get some clarification on how Min users should set JBOX flags for their objects and which of these flags are supported? Thank you!

@jkaplan55 jkaplan55 added the bug label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant