X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-field-devel.cpp;h=210575694329d69256544433be0726076c33b565;hb=HEAD;hp=fce781906201fbd0fcaee6baad222cf0dc448577;hpb=12fc433eba468fe62254c4ebfb04d57697632077;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp index fce7819..7f19475 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,6 +55,11 @@ SelectionClearedSignalType& SelectionClearedSignal(TextField textField) return GetImpl(textField).SelectionClearedSignal(); } +SelectionStartedSignalType& SelectionStartedSignal(TextField textField) +{ + return GetImpl(textField).SelectionStartedSignal(); +} + void SelectWholeText(TextField textField) { GetImpl(textField).SelectWholeText(); @@ -80,6 +85,11 @@ Vector GetTextPosition(TextField textField, const uint32_t startIndex, return GetImpl(textField).GetTextPosition(startIndex, endIndex); } +Rect<> GetTextBoundingRectangle(TextField textField, uint32_t startIndex, uint32_t endIndex) +{ + return GetImpl(textField).GetTextBoundingRectangle(startIndex, endIndex); +} + string CopyText(TextField textField) { return GetImpl(textField).CopyText(); @@ -95,6 +105,26 @@ void PasteText(TextField textField) GetImpl(textField).PasteText(); } +void SetRemoveFrontInset(TextField textField, const bool remove) +{ + GetImpl(textField).SetRemoveFrontInset(remove); +} + +bool IsRemoveFrontInset(TextField textField) +{ + return GetImpl(textField).IsRemoveFrontInset(); +} + +void SetRemoveBackInset(TextField textField, const bool remove) +{ + GetImpl(textField).SetRemoveBackInset(remove); +} + +bool IsRemoveBackInset(TextField textField) +{ + return GetImpl(textField).IsRemoveBackInset(); +} + } // namespace DevelTextField } // namespace Toolkit