X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-field-impl.h;h=443e3e1fea5dd79d3c7a0e19caa9143a35910b16;hp=4e18eb2600edabb32b3d8ad508b3d1be82edce30;hb=43304152ae02a473296e85846bf8c1b08bd918ac;hpb=c9db1395ed95a1ab3f4377b412f9e60c892818f9 diff --git a/dali-toolkit/internal/controls/text-controls/text-field-impl.h b/dali-toolkit/internal/controls/text-controls/text-field-impl.h index 4e18eb2..443e3e1 100644 --- a/dali-toolkit/internal/controls/text-controls/text-field-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-field-impl.h @@ -1,5 +1,5 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_TEXT_LABEL_H__ -#define __DALI_TOOLKIT_INTERNAL_TEXT_LABEL_H__ +#ifndef __DALI_TOOLKIT_INTERNAL_TEXT_FIELD_H__ +#define __DALI_TOOLKIT_INTERNAL_TEXT_FIELD_H__ /* * Copyright (c) 2015 Samsung Electronics Co., Ltd. @@ -53,11 +53,6 @@ public: */ static Toolkit::TextField New(); - /** - * @copydoc Dali::Toollkit::TextField::SetRenderer() - */ - void SetRenderer( Text::RendererPtr renderer ); - // Properties /** @@ -121,26 +116,28 @@ private: // Data Text::ControllerPtr mController; Text::RendererPtr mRenderer; Text::DecoratorPtr mDecorator; + + unsigned int mRenderingBackend; }; } // namespace Internal // Helpers for public-api forwarding methods -inline Toolkit::Internal::TextField& GetImpl( Toolkit::TextField& textLabel ) +inline Toolkit::Internal::TextField& GetImpl( Toolkit::TextField& textField ) { - DALI_ASSERT_ALWAYS(textLabel); + DALI_ASSERT_ALWAYS(textField); - Dali::RefObject& handle = textLabel.GetImplementation(); + Dali::RefObject& handle = textField.GetImplementation(); return static_cast(handle); } -inline const Toolkit::Internal::TextField& GetImpl( const Toolkit::TextField& textLabel ) +inline const Toolkit::Internal::TextField& GetImpl( const Toolkit::TextField& textField ) { - DALI_ASSERT_ALWAYS(textLabel); + DALI_ASSERT_ALWAYS(textField); - const Dali::RefObject& handle = textLabel.GetImplementation(); + const Dali::RefObject& handle = textField.GetImplementation(); return static_cast(handle); } @@ -149,4 +146,4 @@ inline const Toolkit::Internal::TextField& GetImpl( const Toolkit::TextField& te } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_TEXT_LABEL_H__ +#endif // __DALI_TOOLKIT_INTERNAL_TEXT_FIELD_H__