Project Alice
|
Go to the source code of this file.
Namespaces | |
namespace | ogl |
Functions | |
constexpr uint32_t | ogl::color_from_hash (uint32_t color) |
uint32_t | ogl::color_gradient (float percent, uint32_t top_color, uint32_t bot_color) |
template<class T > | |
uint32_t | ogl::get_ui_color (sys::state &state, T id) |
template<> | |
uint32_t | ogl::get_ui_color (sys::state &state, dcon::political_party_id id) |
template<> | |
uint32_t | ogl::get_ui_color (sys::state &state, dcon::issue_option_id id) |
template<> | |
uint32_t | ogl::get_ui_color (sys::state &state, dcon::crime_id id) |