Functions | |
| bool | acquire_ttf () |
| std::function< SDL_Color()> | make_tinted_head_color (SDL_Color base_color) |
| std::function< SDL_Color(int)> | make_tinted_level_color (SDL_Color base_color) |
| std::optional< SDL_Color > | parse_color_spec (const std::string &spec) |
| std::optional< Uint8 > | parse_u8_component (const std::string &value, int base) |
| void | release_ttf () |
| std::string | trim_copy (const std::string &value) |
Variables | |
| constexpr int | default_surface_height = 720 |
| constexpr int | default_surface_width = 1280 |
| std::mutex | ttf_mutex |
| std::size_t | ttf_refcount = 0 |
| bool matrix::anonymous_namespace{rain.cpp}::acquire_ttf | ( | ) |
Definition at line 19 of file rain.cpp.
| std::function< SDL_Color()> matrix::anonymous_namespace{rain.cpp}::make_tinted_head_color | ( | SDL_Color | base_color | ) |
| std::function< SDL_Color(int)> matrix::anonymous_namespace{rain.cpp}::make_tinted_level_color | ( | SDL_Color | base_color | ) |
Definition at line 97 of file rain.cpp.
| std::optional< SDL_Color > matrix::anonymous_namespace{rain.cpp}::parse_color_spec | ( | const std::string & | spec | ) |
Definition at line 60 of file rain.cpp.
| std::optional< Uint8 > matrix::anonymous_namespace{rain.cpp}::parse_u8_component | ( | const std::string & | value, |
| int | base ) |
Definition at line 48 of file rain.cpp.
| void matrix::anonymous_namespace{rain.cpp}::release_ttf | ( | ) |
Definition at line 28 of file rain.cpp.
| std::string matrix::anonymous_namespace{rain.cpp}::trim_copy | ( | const std::string & | value | ) |
|
constexpr |
|
constexpr |