#pragma once #include #include "../../../helpers/memory/Memory.hpp" #include namespace Config { class CAnimationTreeController { public: CAnimationTreeController(); const std::unordered_map>& getAnimationConfig(); SP getAnimationPropertyConfig(const std::string&); // void reset(); // void setConfigForNode(const std::string& name, bool enabled, float speed, const std::string& bezier, const std::string& style = ""); bool nodeExists(const std::string& name); private: Hyprutils::Animation::CAnimationConfigTree m_animationTree; }; UP& animationTree(); };