Small struct to store and manipulate ToD color adjusts. More...
#include <time_of_day.hpp>
Public Member Functions | |
tod_color (int red=0, int green=0, int blue=0) | |
bool | operator== (const tod_color &o) const |
bool | is_zero () const |
bool | operator!= (const tod_color &o) const |
tod_color | operator+ (const tod_color &o) const |
Public Attributes | |
int | r |
int | g |
int | b |
Small struct to store and manipulate ToD color adjusts.
Definition at line 27 of file time_of_day.hpp.
|
inlineexplicit |
Definition at line 28 of file time_of_day.hpp.
Referenced by operator+().
|
inline |
Definition at line 36 of file time_of_day.hpp.
Referenced by display::get_terrain_images().
|
inline |
Definition at line 39 of file time_of_day.hpp.
References operator==().
Definition at line 42 of file time_of_day.hpp.
References b, g, r, and tod_color().
|
inline |
int tod_color::b |
Definition at line 46 of file time_of_day.hpp.
Referenced by gui2::dialogs::custom_tod::color_slider_callback(), display::draw_overlays_at(), display::get_terrain_images(), is_zero(), luaW_push_tod(), operator+(), operator==(), display::read(), gui2::dialogs::custom_tod::update_selected_tod_info(), display::update_tod(), display::write(), and time_of_day::write().
int tod_color::g |
Definition at line 46 of file time_of_day.hpp.
Referenced by gui2::dialogs::custom_tod::color_slider_callback(), display::draw_overlays_at(), display::get_terrain_images(), is_zero(), luaW_push_tod(), operator+(), operator==(), display::read(), gui2::dialogs::custom_tod::update_selected_tod_info(), display::update_tod(), display::write(), and time_of_day::write().
int tod_color::r |
Definition at line 46 of file time_of_day.hpp.
Referenced by gui2::dialogs::custom_tod::color_slider_callback(), display::draw_overlays_at(), display::get_terrain_images(), is_zero(), luaW_push_tod(), operator+(), operator==(), display::read(), gui2::dialogs::custom_tod::update_selected_tod_info(), display::update_tod(), display::write(), and time_of_day::write().