Files
MuditaOS/module-apps/windows/DialogMetadata.hpp
2020-10-20 12:55:10 +02:00

22 lines
543 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#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