There is a new enum type, eTimeMarkerFlags, that holds all the
possible marker flag values.
For back compatibility, the value of TIME_MARKER_FLAG_SELECTED matches
the global flag SELECTED.
Differential D15695
Cleanup: TimeMarker flags now have their own enum Authored by Colin Basnett (cmbasnett) on Aug 15 2022, 7:32 PM. Tags None Subscribers None
Details There is a new enum type, eTimeMarkerFlags, that holds all the For back compatibility, the value of TIME_MARKER_FLAG_SELECTED matches
Diff Detail
Event TimelineComment Actions Prefer to keep SELECT, as this convention is typical for selectable elements in DNA, just note in the enum definition that (1 << 0) is reserved for SELECT. It looks like TIME_MARKER_FLAG_ACTIVE is never set. As far as I can tell it's an error that marker_get_icon_id even checks it (perhaps it made sense when added, would need to check history, nevertheless, it's not set now), it can be removed as part of a separate patch.
Comment Actions *Edit* noticed this is operating on a copy of the markers, using a flag in this case seems OK, .
| ||||||||||||||||