Files
MuditaOS/module-apps/windows/DialogMetadata.hpp
Adam Dobrowolski 7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00

19 lines
407 B
C++

#pragma once
#include <utf8/UTF8.hpp>
#include <functional>
namespace gui
{
struct DialogMetadata
{
std::string title;
UTF8 icon = "";
UTF8 text = "No text";
UTF8 iconText = "";
std::function<bool()> action = []() -> bool { return false; };
DialogMetadata() = default;
};
} // namespace gui