axmol/tools/tolua++/CCControlColourPicker.pkg

24 lines
824 B
Plaintext
Raw Normal View History

2013-05-24 11:42:27 +08:00
class CCControlColourPicker : public CCControl
{
CCControlColourPicker();
virtual ~CCControlColourPicker();
2013-07-08 11:34:31 +08:00
virtual void setColor(const Color3B& colorValue);
2013-05-24 11:42:27 +08:00
virtual void setEnabled(bool bEnabled);
virtual CCControlSaturationBrightnessPicker* getcolourPicker() const;
virtual void setcolourPicker(CCControlSaturationBrightnessPicker* var);
virtual CCControlHuePicker* getHuePicker() const;
virtual void setHuePicker(CCControlHuePicker* var);
virtual CCSprite* getBackground() const;
virtual void setBackground(CCSprite* var);
static CCControlColourPicker* create();
virtual bool init();
void hueSliderValueChanged(CCObject * sender, CCControlEvent controlEvent);
void colourSliderValueChanged(CCObject * sender, CCControlEvent controlEvent);
};