X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftext-controls%2Ftext-field.cpp;h=3a833f3e61cc6005b36d25b2fdb95f6c046c4e6c;hb=75204e2d0d9f51edce88c41a7fb748b41d4b21aa;hp=d89130201cf02b25f039183550bab9837ddded1f;hpb=c9db1395ed95a1ab3f4377b412f9e60c892818f9;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/text-controls/text-field.cpp b/dali-toolkit/public-api/controls/text-controls/text-field.cpp index d891302..3a833f3 100644 --- a/dali-toolkit/public-api/controls/text-controls/text-field.cpp +++ b/dali-toolkit/public-api/controls/text-controls/text-field.cpp @@ -27,16 +27,6 @@ namespace Dali namespace Toolkit { -const std::string TextField::PLACEHOLDER_TEXT_PROPERTY_NAME("placeholder-text"); -const std::string TextField::TEXT_PROPERTY_NAME("text"); -const std::string TextField::CURSOR_IMAGE_PROPERTY_NAME("cursor-image"); -const std::string TextField::PRIMARY_CURSOR_COLOR_PROPERTY_NAME("primary-cursor-color"); -const std::string TextField::SECONDARY_CURSOR_COLOR_PROPERTY_NAME("secondary-cursor-color"); -const std::string TextField::ENABLE_CURSOR_BLINK_PROPERTY_NAME("enable-cursor-blink"); -const std::string TextField::CURSOR_BLINK_INTERVAL_PROPERTY_NAME("cursor-blink-interval"); -const std::string TextField::CURSOR_BLINK_DURATION_PROPERTY_NAME("cursor-blink-duration"); -const std::string TextField::GRAB_HANDLE_IMAGE_PROPERTY_NAME("grab-handle-image"); - TextField TextField::New() { return Internal::TextField::New(); @@ -69,9 +59,14 @@ TextField TextField::DownCast( BaseHandle handle ) return Control::DownCast(handle); } -void TextField::SetRenderer( Text::RendererPtr renderer ) +TextField::TextChangedSignalType& TextField::TextChangedSignal() +{ + return Dali::Toolkit::GetImpl( *this ).TextChangedSignal(); +} + +TextField::MaxLengthReachedSignalType& TextField::MaxLengthReachedSignal() { - GetImpl(*this).SetRenderer( renderer ); + return Dali::Toolkit::GetImpl( *this ).MaxLengthReachedSignal(); } TextField::TextField( Internal::TextField& implementation )