class CC_EX_DLL Color3bObject:public Ref
{
public:
Color3B value;
Color3bObject(Color3B s_value):value(s_value){}
};
class CC_EX_DLL ControlUtils
{
public:
static Sprite* addSpriteToTargetWithPosAndAnchor(const char* spriteName, Node * target, Vec2 pos, Vec2 anchor);
static HSV HSVfromRGB(RGBA value);
static RGBA RGBfromHSV(HSV value);
static Rect RectUnion(const Rect& src1, const Rect& src2);
};
“Color3bObject”: 看起来像函数定义,但没有参数列表;跳过明显的函数体
error C2470: “ControlUtils”: 看起来像函数定义,但没有参数列表;跳过明显的函数体