hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ui/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/workspace.h')
-rw-r--r--src/ui/workspace.h2
1 files changed, 2 insertions, 0 deletions
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 <string>
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