ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::Color Class Reference

#include <color.h>

List of all members.

Public Member Functions

 Color ()
 Color (byte r, byte g, byte b)
 Color (const Color &c)
 Color (uint32 c)
bytegetRed ()
byte getRed () const
bytegetGreen ()
byte getGreen () const
bytegetBlue ()
byte getBlue () const
uint32 toEncodedValue ()
Coloroperator= (const Color &c)
Coloroperator= (const Color *c)

Public Attributes

byte _vals [3]

Detailed Description

Definition at line 30 of file color.h.


Constructor & Destructor Documentation

Grim::Color::Color (  ) 

Definition at line 27 of file color.cpp.

Grim::Color::Color ( byte  r,
byte  g,
byte  b 
)

Definition at line 31 of file color.cpp.

Grim::Color::Color ( const Color c  ) 

Definition at line 37 of file color.cpp.

Grim::Color::Color ( uint32  c  ) 

Definition at line 43 of file color.cpp.


Member Function Documentation

byte& Grim::Color::getBlue (  )  [inline]

Definition at line 43 of file color.h.

byte Grim::Color::getBlue (  )  const [inline]

Definition at line 44 of file color.h.

byte& Grim::Color::getGreen (  )  [inline]

Definition at line 41 of file color.h.

byte Grim::Color::getGreen (  )  const [inline]

Definition at line 42 of file color.h.

byte Grim::Color::getRed (  )  const [inline]

Definition at line 40 of file color.h.

byte& Grim::Color::getRed (  )  [inline]

Definition at line 39 of file color.h.

Color & Grim::Color::operator= ( const Color c  ) 

Definition at line 62 of file color.cpp.

Color & Grim::Color::operator= ( const Color c  ) 

Definition at line 55 of file color.cpp.

uint32 Grim::Color::toEncodedValue (  ) 

Definition at line 49 of file color.cpp.


Member Data Documentation

Definition at line 32 of file color.h.


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


Generated on Sat May 18 2019 05:06:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge