blob: 61b8e86e6f17b8ea61f225a0e382181d82208252 [file] [log] [blame] [edit]
#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,
/// Flag if set to target
ToTarget = 0,
/// Flag if set to source
ToSource = 1 << 0,
};
RIVE_MAKE_ENUM_BITSET(DataBindFlags)
} // namespace rive
#endif