Skip to content

Guidance on defining JBOX Flags for UI Objects? #212

@jkaplan55

Description

@jkaplan55

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions