Project Alice
Loading...
Searching...
No Matches
gui_unit_grid_box.hpp File Reference
#include <cstdint>
#include <functional>
#include <unordered_map>
#include <variant>
#include <vector>
#include "dcon_generated.hpp"
#include "gui_graphics.hpp"
#include "gui_element_base.hpp"
#include "gui_element_types.hpp"
#include "opengl_wrapper.hpp"
#include "sound.hpp"
#include "system_state.hpp"
#include "text.hpp"
#include "texture.hpp"
Include dependency graph for gui_unit_grid_box.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ui::unit_frame_bg
 
class  ui::unit_org_bar
 
class  ui::unit_status_image
 
class  ui::unit_strength
 
class  ui::unit_dig_in_pips_image
 
class  ui::unit_most_prevalent
 
class  ui::unit_second_most_prevalent
 
class  ui::unit_controller_flag
 
class  ui::base_unit_container
 
class  ui::unit_grid_row
 
class  ui::unit_grid_lb
 
class  ui::grid_box
 

Namespaces

namespace  ui
 

Typedefs

using ui::unit_var = std::variant< std::monostate, dcon::army_id, dcon::navy_id >
 
using ui::grid_row = std::array< unit_var, 4 >
 

Enumerations

enum class  ui::outline_color : uint8_t {
  ui::gray = 0 , ui::gold = 1 , ui::blue = 2 , ui::cyan = 3 ,
  ui::red = 4
}
 

Functions

int32_t ui::status_frame (sys::state &state, dcon::army_id a)
 
int32_t ui::status_frame (sys::state &state, dcon::navy_id a)
 
outline_color ui::to_color (sys::state &state, unit_var display_unit)
 
bool ui::color_equivalent (outline_color a, outline_color b)
 
bool ui::color_less (outline_color a, outline_color b)
 
bool ui::unit_var_ordering (sys::state &state, unit_var a, unit_var b)