Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

otk::RGB Struct Reference

#include <rendercolor.hh>

List of all members.

Public Methods

 RGB (int red, int green, int blue)
 RGB (unsigned long color)

Public Attributes

int r
int g
int b


Constructor & Destructor Documentation

otk::RGB::RGB int    red,
int    green,
int    blue
[inline]
 

Definition at line 17 of file rendercolor.hh.

00017 : r(red), g(green), b(blue) {}

otk::RGB::RGB unsigned long    color [inline]
 

Definition at line 19 of file rendercolor.hh.

00020     : r((color >> 16) & 0xff),
00021       g((color >> 8) & 0xff),
00022       b((color) & 0xff) {}


Member Data Documentation

int otk::RGB::b
 

Definition at line 16 of file rendercolor.hh.

int otk::RGB::g
 

Definition at line 15 of file rendercolor.hh.

int otk::RGB::r
 

Definition at line 14 of file rendercolor.hh.


The documentation for this struct was generated from the following file:
Generated on Tue Feb 4 23:00:29 2003 for Openbox by doxygen1.3-rc2