mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-01 18:39:03 -05:00
22 lines
543 B
C++
22 lines
543 B
C++
// Copyright (c) 2017-2021, 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
|