Functions | |
COLOR | color_ub (unsigned char r, unsigned char g, unsigned char b) |
create a COLOR from unsigned bytes r, g, b | |
COLOR | rgba_to_color (uint rgba) |
create a COLOR from an rgba unsigned int | |
double | rgba_to_alpha (uint rgba) |
return alpha (in [0,1]) from an rgba unsigned int | |
uint | color_to_rgba (CCOLOR &col, double alpha=1) |
create an rgba unsigned int from a COLOR and alpha | |
CCOLOR | black (0.0, 0.0, 0.0) |
CCOLOR | white (1.0, 1.0, 1.0) |
CCOLOR | grey1 (0.1, 0.1, 0.1) |
CCOLOR | grey2 (0.2, 0.2, 0.2) |
CCOLOR | grey3 (0.3, 0.3, 0.3) |
CCOLOR | grey4 (0.4, 0.4, 0.4) |
CCOLOR | grey5 (0.5, 0.5, 0.5) |
CCOLOR | grey6 (0.6, 0.6, 0.6) |
CCOLOR | grey7 (0.7, 0.7, 0.7) |
CCOLOR | grey8 (0.8, 0.8, 0.8) |
CCOLOR | grey9 (0.9, 0.9, 0.9) |
COLOR | grey (double g) |
CCOLOR | red (1.0, 0.0, 0.0) |
CCOLOR | green (0.0, 1.0, 0.0) |
CCOLOR | blue (0.0, 0.0, 1.0) |
CCOLOR | yellow (1.0, 1.0, 0.0) |
CCOLOR | magenta (1.0, 0.0, 1.0) |
CCOLOR | cyan (0.0, 1.0, 1.0) |
CCOLOR | pink (1.0, 0.5, 0.5) |
CCOLOR | orange (1.0, 0.5, 0.0) |
CCOLOR | brown (0.5,.37,.25) |
CCOLOR | tan (0.9, 0.8, 0.7) |
CCOLOR | firebrick (0.698, 0.133, 0.133) |
str_ptr | color_to_str (CCOLOR &col) |
CCOLOR | get_var_color (Cstr_ptr &var_name, CCOLOR &default_val) |
Variables | |
CCOLOR | blue_pencil_l = color_ub(166,201,243) |
CCOLOR | blue_pencil_m = color_ub(104,158,222) |
CCOLOR | blue_pencil_d = color_ub( 79,135,211) |
CCOLOR | red_pencil = color_ub(215, 50, 20) |
CCOLOR | orange_pencil_l = color_ub(255, 204, 51) |
CCOLOR | orange_pencil_m = color_ub(255, 153, 11) |
CCOLOR | orange_pencil_d = color_ub(243, 102, 0) |
CCOLOR | blue1 = color_ub( 63, 64, 69) |
CCOLOR | blue2 = color_ub( 6, 90, 126) |
CCOLOR | blue3 = color_ub(100, 117, 135) |
CCOLOR | blue4 = color_ub(133, 156, 162) |
CCOLOR | green2 = color_ub(223, 217, 185) |
CCOLOR | green1 = color_ub(193, 186, 118) |
CCOLOR | orange1 = color_ub(234, 137, 33) |
CCOLOR | orange2 = color_ub(254, 171, 69) |
CCOLOR | orange3 = color_ub(255, 216, 178) |
CCOLOR | red1 = color_ub(115, 0, 24) |
CCOLOR | red2 = color_ub(149, 47, 7) |
CCOLOR | red3 = color_ub(204, 136, 99) |
CCOLOR | brown5 = color_ub(180, 150, 98) |
CCOLOR | brown4 = color_ub(207, 164, 101) |
CCOLOR | brown3 = color_ub(170, 120, 63) |
CCOLOR | brown2 = color_ub(137, 91, 46) |
CCOLOR | brown1 = color_ub( 93, 50, 23) |
CCOLOR | gray1 = color_ub(140, 141, 146) |
CCOLOR | gray2 = color_ub(183, 172, 166) |
CCOLOR | gray3 = color_ub(236, 225, 219) |
CCOLOR | s_green = color_ub(177 , 217, 60) |
|
Referenced by TEXT2D::draw(), GtexUtil::draw_strip(), KeyLineTexture::set_color(), and GL_VIEW::setup_light(). |
|
Referenced by debug_check_verts(), and XF_DRAW::draw(). |
|
|
|
create an rgba unsigned int from a COLOR and alpha
Definition at line 40 of file colors.H. References build_rgba(). Referenced by RefImage::set(). |
|
Definition at line 119 of file colors.H. Referenced by get_var_color(). |
|
create a COLOR from unsigned bytes r, g, b
|
|
|
|
|
|
Definition at line 126 of file colors.H. References color_to_str(), and Config::get_var_str(). Referenced by BaseJOTapp::init_view(). |
|
|
|
Definition at line 62 of file colors.H. Referenced by GestureBoxDrawer::draw(), and GestureDrawer::draw(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by DEBUG_ELLIPSE::draw(). |
|
|
|
Referenced by debug_check_verts(), XF_DRAW::draw(), and UVdata::split(). |
|
return alpha (in [0,1]) from an rgba unsigned int
Definition at line 35 of file colors.H. References rgba_to_a(). |
|
create a COLOR from an rgba unsigned int
Definition at line 28 of file colors.H. References rgba_to_b(), rgba_to_g(), and rgba_to_r(). Referenced by RefImage::color(). |
|
Referenced by ControlFrameTexture::draw_selected_verts(), mlib::Mat4< M, P, V, L, Q >::glu_perspective(), and BaseJOTapp::init_view(). |
|
Referenced by ControlLineTexture::ControlLineTexture(), TEXT2D::draw(), and KeyLineTexture::set_color(). |
|
Referenced by XF_DRAW::draw(), and FlatShadeTexture::draw(). |
|
Definition at line 91 of file colors.H. Referenced by color_verts(). |
|
Definition at line 92 of file colors.H. Referenced by color_verts(). |
|
|
|
Definition at line 94 of file colors.H. Referenced by color_verts(). |
|
Definition at line 83 of file colors.H. Referenced by ControlLineTexture::ControlLineTexture(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 97 of file colors.H. Referenced by color_verts(). |
|
|
|
|
|
|
|
Definition at line 87 of file colors.H. Referenced by ControlFrameTexture::draw_selected_faces(). |
|
|
|
|
|
|
|
|
|
Definition at line 85 of file colors.H. Referenced by ControlFrameTexture::draw_selected_edges(). |
|
|