Enum directives
From Emergent
See also Comment directives, Member directives, Method directives, Property directives, Object directives
Enum Directives
- #BITS -- indicates that the enum values are or'able bit fields -- gui will show series of check boxes, not a drop-down
Enum Item Directives
These directives are applied to individual Enum items
- #IGNORE -- do not show or use this value (often used for pseudo-enums, ex. default values, aliases for other enums, etc.)
- #NO_BIT -- this is not a bit (typically used for OR'ed enums) -- usable in CSS, but doesn't show in gui (and doesn't save in file as a flag setting)
- #NO_SHOW -- do not show this bit option as a check box or drop-down value
Conditional Show/Edit Directives for Bit types
These are similar to member directives, but apply to individual bits. NOTE: they apply to ALL members using the type, as opposed to the member directives. They are typically only used for flag variables, where you define an enum in the class and then a flag member of that enum type. see Member directives for details on the syntax.
- #CONDEDIT_[ON|OFF]_mmm:vvv,vvv[&&,||mmm:vvv,vvv...] -- conditionally enables/disables a bit
- #CONDSHOW_xxx -- (as above) conditionally shows/hides a bit
