Add animation panel action planner

This commit is contained in:
2026-06-03 16:57:56 +02:00
parent 603bb0c4e7
commit cee5f141a3
8 changed files with 335 additions and 10 deletions

View File

@@ -10,6 +10,7 @@
class Layer;
namespace pp::app {
struct DocumentAnimationPanelState;
struct DocumentAnimationOperationPlan;
}
@@ -73,6 +74,7 @@ class NodePanelAnimation : public Node
float m_playback_timer = 0;
void execute_animation_plan(const pp::app::DocumentAnimationOperationPlan& plan, Layer* layer = nullptr);
[[nodiscard]] pp::app::DocumentAnimationPanelState animation_panel_state() const;
public:
using this_class = NodePanelAnimation;
using parent = Node;