FX::FXGLColor Class Reference

#include <FXGLObject.h>

List of all members.


Detailed Description

OpenGL color object.

Public Member Functions

 FXGLColor (FXfloat _r, FXfloat _g, FXfloat _b, FXfloat _a=1)
 FXGLColor (const FXfloat *colors)
 FXGLColor (const FXColor &o)
 operator FXColor () const
bool isWhite () const
bool isBlack () const

Public Attributes

FXfloat r
FXfloat g
FXfloat b
FXfloat a

Friends

FXAPI FXStreamoperator<< (FXStream &s, const FXGLColor &o)
FXAPI FXStreamoperator>> (FXStream &s, FXGLColor &o)

Member Function Documentation

bool FX::FXGLColor::isWhite (  )  const [inline]

True if color is white.

bool FX::FXGLColor::isBlack (  )  const [inline]

True if color is black.


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

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 21:59:56 2008 for TnFOX by doxygen v1.5.6