Extract app frame and ui state services

This commit is contained in:
2026-06-17 19:26:42 +02:00
parent 0c609b9d15
commit 52ed7ddeb0
14 changed files with 435 additions and 254 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include "app_core/app_frame.h"
class App;
class Node;
#include <functional>
namespace pp::panopainter {
[[nodiscard]] bool update_legacy_app_ui_observer(App& app, Node* n);
void watch_legacy_app_ui_children(
App& app,
const std::function<bool(Node*)>& observer,
bool skip_first_main_child);
void update_legacy_canvas_toolbar(App& app);
void execute_legacy_app_frame_update(
App& app,
const pp::app::AppFrameUpdatePlan& plan);
void execute_legacy_app_frame_tick(App& app, float dt);
void execute_legacy_app_frame_resize(App& app, float width, float height);
} // namespace pp::panopainter