Project Alice
Loading...
Searching...
No Matches
gui_common_elements.hpp File Reference
#include "dcon_generated.hpp"
#include "demographics.hpp"
#include "economy.hpp"
#include "gui_graphics.hpp"
#include "gui_element_types.hpp"
#include "military.hpp"
#include "nations.hpp"
#include "politics.hpp"
#include "province_templates.hpp"
#include "rebels.hpp"
#include "system_state.hpp"
#include "text.hpp"
#include "triggers.hpp"
#include <unordered_map>
#include <vector>
Include dependency graph for gui_common_elements.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ui::country_sort_button< Sort >
 
class  ui::country_sort_by_player_investment
 
class  ui::button_press_notification
 
class  ui::generic_settable_element< T, K >
 
class  ui::generic_name_text< T >
 
class  ui::generic_multiline_name_text< T >
 
class  ui::simple_multiline_text
 
class  ui::simple_multiline_body_text
 
class  ui::generic_multiline_text< T >
 
class  ui::expanded_hitbox_text
 
class  ui::state_name_text
 
class  ui::state_factory_count_text
 
class  ui::state_admin_efficiency_text
 
class  ui::state_aristocrat_presence_text
 
class  ui::state_population_text
 
class  ui::standard_movement_text
 
class  ui::movement_size_text
 
class  ui::movement_radicalism_text
 
class  ui::movement_issue_name_text
 
class  ui::standard_movement_multiline_text
 
class  ui::movement_nationalist_name_text
 
class  ui::standard_rebel_faction_text
 
class  ui::national_identity_vassal_type_text
 
class  ui::standard_nation_text
 
class  ui::nation_gp_opinion_text
 
class  ui::nation_player_investment_text
 
class  ui::nation_gp_investment_text
 
class  ui::nation_overlord_flag
 
class  ui::nation_prestige_text
 
class  ui::nation_industry_score_text
 
class  ui::nation_military_score_text
 
class  ui::nation_total_score_text
 
class  ui::nation_ppp_gdp_text
 
class  ui::nation_ppp_gdp_per_capita_text
 
class  ui::nation_sol_text
 
class  ui::nation_prestige_rank_text
 
class  ui::nation_industry_rank_text
 
class  ui::nation_military_rank_text
 
class  ui::nation_rank_text
 
class  ui::nation_status_text
 
class  ui::nation_ruling_party_ideology_text
 
class  ui::nation_ruling_party_text
 
class  ui::nation_government_type_text
 
class  ui::nation_sphere_list_label
 
class  ui::nation_puppet_list_label
 
class  ui::nation_player_opinion_text
 
class  ui::nation_industries_text
 
class  ui::nation_provinces_text
 
class  ui::nation_player_relations_text
 
class  ui::nation_militancy_text
 
class  ui::nation_consciousness_text
 
class  ui::nation_colonial_power_text
 
class  ui::nation_budget_funds_text
 
class  ui::nation_budget_bank_text
 
class  ui::nation_budget_debt_text
 
class  ui::nation_budget_interest_text
 
class  ui::nation_literacy_text
 
class  ui::nation_infamy_text
 
class  ui::nation_population_text
 
class  ui::nation_current_research_text
 
class  ui::nation_daily_research_points_text
 
class  ui::nation_research_points_text
 
class  ui::nation_suppression_points_text
 
class  ui::nation_focus_allocation_text
 
class  ui::nation_diplomatic_points_text
 
class  ui::nation_mobilization_size_text
 
class  ui::nation_brigade_allocation_text
 
class  ui::nation_navy_allocation_text
 
class  ui::nation_num_regiments
 
class  ui::nation_num_ships
 
class  ui::nation_leadership_points_text
 
class  ui::nation_can_do_social_reform_text
 
class  ui::nation_can_do_political_reform_text
 
class  ui::nation_national_value_text
 
class  ui::national_tech_school
 
class  ui::standard_nation_icon
 
class  ui::nation_westernization_progress_bar
 
class  ui::nation_technology_research_progress
 
class  ui::standard_state_instance_button
 
class  ui::standard_nation_button
 
class  ui::nation_flag_frame
 
class  ui::nation_can_do_social_reform_icon
 
class  ui::nation_can_do_political_reform_icon
 
class  ui::nation_military_reform_multiplier_icon
 
class  ui::nation_economic_reform_multiplier_icon
 
class  ui::nation_ruling_party_ideology_plupp
 
class  ui::nation_player_flag
 
class  ui::nation_gp_flag
 
class  ui::ideology_plupp
 
class  ui::military_score_icon
 
class  ui::fixed_pop_type_icon
 
class  ui::pop_type_icon
 
class  ui::religion_type_icon
 
class  ui::nation_ideology_percentage_text
 
class  ui::upper_house_piechart
 
class  ui::voter_ideology_piechart
 
class  ui::province_population_text
 
class  ui::province_militancy_text
 
class  ui::province_consciousness_text
 
class  ui::province_literacy_text
 
class  ui::province_dominant_culture_text
 
class  ui::province_dominant_religion_text
 
class  ui::province_dominant_issue_text
 
class  ui::province_dominant_ideology_text
 
class  ui::province_state_name_text
 
class  ui::province_rgo_name_text
 
class  ui::province_goods_produced_text
 
class  ui::province_income_text
 
class  ui::province_rgo_workers_text
 
class  ui::province_rgo_size_text
 
class  ui::factory_state_name_text
 
class  ui::factory_output_name_text
 
class  ui::factory_produced_text
 
class  ui::factory_income_text
 
class  ui::factory_workers_text
 
class  ui::factory_level_text
 
class  ui::factory_profit_text
 
class  ui::factory_income_image
 
class  ui::factory_priority_image
 
class  ui::commodity_image
 
struct  ui::close_focus_window_notification
 
class  ui::national_focus_icon
 
class  ui::national_focus_item
 
class  ui::national_focus_category_list
 
class  ui::national_focus_category
 
class  ui::national_focus_remove_button
 
class  ui::national_focus_window
 
class  ui::wg_icon
 
class  ui::overlapping_wg_icon
 
class  ui::full_wg_icon
 
class  ui::overlapping_full_wg_icon
 
class  ui::province_colony_button
 
struct  ui::country_filter_setting
 
struct  ui::country_sort_setting
 
class  ui::category_filter_button< category >
 
class  ui::continent_filter_button
 
class  ui::go_to_battleplanner_button
 
class  ui::go_to_battleplanner_selection_button
 
class  ui::go_to_base_game_button
 

Namespaces

namespace  ui
 

Typedefs

typedef std::variant< std::monostate, dcon::nation_id, dcon::state_instance_id, dcon::province_id > ui::pop_list_filter
 

Enumerations

enum class  ui::country_list_sort : uint8_t {
  ui::country , ui::boss , ui::economic_rank , ui::military_rank ,
  ui::prestige_rank , ui::total_rank , ui::relation , ui::opinion ,
  ui::priority , ui::player_investment , ui::player_influence , ui::factories ,
  ui::gp_influence = 0x40 , ui::gp_investment = 0x80
}
 
enum class  ui::country_list_filter : uint8_t {
  ui::all , ui::neighbors , ui::sphere , ui::enemies ,
  ui::allies , ui::find_allies , ui::neighbors_no_vassals , ui::influenced ,
  ui::deselect_all , ui::best_guess , ui::continent
}
 

Functions

bool ui::country_category_filter_check (sys::state &state, country_list_filter filt, dcon::nation_id a, dcon::nation_id b)
 
void ui::sort_countries (sys::state &state, std::vector< dcon::nation_id > &list, country_list_sort sort, bool sort_ascend)
 
void ui::open_build_foreign_factory (sys::state &state, dcon::state_instance_id st)
 
void ui::open_foreign_investment (sys::state &state, dcon::nation_id n)
 
std::string ui::get_status_text (sys::state &state, dcon::nation_id nation_id)