AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzColour Struct Reference

Structure used to represent colour. More...

#include <CzColour.h>

List of all members.

Public Member Functions

 CzColour ()
 CzColour (uint8 r, uint8 g, uint8 b, uint8 a)
 CzColour (uint32 rgba)
void set (const CzColour &c)
void set (uint8 r, uint8 g, uint8 b, uint8 a)
void set (uint32 rgba)
uint32 get () const

Public Attributes

uint8 r
 Red component.
uint8 g
 Green component.
uint8 b
 Blue component.
uint8 a
 Alpha component.

Detailed Description

Structure used to represent colour.


Constructor & Destructor Documentation

CzColour::CzColour ( ) [inline]
CzColour::CzColour ( uint8  r,
uint8  g,
uint8  b,
uint8  a 
) [inline]
CzColour::CzColour ( uint32  rgba) [inline]

Member Function Documentation

uint32 CzColour::get ( ) const [inline]
void CzColour::set ( const CzColour c) [inline]
void CzColour::set ( uint8  r,
uint8  g,
uint8  b,
uint8  a 
) [inline]
void CzColour::set ( uint32  rgba) [inline]

Member Data Documentation

uint8 CzColour::a

Alpha component.

uint8 CzColour::b

Blue component.

uint8 CzColour::g

Green component.

uint8 CzColour::r

Red component.


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