Project Alice
Loading...
Searching...
No Matches
gui_armygroups.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
gui_common_elements.hpp
"
4
#include "
gui_element_types.hpp
"
5
#include "
gui_unit_panel_subwindow.hpp
"
6
#include "
text.hpp
"
7
#include "
prng.hpp
"
8
#include "
gui_leader_tooltip.hpp
"
9
#include "
gui_leader_select.hpp
"
10
#include "
gui_unit_grid_box.hpp
"
11
12
namespace
ui
{
13
class
army_management_window
:
public
window_element_base
{
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
}
ui::army_management_window
Definition:
gui_armygroups.hpp:13
ui::window_element_base
Definition:
gui_element_types.hpp:469
gui_common_elements.hpp
gui_element_types.hpp
gui_leader_select.hpp
gui_leader_tooltip.hpp
gui_unit_grid_box.hpp
gui_unit_panel_subwindow.hpp
ui
Definition:
constants.hpp:582
ui::production_sort_order::name
@ name
prng.hpp
sys::state
Holds important data about the game world, state, and other data regarding windowing,...
Definition:
system_state.hpp:480
ui::state
Definition:
gui_graphics.hpp:408
text.hpp
src
gui
gui_armygroups.hpp
Generated by
1.9.5