mirror of https://github.com/axmolengine/axmol.git
issue #5176, rename UIScrollInterface to ScrollViewProtocol
This commit is contained in:
parent
2344928945
commit
4d82d8d26b
|
@ -31,10 +31,10 @@ NS_CC_BEGIN
|
|||
|
||||
namespace ui {
|
||||
|
||||
class UIScrollInterface
|
||||
class ScrollViewProtocol
|
||||
{
|
||||
public:
|
||||
virtual ~UIScrollInterface() {}
|
||||
virtual ~ScrollViewProtocol() {}
|
||||
|
||||
protected:
|
||||
virtual void handlePressLogic(const Vec2 &touchPoint) = 0;
|
||||
|
|
|
@ -58,7 +58,7 @@ CC_DEPRECATED_ATTRIBUTE typedef void (Ref::*SEL_ScrollViewEvent)(Ref*, Scrollvie
|
|||
#define scrollvieweventselector(_SELECTOR) (SEL_ScrollViewEvent)(&_SELECTOR)
|
||||
|
||||
|
||||
class ScrollView : public Layout , public UIScrollInterface
|
||||
class ScrollView : public Layout , public ScrollViewProtocol
|
||||
{
|
||||
|
||||
DECLARE_CLASS_GUI_INFO
|
||||
|
|
Loading…
Reference in New Issue