30 KeyStatus():_in_reachable_object(false), _in_selected_object(false), _in_hovered_object(false), _selected(false) {}
34 return _in_reachable_object == other.in_reachable_object() && _in_selected_object == other.in_selected_object() && _in_hovered_object == other.in_hovered_object() && _selected == other.selected();
38 return _in_reachable_object != other.in_reachable_object() || _in_selected_object != other.in_selected_object() || _in_hovered_object != other.in_hovered_object() || _selected != other.selected();
52 bool _in_reachable_object;
53 bool _in_selected_object;
54 bool _in_hovered_object;
63 KeySet(std::map<float, KeyStatus> &&s);
66 const std::map<float, KeyStatus>& keys()
const;
67 std::map<float, KeyStatus>& keys();
77 KeySet(std::shared_ptr<Impl> impl) { _impl=impl; }
KeyStatus()
Definition: KeySet.h:30
A set of keyframes.
Definition: KeySet.h:23
static const KeySet default_value
The default value.
Definition: KeySet.h:72
void set_in_reachable_object(bool in_reachable_object)
Definition: KeySet.h:41
bool operator==(KeyStatus other) const noexcept
Definition: KeySet.h:32
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
bool in_reachable_object() const
Definition: KeySet.h:46
bool in_hovered_object() const
Definition: KeySet.h:48
bool selected() const
Definition: KeySet.h:49
void set_in_hovered_object(bool in_hovered_object)
Definition: KeySet.h:43
#define MAQUINA_EXPORT
Definition: Export.h:31
void set_selected(bool selected)
Definition: KeySet.h:44
bool in_selected_object() const
Definition: KeySet.h:47
bool operator!=(KeyStatus other) const noexcept
Definition: KeySet.h:36
Status of a Key, being part of a selected, hovered object or selected by itself.
Definition: KeySet.h:27
void set_in_selected_object(bool in_selected_object)
Definition: KeySet.h:42
Base class of all Rumba values.
Definition: Value.h:34