axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UISliderTest/UISliderTest_Editor.h

27 lines
589 B
C
Raw Normal View History

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