minor polish here and there
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <future>
|
||||||
|
|
||||||
#include "audio_stream.h"
|
#include "audio_stream.h"
|
||||||
#include "canvas.h"
|
#include "canvas.h"
|
||||||
#include "manager.h"
|
#include "manager.h"
|
||||||
|
#include "render.h"
|
||||||
#include "resources.h"
|
#include "resources.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
@@ -19,6 +22,9 @@ namespace anm2ed::imgui
|
|||||||
glm::vec2 savedPan{};
|
glm::vec2 savedPan{};
|
||||||
glm::ivec2 mousePos{};
|
glm::ivec2 mousePos{};
|
||||||
std::vector<resource::Texture> renderFrames{};
|
std::vector<resource::Texture> renderFrames{};
|
||||||
|
std::future<bool> renderFuture{};
|
||||||
|
bool isRenderFutureValid{};
|
||||||
|
std::string renderOutputPath{};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AnimationPreview();
|
AnimationPreview();
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#include "render.h"
|
#include "render.h"
|
||||||
|
|
||||||
#include <chrono>
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <format>
|
#include <format>
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ namespace anm2ed::render
|
|||||||
|
|
||||||
namespace anm2ed
|
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);
|
render::Type, glm::ivec2, int);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user