#include <color.hxx>
Public Member Functions | |
| Color (int i) | |
| Color (float r, float g, float b, float a=1.0f) | |
| unsigned int | get_rgb () |
Public Attributes | |
| float | r |
| float | g |
| float | b |
| float | a |
|
|
|
|
||||||||||||||||||||
|
|
|
|
Convert the color into 0xRRGGBB format |
|
|
Definition at line 29 of file color.hxx. Referenced by GlutDisplay::draw_circle(), GlutDisplay::draw_fill_circle(), GlutDisplay::draw_fill_rect(), GlutDisplay::draw_line(), GlutDisplay::draw_rect(), and GlutDisplay::draw_string(). |
|
|
Definition at line 28 of file color.hxx. Referenced by GlutDisplay::draw_circle(), GlutDisplay::draw_fill_circle(), GlutDisplay::draw_fill_rect(), GlutDisplay::draw_line(), GlutDisplay::draw_rect(), GlutDisplay::draw_string(), and X11Display::get_color_value(). |
|
|
Definition at line 27 of file color.hxx. Referenced by GlutDisplay::draw_circle(), GlutDisplay::draw_fill_circle(), GlutDisplay::draw_fill_rect(), GlutDisplay::draw_line(), GlutDisplay::draw_rect(), GlutDisplay::draw_string(), and X11Display::get_color_value(). |
|
|
Definition at line 26 of file color.hxx. Referenced by GlutDisplay::draw_circle(), GlutDisplay::draw_fill_circle(), GlutDisplay::draw_fill_rect(), GlutDisplay::draw_line(), GlutDisplay::draw_rect(), GlutDisplay::draw_string(), and X11Display::get_color_value(). |
1.3-rc3