issue #5176, rename UIScrollInterface to ScrollViewProtocol

This commit is contained in:
andyque 2014-05-22 14:15:29 +08:00
parent 2344928945
commit 4d82d8d26b
2 changed files with 3 additions and 3 deletions

View File

@ -31,10 +31,10 @@ NS_CC_BEGIN
namespace ui { namespace ui {
class UIScrollInterface class ScrollViewProtocol
{ {
public: public:
virtual ~UIScrollInterface() {} virtual ~ScrollViewProtocol() {}
protected: protected:
virtual void handlePressLogic(const Vec2 &touchPoint) = 0; virtual void handlePressLogic(const Vec2 &touchPoint) = 0;

View File

@ -58,7 +58,7 @@ CC_DEPRECATED_ATTRIBUTE typedef void (Ref::*SEL_ScrollViewEvent)(Ref*, Scrollvie
#define scrollvieweventselector(_SELECTOR) (SEL_ScrollViewEvent)(&_SELECTOR) #define scrollvieweventselector(_SELECTOR) (SEL_ScrollViewEvent)(&_SELECTOR)
class ScrollView : public Layout , public UIScrollInterface class ScrollView : public Layout , public ScrollViewProtocol
{ {
DECLARE_CLASS_GUI_INFO DECLARE_CLASS_GUI_INFO