Project Alice
Loading...
Searching...
No Matches
gui_error_window.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <string_view>
6
7namespace ui {
9 void populate_layout(sys::state& state, text::endless_layout& contents) noexcept;
10public:
11 std::string msg = "";
12 void on_create(sys::state& state) noexcept override;
13 void on_update(sys::state& state) noexcept override;
14};
16public:
19 std::unique_ptr<element_base> make_child(sys::state& state, std::string_view name, dcon::gui_def_id id) noexcept override;
20};
21void popup_error_window(sys::state& state, std::string_view title, std::string_view body);
22} // namespace ui
void on_create(sys::state &state) noexcept override
void on_update(sys::state &state) noexcept override
simple_text_element_base * title
std::unique_ptr< element_base > make_child(sys::state &state, std::string_view name, dcon::gui_def_id id) noexcept override
void popup_error_window(sys::state &state, std::string_view title, std::string_view body)