Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / rive-cpp / src / bones / root_bone.cpp
1 #include "rive/bones/root_bone.hpp"
2
3 using namespace rive;
4
5 StatusCode RootBone::onAddedClean(CoreContext* context) {
6     // Intentionally doesn't call Super(Bone)::onAddedClean and goes straight to
7     // the super.super TransformComponent as that assumes the parent must be a
8     // Bone while a root bone is a special case Bone that can be parented to
9     // other TransformComponents.
10     return TransformComponent::onAddedClean(context);
11 }
12
13 void RootBone::xChanged() { markTransformDirty(); }
14 void RootBone::yChanged() { markTransformDirty(); }