2013-04-02 17:52:08 +08:00
|
|
|
class CCRGBAProtocol
|
|
|
|
{
|
|
|
|
public:
|
2013-07-08 11:34:31 +08:00
|
|
|
virtual void setColor(const Color3B& color);
|
|
|
|
virtual const Color3B& getColor(void);
|
|
|
|
virtual const Color3B& getDisplayedColor(void);
|
2013-04-02 17:52:08 +08:00
|
|
|
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);
|
2013-07-08 11:34:31 +08:00
|
|
|
virtual void updateDisplayedColor(const Color3B& color);
|
2013-04-02 17:52:08 +08:00
|
|
|
virtual bool isCascadeOpacityEnabled(void);
|
|
|
|
virtual void setCascadeOpacityEnabled(bool cascadeOpacityEnabled);
|
|
|
|
virtual void updateDisplayedOpacity(GLubyte opacity);
|
|
|
|
};
|