From f71276fec04c317d07bfe768ebfbe1b28ddd60e7 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 24 Aug 2026 03:57:40 +0200 Subject: feat: work on render path exporting --- src/ui/workspace.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/workspace.h') diff --git a/src/ui/workspace.h b/src/ui/workspace.h index 04cc5db..608c829 100644 --- a/src/ui/workspace.h +++ b/src/ui/workspace.h @@ -1,6 +1,7 @@ #pragma once #include "rendering/view.h" +#include "rendering/export_config.h" #include namespace Donut @@ -16,6 +17,7 @@ namespace Donut virtual auto set_ui_scale(float scale) -> void = 0; virtual auto get_window_size(int& w, int& h) const -> void = 0; virtual auto is_fullscreen() const -> bool = 0; + virtual auto export_frame(const ExportConfig& cfg) -> int = 0; }; struct UIContext -- cgit v1.3