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=938ea2d2a1a42930cf12c743d839aded892949ea;hp=4d7a7eab2cb236c2d5ddbdc5962980038119b376;hpb=8363c13a95006c0cbfe3074e9b601bdaef9537f5;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 4d7a7ea..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,15 +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"); - TextField TextField::New() { return Internal::TextField::New(); @@ -68,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 )