X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Ftype-registration.h;h=3f3663f0a20f39f5f01fad323ce622d6a2c3366a;hp=43fe731cbebe69c8b2550d9be93b7a075aae57a3;hb=d9422274305180b56ab8c17fc87c8fda8cfea68b;hpb=01864cd4216d958c5f0e95643dbbeca7c9937716 diff --git a/docs/content/programming-guide/type-registration.h b/docs/content/programming-guide/type-registration.h index 43fe731..3f3663f 100644 --- a/docs/content/programming-guide/type-registration.h +++ b/docs/content/programming-guide/type-registration.h @@ -30,8 +30,8 @@ A type can be registered using Dali::TypeRegistration. This is normally done in within the source file of the deriving control as shown in the code below. Please note: This snippet assumes knowledge of the \link Dali::Toolkit::Control Control -\endlink / \link Dali::Toolkit::ControlImpl ControlImpl \endlink creation process where -MyControl derives from a Control and MyControlImpl derives from ControlImpl. +\endlink / \link Dali::Toolkit::Internal::Control Internal::Control \endlink creation process where +MyControl derives from a Control and MyControlImpl derives from Internal::Control. @code namespace @@ -193,10 +193,10 @@ Dali::PROPERTY_REGISTRATION_MAX_INDEX. Furthermore, if deriving from \link Dali::Toolkit::Control Control\endlink, the control writer needs to be aware of their parent class's property range. Control reserves a property range between -\link Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_START_INDEX ControlImpl::CONTROL_PROPERTY_START_INDEX\endlink -and \link Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_END_INDEX ControlImpl::CONTROL_PROPERTY_END_INDEX\endlink. +\link Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_START_INDEX ControlImpl::CONTROL_PROPERTY_START_INDEX\endlink +and \link Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_END_INDEX Internal::Control::CONTROL_PROPERTY_END_INDEX\endlink. Any deriving control should start their property indices from -\link Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_END_INDEX ControlImpl::CONTROL_PROPERTY_END_INDEX\endlink + 1. +\link Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_END_INDEX Internal::Control::CONTROL_PROPERTY_END_INDEX\endlink + 1. Please have a look at \ref property-indices for more information. @@ -204,9 +204,9 @@ The following code shows how a property can be added to a type. @code // Define the indices we will use for the properties -static const int PROPERTY_ONE( Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_END_INDEX + 1 ); -static const int PROPERTY_TWO( Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_END_INDEX + 2 ); -static const int PROPERTY_THREE( Dali::Toolkit::ControlImpl::CONTROL_PROPERTY_END_INDEX + 3 ); +static const int PROPERTY_ONE( Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_END_INDEX + 1 ); +static const int PROPERTY_TWO( Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_END_INDEX + 2 ); +static const int PROPERTY_THREE( Dali::Toolkit::Internal::Control::CONTROL_PROPERTY_END_INDEX + 3 ); Dali::PropertyRegistration property1( type, // Reference to type registration object (see above)