class Inti::Gdk::Color

Name

class Inti::Gdk::Color -- 

Synopsis

class Inti::Gdk::Color is declared in the header inti/gdk/color.h.

Superclasses. none

Subclasses. none

Class members

Public Constructors.
Color ()
Color (unsigned short red, unsigned short green, unsigned short blue)

Public Destructor.
~Color ()

Public Methods.
GdkColor * gdk_color () const
unsigned short red () const
unsigned short green () const
unsigned short blue () const
unsigned long pixel () const
void set (unsigned short red, unsigned short green, unsigned short blue)
void set_red (unsigned short r)
void set_green (unsigned short g)
void set_blue (unsigned short b)
void set_pixel (unsigned long p)
bool operator== (const Color & rhs)
bool operator!= (const Color & rhs)
unsigned int hash () const

Public Functions.
Color * wrap (GdkColor * gdk_color)

Description

Public Constructors

method Inti::Gdk::Color::Color

Color ()

method Inti::Gdk::Color::Color

Color (unsigned short red, unsigned short green, unsigned short blue)

red 
green 
blue 

Public Destructor

method Inti::Gdk::Color::~Color

~Color ()

Public Methods

method Inti::Gdk::Color::gdk_color

GdkColor * gdk_color () const

method Inti::Gdk::Color::red

unsigned short red () const

method Inti::Gdk::Color::green

unsigned short green () const

method Inti::Gdk::Color::blue

unsigned short blue () const

method Inti::Gdk::Color::pixel

unsigned long pixel () const

method Inti::Gdk::Color::set

void set (unsigned short red, unsigned short green, unsigned short blue)

red 
green 
blue 

method Inti::Gdk::Color::set_red

void set_red (unsigned short r)

r 

method Inti::Gdk::Color::set_green

void set_green (unsigned short g)

g 

method Inti::Gdk::Color::set_blue

void set_blue (unsigned short b)

b 

method Inti::Gdk::Color::set_pixel

void set_pixel (unsigned long p)

p 

method Inti::Gdk::Color::operator==

bool operator== (const Color & rhs)

rhs 

method Inti::Gdk::Color::operator!=

bool operator!= (const Color & rhs)

rhs 

method Inti::Gdk::Color::hash

unsigned int hash () const

Public Functions

function Inti::Gdk::Color::wrap

Color * wrap (GdkColor * gdk_color)

gdk_color