Project Alice
Loading...
Searching...
No Matches
gui_population_window.hpp File Reference
#include "gui_element_types.hpp"
#include "gui_graphics.hpp"
#include "gui_common_elements.hpp"
#include "province_templates.hpp"
#include "color.hpp"
#include "triggers.hpp"
#include "gui_province_window.hpp"
#include "demographics.hpp"
Include dependency graph for gui_population_window.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ui::popwin_state_population
 
class  ui::popwin_religion_type
 
class  ui::province_growth_indicator
 
class  ui::state_growth_indicator
 
class  ui::nation_growth_indicator
 
class  ui::pop_revolt_faction
 
class  ui::pop_movement_social
 
class  ui::pop_movement_political
 
class  ui::pop_movement_flag
 
class  ui::pop_cash_reserve_text
 
class  ui::pop_size_text
 
class  ui::pop_location_text
 
class  ui::pop_militancy_text
 
class  ui::pop_con_text
 
class  ui::pop_literacy_text
 
class  ui::pop_culture_text
 
class  ui::pop_growth_indicator
 
class  ui::standard_pop_progress_bar
 
class  ui::standard_pop_needs_progress_bar
 
class  ui::pop_unemployment_progress_bar
 
class  ui::pop_life_needs_progress_bar
 
class  ui::pop_everyday_needs_progress_bar
 
class  ui::pop_luxury_needs_progress_bar
 
class  ui::pop_issues_piechart
 
class  ui::pop_ideology_piechart
 
class  ui::pop_left_side_button< T >
 
class  ui::pop_left_side_country_window
 
class  ui::pop_left_side_expand_button
 
class  ui::pop_national_focus_button
 
class  ui::pop_left_side_state_window
 
class  ui::pop_left_side_province_window
 
class  ui::pop_left_side_item
 
class  ui::pop_left_side_listbox
 
class  ui::pop_distribution_plupp< T >
 
class  ui::pop_distribution_piechart< T, Multiple >
 
class  ui::pop_distribution_item< T >
 
class  ui::pop_distribution_listbox< T >
 
class  ui::pop_distribution_window< T, Multiple >
 
class  ui::issue_with_explanation
 
class  ui::pop_detailed_issue_distribution_item
 
class  ui::pop_detailed_issue_distribution_listbox
 
class  ui::pop_detailed_issue_distribution
 
class  ui::ideology_with_explanation
 
class  ui::pop_detailed_ideology_distribution_item
 
class  ui::pop_detailed_ideology_distribution_listbox
 
class  ui::pop_detailed_ideology_distribution
 
class  ui::pop_details_promotion_percent_text
 
class  ui::pop_details_promotion_window< N >
 
class  ui::pop_details_needs_item
 
class  ui::pop_details_needs_listbox
 
class  ui::pop_details_migration_value
 
class  ui::pop_details_migration_label
 
class  ui::pop_details_colonial_migration_value
 
class  ui::pop_details_colonial_migration_label
 
class  ui::pop_details_emigration_value
 
class  ui::pop_details_emigration_label
 
class  ui::pop_details_promotion_value
 
class  ui::pop_details_demotion_value
 
class  ui::pop_details_promotion_label
 
class  ui::generic_rebel_name_text
 
class  ui::pop_rebels_details
 
class  ui::pop_details_window
 
class  ui::pop_details_icon
 
class  ui::show_pop_detail_button
 
class  ui::pop_item
 
class  ui::pop_listbox
 
class  ui::pop_filter_button
 
class  ui::pop_filter_select_action
 
class  ui::pop_filter_select_button< B >
 
class  ui::pop_sort_button< Sort >
 
class  ui::population_window
 

Namespaces

namespace  ui
 

Typedefs

using ui::pop_left_side_data = std::variant< std::monostate, dcon::nation_id, dcon::state_instance_id, dcon::province_id >
 
using ui::pop_left_side_expand_action = std::variant< std::monostate, dcon::state_instance_id, bool >
 
using ui::pop_details_needs_data = std::pair< dcon::commodity_id, float >
 
using ui::pop_details_data = std::variant< std::monostate, dcon::pop_id >
 
typedef std::variant< std::monostate, dcon::pop_type_id, bool > ui::pop_filter_data
 

Enumerations

enum class  ui::pop_list_sort : uint8_t {
  ui::size , ui::type , ui::nationality , ui::religion ,
  ui::location , ui::mil , ui::con , ui::ideology ,
  ui::issues , ui::unemployment , ui::cash , ui::life_needs ,
  ui::everyday_needs , ui::luxury_needs , ui::revoltrisk , ui::change ,
  ui::literacy
}
 

Functions

std::vector< dcon::pop_id > const & ui::get_pop_window_list (sys::state &state)
 
dcon::pop_id ui::get_pop_details_pop (sys::state &state)
 
void ui::describe_conversion (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_migration (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_colonial_migration (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_emigration (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_promotion_demotion (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_con (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_mil (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_lit (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_growth (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)
 
void ui::describe_assimilation (sys::state &state, text::columnar_layout &contents, dcon::pop_id ids)