Project Alice
Loading...
Searching...
No Matches
gui_event.hpp File Reference
#include <variant>
#include "gui_element_types.hpp"
Include dependency graph for gui_event.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ui::option_taken_notification
 
class  ui::event_option_button
 
class  ui::event_auto_button
 
class  ui::event_option_button_row
 
class  ui::event_image
 
class  ui::event_desc_text
 
class  ui::event_name_text
 
class  ui::event_requirements_icon
 
class  ui::event_odds_icon
 
class  ui::event_subtitle_text
 
class  ui::event_state_name_text
 
class  ui::event_population_amount_text
 
class  ui::election_issue_support_item
 
class  ui::elections_issue_option_listbox
 
class  ui::base_event_option_listbox
 
class  ui::national_event_listbox
 
class  ui::provincial_event_listbox
 
class  ui::national_election_event_listbox
 
class  ui::base_event_window
 
class  ui::national_election_event_window
 
class  ui::national_event_window
 
class  ui::national_major_event_window
 
class  ui::provincial_event_window
 

Namespaces

namespace  ui
 

Typedefs

using ui::event_data_wrapper = std::variant< event::pending_human_n_event, event::pending_human_f_n_event, event::pending_human_p_event, event::pending_human_f_p_event >
 

Enumerations

enum  ui::event_pool_slot : uint8_t {
  ui::country , ui::country_election , ui::country_major , ui::province ,
  ui::count
}
 

Functions

void ui::populate_event_submap (sys::state &state, text::substitution_map &sub, std::variant< event::pending_human_n_event, event::pending_human_f_n_event, event::pending_human_p_event, event::pending_human_f_p_event > const &phe) noexcept
 
void ui::close_expired_event_windows (sys::state &state)
 
void ui::clear_event_windows (sys::state &state)
 
bool ui::events_pause_test (sys::state &state)
 
void ui::new_event_window (sys::state &state, event_data_wrapper dat)