typedef Signal< void ()> SignalType;
typedef Signal< void (float)> SignalTypeFloat;
- MyTestCustomActor() : CustomActorImpl( ActorFlags( REQUIRES_TOUCH_EVENTS ) )
+ MyTestCustomActor() : CustomActorImpl( ActorFlags() )
{ }
virtual ~MyTestCustomActor()
}
// From CustomActorImpl
- virtual void OnStageConnection( int depth )
+ virtual void OnSceneConnection( int depth )
{
}
- virtual void OnStageDisconnection()
+ virtual void OnSceneDisconnection()
{
}
virtual void OnChildAdd(Actor& child)
virtual void OnSizeAnimation(Animation& animation, const Vector3& targetSize)
{
}
- virtual bool OnTouchEvent(const TouchEvent& event)
- {
- return true;
- }
- virtual bool OnHoverEvent(const HoverEvent& event)
- {
- return true;
- }
- virtual bool OnWheelEvent(const WheelEvent& event)
- {
- return true;
- }
- virtual bool OnKeyEvent(const KeyEvent& event)
- {
- return true;
- }
virtual void OnKeyInputFocusGained()
{
}
END_TEST;
}
-