WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
PresetsPanel.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <functional>
5
7namespace PresetsPanel
8{
9
12{
13 std::string* presetPath = nullptr;
14 std::string* presetStatus = nullptr;
15 bool isChar = false;
16 bool hasModel = false;
17
18 std::function<void(const char*)> savePreset;
19 std::function<void(const char*)> loadPreset;
20};
21
22void draw(DrawContext& ctx);
23
24} // namespace PresetsPanel
ImGui panel for saving and loading character presets.
Definition PresetsPanel.h:8
void draw(DrawContext &ctx)
Per-frame context for the presets panel.
std::function< void(const char *)> loadPreset
std::function< void(const char *)> savePreset