mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-27 01:36:59 -04:00
* 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
19 lines
407 B
C++
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
|