mirror of https://github.com/axmolengine/axmol.git
19 lines
754 B
Plaintext
19 lines
754 B
Plaintext
class CCRGBAProtocol
|
|
{
|
|
public:
|
|
virtual void setColor(const Color3B& color);
|
|
virtual const Color3B& getColor(void);
|
|
virtual const Color3B& getDisplayedColor(void);
|
|
virtual GLubyte getDisplayedOpacity(void);
|
|
virtual GLubyte getOpacity(void);
|
|
virtual void setOpacity(GLubyte opacity);
|
|
virtual void setOpacityModifyRGB(bool bValue);
|
|
virtual bool isOpacityModifyRGB(void);
|
|
virtual bool isCascadeColorEnabled(void);
|
|
virtual void setCascadeColorEnabled(bool cascadeColorEnabled);
|
|
virtual void updateDisplayedColor(const Color3B& color);
|
|
virtual bool isCascadeOpacityEnabled(void);
|
|
virtual void setCascadeOpacityEnabled(bool cascadeOpacityEnabled);
|
|
virtual void updateDisplayedOpacity(GLubyte opacity);
|
|
};
|