use localized text for popup manager

This commit is contained in:
SweetId
2023-10-21 17:17:25 -04:00
parent 8a2d118641
commit 4f2e03c228
3 changed files with 12 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <NazaraEditor/Core/Core.hpp>
#include <NazaraLocalization/LocalizedText.hpp>
#include <memory>
#include <vector>
@@ -11,11 +12,11 @@ namespace Nz
{
struct Choice
{
std::string name;
Nz::LocalizedText name;
std::function<void(void)> callback;
};
std::string title;
std::string description;
Nz::LocalizedText title;
Nz::LocalizedText description;
std::vector<Choice> choices;
};