Luna/gui/libui/include/ui/Dialog.h

23 lines
440 B
C
Raw Normal View History

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
#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);
Result<void> show_input_dialog(StringView title, StringView message, Function<StringView> callback);
2024-09-19 16:26:58 +00:00
}
}