29 lines
608 B
C++

#pragma once
#include "data/dv.hpp"
#include "graphics/ui/elements/Menu.hpp"
#include <string>
#include <vector>
#include <memory>
class Task;
class Engine;
class UiDocument;
namespace menus {
/// @brief Create development version label at the top-right screen corner
void create_version_label(Engine& engine);
UiDocument* show(
Engine& engine,
const std::string& name,
std::vector<dv::value> args
);
void show_process_panel(Engine& engine, const std::shared_ptr<Task>& task, const std::wstring& text=L"");
bool call(Engine& engine, runnable func);
}