#include <FXGLObject.h>
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 FXStream & | operator<< (FXStream &s, const FXGLColor &o) |
FXAPI FXStream & | operator>> (FXStream &s, FXGLColor &o) |
bool FX::FXGLColor::isWhite | ( | ) | const [inline] |
True if color is white.
bool FX::FXGLColor::isBlack | ( | ) | const [inline] |
True if color is black.