cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Color3B Struct Reference

RGB color composed of bytes 3 bytes. More...

#include <ccTypes.h>

Public Member Functions

 Color3B ()
 Color3B (GLubyte _r, GLubyte _g, GLubyte _b)
 Color3B ( var _r, var _g, var _b)
 Color3B ( local _r, local _g, local _b)
bool equals (const Color3B &other)

Public Attributes

GLubyte r
GLubyte g
GLubyte b
var b
local b

Static Public Attributes

static const Color3B WHITE
var WHITE
local WHITE
static const Color3B YELLOW
var YELLOW
local YELLOW
static const Color3B BLUE
var BLUE
local BLUE
static const Color3B GREEN
var GREEN
local GREEN
static const Color3B RED
var RED
local RED
static const Color3B MAGENTA
var MAGENTA
local MAGENTA
static const Color3B BLACK
var BLACK
local BLACK
static const Color3B ORANGE
var ORANGE
local ORANGE
static const Color3B GRAY
var GRAY
local GRAY

Detailed Description

RGB color composed of bytes 3 bytes.

Since
v3.0

Constructor & Destructor Documentation

Color3B ( )
inline
var Color3B ( )
inline
local Color3B ( )
inline
Color3B ( GLubyte  _r,
GLubyte  _g,
GLubyte  _b 
)
inline
var Color3B ( var  _r,
var  _g,
var  _b 
)
inline
local Color3B ( local  _r,
local  _g,
local  _b 
)
inline

Member Function Documentation

bool equals ( const Color3B other)
inline
var equals ( var  other)
inline
local equals ( local  other)
inline

Member Data Documentation

GLubyte b
var b
local b
const Color3B BLACK
static
var BLACK
static
local BLACK
static
const Color3B BLUE
static
var BLUE
static
local BLUE
static
GLubyte g
var g
local g
const Color3B GRAY
static
var GRAY
static
local GRAY
static
const Color3B GREEN
static
var GREEN
static
local GREEN
static
const Color3B MAGENTA
static
var MAGENTA
static
local MAGENTA
static
const Color3B ORANGE
static
var ORANGE
static
local ORANGE
static
GLubyte r
var r
local r
const Color3B RED
static
var RED
static
local RED
static
const Color3B WHITE
static
var WHITE
static
local WHITE
static
const Color3B YELLOW
static
var YELLOW
static
local YELLOW
static

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