X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-toolbar.h;h=e8adee9be8b3cd2c31e1272dde4a210c2173c946;hp=d0c5976c2c2a3b6c185d9150b425badf40195d45;hb=dd0935960c1acaf63d2b4f560b39236b871135b7;hpb=da7bba2130b0b15f9d93d63b2404b8888af2c85b diff --git a/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.h b/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.h index d0c5976..e8adee9 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H__ -#define __DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H__ +#ifndef DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H +#define DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -42,7 +42,7 @@ class TextSelectionToolbar; * * */ -class DALI_IMPORT_API TextSelectionToolbar : public Control +class DALI_TOOLKIT_API TextSelectionToolbar : public Control { public: @@ -62,7 +62,11 @@ public: { enum { - MAX_SIZE = PROPERTY_START_INDEX ///< name "popup-max-size", The maximum size the Popup can be, type VECTOR2 + MAX_SIZE = PROPERTY_START_INDEX, ///< name "maxSize", The maximum size the Popup can be, type VECTOR2 + ENABLE_OVERSHOOT, ///< name "enableOvershoot", Whether the overshoot image is enabled, type BOOLEAN + ENABLE_SCROLL_BAR, ///< name "enableScrollBar", Whether the scroll-bar is enabled, type BOOLEAN + SCROLL_BAR_PADDING, ///< name "scrollBarPadding", The padding used to position the scroll bar, type VECTOR2 + SCROLL_VIEW, ///< name "scrollView", Properties to set on scroll view type Property::Map }; }; @@ -126,6 +130,11 @@ public: void RaiseAbove( Layer target ); /** + * @copydoc Toolkit::ScrollView::ScrollTo(const Vector2&) + */ + void ScrollTo( const Vector2& position ); + + /** * @brief Downcast a handle to TextSelectionToolbar. * * If the BaseHandle points is a TextSelectionToolbar the downcast returns a valid handle. @@ -158,4 +167,4 @@ public: // Not intended for application developers } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H__ +#endif // DALI_TOOLKIT_TEXT_SELECTION_TOOLBAR_H