Project Alice
Loading...
Searching...
No Matches
gui_trade_window.hpp File Reference
#include "dcon_generated.hpp"
#include "economy.hpp"
#include "gui_common_elements.hpp"
#include "gui_element_types.hpp"
#include "widgets/table.hpp"
Include dependency graph for gui_trade_window.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ui::commodity_price_text
 
class  ui::commodity_effective_price_text
 
class  ui::commodity_player_availability_text
 
class  ui::commodity_player_real_demand_text
 
class  ui::commodity_national_player_stockpile_text
 
class  ui::commodity_player_stockpile_increase_text
 
class  ui::commodity_market_increase_text
 
class  ui::commodity_global_market_text
 
class  ui::commodity_player_domestic_market_text
 
class  ui::commodity_player_factory_needs_text
 
class  ui::commodity_player_pop_needs_text
 
class  ui::commodity_player_government_needs_text
 
struct  ui::trade_sort_data
 
class  ui::trade_sort_button< Sort, Assoc >
 
class  ui::trade_market_activity_entry
 
class  ui::trade_market_activity_listbox
 
class  ui::trade_stockpile_entry
 
class  ui::trade_stockpile_listbox
 
class  ui::trade_common_market_entry
 
class  ui::trade_common_market_listbox
 
class  ui::trade_goods_needs_entry< T >
 
class  ui::trade_government_needs_listbox
 
class  ui::trade_factory_needs_listbox
 
class  ui::trade_pop_needs_listbox
 
struct  ui::trade_details_select_commodity
 
struct  ui::trade_details_open_window
 
class  ui::trade_commodity_entry_button
 
class  ui::commodity_stockpile_indicator
 
class  ui::commodity_price_trend
 
class  ui::trade_commodity_entry
 
class  ui::trade_flow_data
 
class  ui::trade_flow_entry
 
class  ui::trade_flow_listbox_base
 
class  ui::trade_flow_produced_by_listbox
 
class  ui::trade_flow_used_by_listbox
 
class  ui::trade_flow_may_be_used_by_listbox
 
class  ui::trade_flow_producers_piechart
 
class  ui::trade_flow_consumers_piechart
 
class  ui::trade_flow_workers_piechart
 
class  ui::trade_flow_price_graph_window
 
class  ui::trade_flow_total_produced_text
 
class  ui::trade_flow_total_used_text
 
class  ui::trade_flow_window
 
class  ui::trade_commodity_group_window< Group >
 
class  ui::trade_details_button
 
class  ui::trade_confirm_trade_button
 
class  ui::prices_line_graph
 
class  ui::price_chart_high
 
class  ui::price_chart_low
 
class  ui::stockpile_sell_button
 
class  ui::stockpile_sell_label
 
class  ui::stockpile_slider_label
 
class  ui::stockpile_amount_label
 
class  ui::detail_domestic_production
 
struct  ui::stockpile_target_change
 
struct  ui::get_stockpile_target
 
class  ui::trade_slider
 
class  ui::trade_slider_amount
 
class  ui::trade_details_window
 
class  ui::stockpile_buy_from_stockpile_hint
 
struct  ui::signal_global_table
 
struct  ui::signal_nation_table
 
struct  ui::signal_trade_good_table
 
class  ui::switch_to_global_button
 
class  ui::switch_to_nation_button
 
class  ui::switch_to_trade_good_button
 
class  ui::trade_window
 

Namespaces

namespace  ui
 

Enumerations

enum class  ui::trade_sort : uint8_t {
  ui::commodity , ui::stockpile , ui::stockpile_change , ui::price ,
  ui::demand_satisfaction , ui::needs , ui::market , ui::real_demand ,
  ui::domestic_market , ui::global_market_pool
}
 
enum class  ui::trade_sort_assoc : uint8_t {
  ui::market_activity , ui::stockpile , ui::common_market , ui::needs_government ,
  ui::needs_factories , ui::needs_pops
}
 

Functions

std::string ui::name_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
bool ui::compare_price (sys::state &state, element_base *container, const dcon::commodity_id a, const dcon::commodity_id b)
 
std::string ui::price_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::supply_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::demand_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::balance_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::stockpile_market_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::stockpile_player_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
std::string ui::stockpile_target_player_view_commodity_id (sys::state &state, element_base *container, dcon::commodity_id item)
 
bool ui::compare_name (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 
bool ui::compare_supply (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 
bool ui::compare_demand (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 
bool ui::compare_balance (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 
bool ui::compare_stockpile_market (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 
bool ui::compare_stockpile_player (sys::state &state, element_base *container, dcon::commodity_id a, dcon::commodity_id b)
 

Variables

table::column< dcon::commodity_id > ui::trade_good_name_column
 
table::column< dcon::commodity_id > ui::trade_good_price_column
 
table::column< dcon::commodity_id > ui::trade_good_supply_column
 
table::column< dcon::commodity_id > ui::trade_good_demand_column
 
table::column< dcon::commodity_id > ui::trade_good_balance_column
 
table::column< dcon::commodity_id > ui::trade_good_market_stockpile_column
 
table::column< dcon::commodity_id > ui::trade_good_player_stockpile_column
 
table::column< dcon::commodity_id > ui::trade_good_player_gov_needs
 
table::column< dcon::commodity_id > ui::trade_good_player_factory_needs
 
table::column< dcon::commodity_id > ui::trade_good_player_pop_needs
 
table::column< dcon::commodity_id > ui::trade_good_production_rgo
 
table::column< dcon::commodity_id > ui::trade_good_production_artisan
 
table::column< dcon::commodity_id > ui::trade_good_production_factory
 
table::column< dcon::commodity_id > ui::trade_good_artisan_distribution
 
table::column< dcon::commodity_id > ui::trade_good_satisfaction
 
table::column< dcon::commodity_id > ui::trade_good_produced_nation
 
table::column< dcon::commodity_id > ui::trade_good_consumed_nation
 
table::column< dcon::nation_id > ui::nation_name
 
table::column< dcon::nation_id > ui::nation_production
 
table::column< dcon::nation_id > ui::nation_demand
 
table::column< dcon::nation_id > ui::nation_consumption