dw::core::style::Color Class Reference

#include <style.hh>

List of all members.

Public Types

enum  Shading {
  SHADING_NORMAL, SHADING_INVERSE, SHADING_DARK, SHADING_LIGHT,
  SHADING_NUM
}

Public Member Functions

void ref ()
void unref ()

Static Public Member Functions

static Colorcreate (Layout *layout, int color)

Protected Member Functions

 Color (int color)
virtual ~Color ()
int shadeColor (int color, Shading shading)

Private Member Functions

void remove (dw::core::Layout *layout)
int shadeColor (int color, int d)

Private Attributes

int refCount


Detailed Description

See also:
dw::core::style

Member Enumeration Documentation

Enumerator:
SHADING_NORMAL 
SHADING_INVERSE 
SHADING_DARK 
SHADING_LIGHT 
SHADING_NUM 


Constructor & Destructor Documentation

dw::core::style::Color::Color ( int  color  )  [inline, protected]

References refCount.

dw::core::style::Color::~Color (  )  [protected, virtual]


Member Function Documentation

Color * dw::core::style::Color::create ( Layout layout,
int  color 
) [static]

void dw::core::style::Color::ref (  )  [inline]

void dw::core::style::Color::remove ( dw::core::Layout layout  )  [private]

int dw::core::style::Color::shadeColor ( int  color,
Shading  shading 
) [protected]

int dw::core::style::Color::shadeColor ( int  color,
int  d 
) [private]

void dw::core::style::Color::unref (  )  [inline]


Member Data Documentation

Referenced by Color(), ref(), and unref().


The documentation for this class was generated from the following files:

Generated on Wed Sep 7 02:00:37 2011 for Dillo by  doxygen 1.5.9