2014-03-04 16:51:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __TestCpp__UISliderTest_Editor__
|
|
|
|
#define __TestCpp__UISliderTest_Editor__
|
|
|
|
|
|
|
|
#include "../UIScene_Editor.h"
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(UISliderEditorTests);
|
|
|
|
|
2014-03-04 16:51:35 +08:00
|
|
|
class UISliderTest_Editor : public UIScene_Editor
|
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(UISliderTest_Editor);
|
|
|
|
|
2014-03-04 16:51:35 +08:00
|
|
|
UISliderTest_Editor();
|
|
|
|
~UISliderTest_Editor();
|
2015-04-03 14:31:03 +08:00
|
|
|
|
|
|
|
virtual bool init() override;
|
2015-04-09 08:37:30 +08:00
|
|
|
void sliderEvent(cocos2d::Ref* sender, cocos2d::ui::Slider::EventType type);
|
2015-04-03 14:31:03 +08:00
|
|
|
virtual void configureGUIScene() override;
|
2014-07-01 15:47:40 +08:00
|
|
|
|
2014-03-04 16:51:35 +08:00
|
|
|
protected:
|
2015-04-09 08:37:30 +08:00
|
|
|
cocos2d::ui::Text* _displayValueLabel;
|
2014-03-04 16:51:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* defined(__TestCpp__UISliderTest_Editor__) */
|