cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WidgetReader.h File Reference

Classes

class  WidgetReader
 

Namespaces

 cocostudio
 

Macros

#define CC_BASIC_PROPERTY_BINARY_READER
#define CC_COLOR_PROPERTY_BINARY_READER

Variables

const char * P_IgnoreSize
const char * P_SizeType
const char * P_PositionType
const char * P_SizePercentX
const char * P_SizePercentY
const char * P_PositionPercentX
const char * P_PositionPercentY
const char * P_AdaptScreen
const char * P_Width
const char * P_Height
const char * P_Tag
const char * P_ActionTag
const char * P_TouchAble
const char * P_Name
const char * P_X
const char * P_Y
const char * P_ScaleX
const char * P_ScaleY
const char * P_Rotation
const char * P_Visbile
const char * P_ZOrder
const char * P_LayoutParameter
const char * P_Type
const char * P_Gravity
const char * P_RelativeName
const char * P_RelativeToName
const char * P_Align
const char * P_MarginLeft
const char * P_MarginRight
const char * P_MarginTop
const char * P_MarginDown
const char * P_Opacity
const char * P_ColorR
const char * P_ColorG
const char * P_ColorB
const char * P_FlipX
const char * P_FlipY
const char * P_AnchorPointX
const char * P_AnchorPointY
const char * P_ResourceType
const char * P_Path

Macro Definition Documentation

#define
CC_BASIC_PROPERTY_BINARY_READER
#define
CC_COLOR_PROPERTY_BINARY_READER
Value:
else if (key == P_Opacity) { \
_opacity = valueToInt(value); \
}else if(key == P_ColorR){ \
_color.r = valueToInt(value); \
}else if(key == P_ColorG){ \
_color.g = valueToInt(value); \
}else if(key == P_ColorB) \
{\
_color.b = valueToInt(value);\
}else if(key == P_FlipX){\
widget->setFlippedX(valueToBool(value));\
}else if(key == P_FlipY){\
widget->setFlippedY(valueToBool(value));\
} \
else if(key == P_AnchorPointX){ \
_originalAnchorPoint.x = valueToFloat(value); \
}else if(key == P_AnchorPointY){ \
_originalAnchorPoint.y = valueToFloat(value); \
}
const char * P_ColorR
const char * P_AnchorPointY
const char * P_ColorB
const char * P_Opacity
const char * P_FlipY
const char * P_AnchorPointX
const char * P_FlipX
const char * P_ColorG