Files
rive-cpp/include/rive/data_bind_flags.hpp
bodymovin dad43127a8 feature: support name based binding paths (#11007) a55da7f31f
* feature: support name based binding paths

Co-authored-by: hernan <hernan@rive.app>
2025-12-18 00:31:45 +00:00

36 lines
762 B
C++

#ifndef _RIVE_DATA_BIND_FLAGS_HPP_
#define _RIVE_DATA_BIND_FLAGS_HPP_
#include "rive/enum_bitset.hpp"
namespace rive
{
enum class DataBindFlags : unsigned short
{
/// Whether the main binding direction is to source (0) or to target (1)
Direction = 1 << 0,
/// Whether the binding direction is twoWay
TwoWay = 1 << 1,
/// Whether the binding happens only once
Once = 1 << 2,
/// Whether source to target runs before target to source
SourceToTargetRunsFirst = 1 << 3,
/// Whether source to target runs before target to source
NameBased = 1 << 4,
/// Flag if set to target
ToTarget = 0,
/// Flag if set to source
ToSource = 1 << 0,
};
RIVE_MAKE_ENUM_BITSET(DataBindFlags)
} // namespace rive
#endif