Add animation panel service boundary

This commit is contained in:
2026-06-03 14:04:36 +02:00
parent 9c7c89fed4
commit 93f3037410
6 changed files with 457 additions and 78 deletions

View File

@@ -7,6 +7,12 @@
#include "node_button_custom.h"
#include "node_combobox.h"
class Layer;
namespace pp::app {
struct DocumentAnimationOperationPlan;
}
class NodeAnimationFrame : public NodeButtonCustom
{
public:
@@ -65,6 +71,8 @@ class NodePanelAnimation : public Node
int m_selected_frame_index = -1;
uint32_t m_selected_frame_layer_id = 0;
float m_playback_timer = 0;
void execute_animation_plan(const pp::app::DocumentAnimationOperationPlan& plan, Layer* layer = nullptr);
public:
using this_class = NodePanelAnimation;
using parent = Node;