axmol/tests/cpp-tests/Classes/ExtensionsTest/ControlExtensionTest/CCControlColourPicker/CCControlColourPickerTest.h

20 lines
473 B
C
Raw Normal View History

#include "../CCControlScene.h"
#include "extensions/cocos-ext.h"
USING_NS_CC_EXT;
2012-04-16 18:58:43 +08:00
class ControlColourPickerTest : public ControlScene
2012-04-16 18:58:43 +08:00
{
public:
ControlColourPickerTest();
virtual ~ControlColourPickerTest();
virtual bool init() override;
/** Callback for the change value. */
void colourValueChanged(Ref *sender, Control::EventType controlEvent);
2012-04-16 18:58:43 +08:00
CC_SYNTHESIZE_RETAIN(Label*, _colorLabel, ColorLabel)
2012-04-16 18:58:43 +08:00
CREATE_FUNC(ControlColourPickerTest)
};
2012-04-16 18:58:43 +08:00