|
Public Member Functions |
| Color (GdkColor* gobject, bool make_a_copy=true) |
| Color (const Color& other) |
Color& | operator= (const Color& other) |
| ~Color () |
void | swap (Color& other) |
GdkColor* | gobj () |
| Provides access to the underlying C instance.
|
const GdkColor* | gobj () const |
| Provides access to the underlying C instance.
|
GdkColor* | gobj_copy () const |
| Color () |
| Color (const Glib::ustring& str) |
void | set_grey (gushort g) |
void | set_grey_p (double g) |
void | set_rgb (gushort red_, gushort green_, gushort blue_) |
void | set_rgb_p (double red_, double green_, double blue_) |
void | set_hsv (double h, double s, double v) |
void | set_hsl (double h, double s, double l) |
int | set (const Glib::ustring& str) |
int | parse (const Glib::ustring& spec) |
gushort | get_red () const |
gushort | get_green () const |
gushort | get_blue () const |
void | set_red (gushort r) |
void | set_green (gushort g) |
void | set_blue (gushort b) |
void | rgb_find_color (const Glib::RefPtr<Gdk::Colormap>& map) |
guint | get_pixel () const |
double | get_red_p () const |
double | get_green_p () const |
double | get_blue_p () const |
Protected Attributes |
GdkColor* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
bool | operator== (const Color& lhs, const Color& rhs) |
bool | operator!= (const Color& lhs, const Color& rhs) |
void | swap (Color& lhs, Color& rhs) |
Gdk::Color | wrap (GdkColor* object, bool take_copy=false) |