minor polish here and there

This commit is contained in:
2025-11-11 15:45:49 -05:00
parent 07096c487b
commit 2a671e2623
3 changed files with 8 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
#pragma once
#include <future>
#include "audio_stream.h"
#include "canvas.h"
#include "manager.h"
#include "render.h"
#include "resources.h"
#include "settings.h"
@@ -19,6 +22,9 @@ namespace anm2ed::imgui
glm::vec2 savedPan{};
glm::ivec2 mousePos{};
std::vector<resource::Texture> renderFrames{};
std::future<bool> renderFuture{};
bool isRenderFutureValid{};
std::string renderOutputPath{};
public:
AnimationPreview();

View File

@@ -1,6 +1,5 @@
#include "render.h"
#include <chrono>
#include <cstring>
#include <filesystem>
#include <format>

View File

@@ -34,6 +34,6 @@ namespace anm2ed::render
namespace anm2ed
{
bool animation_render(const std::string&, const std::string&, std::vector<resource::Texture>&, AudioStream&,
bool animation_render(const std::string&, const std::string&, std::vector<resource::Texture>, AudioStream,
render::Type, glm::ivec2, int);
}
}