mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 21:33:28 -04:00
36 lines
844 B
C++
36 lines
844 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <vector>
|
|
#include <mods/api.h>
|
|
#include "mods/svc/ui.h"
|
|
|
|
// Forward declaration
|
|
namespace randomizer::seedgen::config {
|
|
class Config;
|
|
}
|
|
class dFile_select_c;
|
|
|
|
namespace randomizer::ui {
|
|
|
|
enum dialogSelectModeState : uint8_t {
|
|
SelectReady,
|
|
SelectWait,
|
|
};
|
|
extern dialogSelectModeState g_dialogSelectModeState;
|
|
|
|
struct FileSelectGateWindowCtx {
|
|
UiWindowHandle window_handle{};
|
|
bool is_proceed{false};
|
|
};
|
|
extern FileSelectGateWindowCtx g_file_select_window_ctx;
|
|
|
|
void SaveNewRandomizerPreset(const std::string& presetName, bool overwriteExisting = false);
|
|
void ApplyExistingRandomizerPreset(const std::filesystem::path& presetFilePath);
|
|
void CopyPermalinkToClipboard();
|
|
void PastePermalinkFromClipboard();
|
|
|
|
ModResult buildMenuTab();
|
|
ModResult buildFileSelectGateMenu(dFile_select_c*);
|
|
}
|