Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CColor Struct Reference

#include <Overlay.h>

Public Member Functions

 CColor ()
 
 CColor (float cr, float cg, float cb, float ca)
 
bool ParseString (const CStr8 &Value, float DefaultAlpha)
 
bool operator== (const CColor &color) const
 
bool operator!= (const CColor &color) const
 
const float * FloatArray () const
 
SColor4ub AsSColor4ub () const
 

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

Definition at line 34 of file Overlay.h.

Constructor & Destructor Documentation

CColor::CColor ( )
inline

Definition at line 36 of file Overlay.h.

CColor::CColor ( float  cr,
float  cg,
float  cb,
float  ca 
)
inline

Definition at line 37 of file Overlay.h.

Member Function Documentation

SColor4ub CColor::AsSColor4ub ( ) const
inline

Definition at line 52 of file Overlay.h.

const float* CColor::FloatArray ( ) const
inline

Definition at line 49 of file Overlay.h.

bool CColor::operator!= ( const CColor color) const
inline

Definition at line 43 of file Overlay.h.

bool CColor::operator== ( const CColor color) const

Definition at line 65 of file Overlay.cpp.

bool CColor::ParseString ( const CStr8 &  Value,
float  DefaultAlpha 
)

Definition at line 30 of file Overlay.cpp.

Member Data Documentation

float CColor::a

Definition at line 57 of file Overlay.h.

float CColor::b

Definition at line 57 of file Overlay.h.

float CColor::g

Definition at line 57 of file Overlay.h.

float CColor::r

Definition at line 57 of file Overlay.h.


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