{
DummyControl::DummyControl()
-: mCustomSlot1Called(false)
{
}
DummyControl::DummyControl(const DummyControl& control)
-: Control( control ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( control )
{
}
}
// Used to test signal connections
-void DummyControl::CustomSlot1( Actor actor, const Vector3& value )
+void DummyControlImpl::CustomSlot1( Actor actor, const Vector3& value )
{
mCustomSlot1Called = true;
mCustomSlot1Value = value;
}
DummyControlImpl::DummyControlImpl()
-: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) )
+: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+ mCustomSlot1Called(false),
+ mCustomSlot1Value(Vector3::ZERO)
{
}
+
DummyControlImpl::~DummyControlImpl()
{
}
}
DummyControl::DummyControl( DummyControlImpl& implementation )
-: Control( implementation ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( implementation )
{
}
DummyControl::DummyControl( Dali::Internal::CustomActor* internal )
-: Control( internal ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( internal )
{
VerifyCustomActorPointer<DummyControlImpl>(internal);
}