Faith::ColorGroup Class Reference

Specifies the colors used by graphics elements. More...

#include <faith/colorgroup.h>

List of all members.

Public Types

 Background
 Foreground
 Button
 ButtonText
 Base
 Text
 Highlight
 HighlightedText
 Midlight
 Mid
 Light
 Link
 LinkVisited
enum  ColorRole {
  Background, Foreground, Button, ButtonText,
  Base, Text, Highlight, HighlightedText,
  Midlight, Mid, Light, Link,
  LinkVisited
}

Public Member Functions

 ColorGroup ()
 ColorGroup (const ColorGroup &copy)
 ~ColorGroup ()
ColorGroupoperator= (const ColorGroup &copy)
bool operator== (const ColorGroup &other) const
Color color (ColorRole r) const
Color brush (ColorRole r) const
void setColor (ColorRole r, const Color &color)
Color background () const
Color foreground () const
Color button () const
Color buttonText () const
Color base () const
Color text () const
Color highlightedText () const
Color highlight () const
Color midlight () const
Color mid () const
Color light () const
Color link () const
Color linkVisited () const


Detailed Description

Specifies the colors used by graphics elements.

This specifies all the colors used by widgets.


Member Enumeration Documentation

enum Faith::ColorGroup::ColorRole

A ColorRole is, don't be surprised: the setting of a color into a role.

Here are the available roles:

Enumerator:
Background 
Foreground 
Button 
ButtonText 
Base 
Text 
Highlight 
HighlightedText 
Midlight 
Mid 
Light 
Link 
LinkVisited 


Constructor & Destructor Documentation

Faith::ColorGroup::ColorGroup (  ) 

all colors are black

Faith::ColorGroup::ColorGroup ( const ColorGroup copy  ) 

Faith::ColorGroup::~ColorGroup (  ) 


Member Function Documentation

Color Faith::ColorGroup::background (  )  const [inline]

Color Faith::ColorGroup::base (  )  const [inline]

Color Faith::ColorGroup::brush ( ColorRole  r  )  const [inline]

Color Faith::ColorGroup::button (  )  const [inline]

Color Faith::ColorGroup::buttonText (  )  const [inline]

Color Faith::ColorGroup::color ( ColorRole  r  )  const

Color Faith::ColorGroup::foreground (  )  const [inline]

Color Faith::ColorGroup::highlight (  )  const [inline]

Color Faith::ColorGroup::highlightedText (  )  const [inline]

Color Faith::ColorGroup::light (  )  const [inline]

Color Faith::ColorGroup::link (  )  const [inline]

Color Faith::ColorGroup::linkVisited (  )  const [inline]

Color Faith::ColorGroup::mid (  )  const [inline]

Color Faith::ColorGroup::midlight (  )  const [inline]

ColorGroup& Faith::ColorGroup::operator= ( const ColorGroup copy  ) 

bool Faith::ColorGroup::operator== ( const ColorGroup other  )  const

void Faith::ColorGroup::setColor ( ColorRole  r,
const Color color 
)

Color Faith::ColorGroup::text (  )  const [inline]


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:08 2006 for Faith by  doxygen 1.4.7