SPECIAL LITTLE WARNING FOR STUPID LITTLE CHUDS WHO CAN'T READ
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#include "canvas.hpp"
|
||||
#include "dialog.hpp"
|
||||
#include "imgui_.hpp"
|
||||
@@ -18,6 +20,15 @@ namespace anm2ed::imgui
|
||||
{
|
||||
class Taskbar
|
||||
{
|
||||
struct PendingSave
|
||||
{
|
||||
int index{-1};
|
||||
std::filesystem::path path{};
|
||||
bool isOpen{};
|
||||
bool disableReminder{};
|
||||
bool autoBakeFrames{};
|
||||
};
|
||||
|
||||
wizard::ChangeAllFrameProperties changeAllFrameProperties{};
|
||||
wizard::About about{};
|
||||
wizard::Configure configure{};
|
||||
@@ -28,15 +39,22 @@ namespace anm2ed::imgui
|
||||
PopupHelper generatePopup{PopupHelper(LABEL_TASKBAR_GENERATE_ANIMATION_FROM_GRID)};
|
||||
PopupHelper changePopup{PopupHelper(LABEL_CHANGE_ALL_FRAME_PROPERTIES, imgui::POPUP_NORMAL_NO_HEIGHT)};
|
||||
PopupHelper overwritePopup{PopupHelper(LABEL_TASKBAR_OVERWRITE_FILE, imgui::POPUP_SMALL_NO_HEIGHT)};
|
||||
PopupHelper specialInterpolatedFramesReminderPopup{
|
||||
PopupHelper(LABEL_SPECIAL_INTERPOLATED_FRAMES_REMINDER_POPUP, imgui::POPUP_NORMAL_NO_HEIGHT)};
|
||||
PopupHelper renderPopup{PopupHelper(LABEL_TASKBAR_RENDER_ANIMATION, imgui::POPUP_SMALL_NO_HEIGHT)};
|
||||
PopupHelper configurePopup{PopupHelper(LABEL_TASKBAR_CONFIGURE)};
|
||||
PopupHelper aboutPopup{PopupHelper(LABEL_TASKBAR_ABOUT)};
|
||||
Settings editSettings{};
|
||||
bool isQuittingMode{};
|
||||
PendingSave pendingSave{};
|
||||
|
||||
void save_execute(Manager&, Settings&, const PendingSave&, bool);
|
||||
bool save_request(Manager&, Settings&, int = -1, const std::filesystem::path& = {});
|
||||
|
||||
public:
|
||||
float height{};
|
||||
|
||||
void update(Manager&, Settings&, Resources&, Dialog&, bool&);
|
||||
bool save_manual(Manager&, Settings&, int = -1, const std::filesystem::path& = {});
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user