cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCControlUtils Class Reference

#include <CCControlUtils.h>

Static Public Member Functions

static CCSpriteaddSpriteToTargetWithPosAndAnchor (const char *spriteName, CCNode *target, CCPoint pos, CCPoint anchor)
 
static HSV HSVfromRGB (RGBA value)
 
static RGBA RGBfromHSV (HSV value)
 
static CCRect CCRectUnion (const CCRect &src1, const CCRect &src2)
 

Member Function Documentation

◆ addSpriteToTargetWithPosAndAnchor()

static CCSprite * addSpriteToTargetWithPosAndAnchor ( const char *  spriteName,
CCNode target,
CCPoint  pos,
CCPoint  anchor 
)
static

◆ CCRectUnion()

static CCRect CCRectUnion ( const CCRect src1,
const CCRect src2 
)
static

◆ HSVfromRGB()

static HSV HSVfromRGB ( RGBA  value)
static

◆ RGBfromHSV()

static RGBA RGBfromHSV ( HSV  value)
static

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