Project Alice
Loading...
Searching...
No Matches
gui_armygroups.hpp
Go to the documentation of this file.
1#pragma once
2
6#include "text.hpp"
7#include "prng.hpp"
10#include "gui_unit_grid_box.hpp"
11
12namespace ui {
14 std::unique_ptr<element_base> make_child(sys::state& state, std::string_view name, dcon::gui_def_id id) noexcept override {
15 if(name == "new_army_group_button") {
16 return make_element_by_type<new_army_group_button>(state, id);
17 } else {
18 return nullptr;
19 }
20 }
21 };
22}
Holds important data about the game world, state, and other data regarding windowing,...