2024-09-19 16:26:58 +00:00
|
|
|
/**
|
|
|
|
* @file Window.h
|
|
|
|
* @author apio (cloudapio.eu)
|
|
|
|
* @brief UI window dialogs.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2024, the Luna authors.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2024-10-19 19:25:17 +00:00
|
|
|
#include <luna/Action.h>
|
2024-09-19 16:26:58 +00:00
|
|
|
#include <ui/Window.h>
|
|
|
|
|
|
|
|
namespace ui
|
|
|
|
{
|
|
|
|
namespace Dialog
|
|
|
|
{
|
|
|
|
Result<void> show_message(StringView title, StringView message);
|
|
|
|
|
2024-10-19 19:25:17 +00:00
|
|
|
Result<void> show_input_dialog(StringView title, StringView message, Function<StringView> callback);
|
2024-09-19 16:26:58 +00:00
|
|
|
}
|
|
|
|
}
|