blob: 5efe737494a8e948a14c03c02eb068a7eb262ee5 [file]
#ifndef _RIVE_DRAWABLE_FLAGS_HPP_
#define _RIVE_DRAWABLE_FLAGS_HPP_
#include "rive/enums.hpp"
namespace rive
{
enum class DrawableFlag : unsigned short
{
None = 0,
/// Whether the component should be drawn
Hidden = 1 << 0,
/// Editor only
Locked = 1 << 1,
/// Editor only
Disconnected = 1 << 2,
/// Whether this Component lets hit events pass through to components behind
/// it
Opaque = 1 << 3,
/// Whether the computed world bounds for a shape need to be recalculated
/// Using Clean instead of dirty so it doesn't need to be initialized to 1
WorldBoundsClean = 1 << 4,
};
} // namespace rive
#endif