projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
System Clipboard shown and items can be pasted
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
controls
/
text-controls
/
text-field-impl.h
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
876972d
..
eb35b4f
100644
(file)
--- a/
dali-toolkit/internal/controls/text-controls/text-field-impl.h
+++ b/
dali-toolkit/internal/controls/text-controls/text-field-impl.h
@@
-27,6
+27,9
@@
#include <dali-toolkit/internal/text/text-controller.h>
#include <dali-toolkit/internal/text/rendering/text-renderer.h>
#include <dali-toolkit/internal/text/text-controller.h>
#include <dali-toolkit/internal/text/rendering/text-renderer.h>
+// EXTERNAL INCLUDES
+#include <dali/devel-api/adaptor-framework/clipboard-event-notifier.h>
+
namespace Dali
{
namespace Dali
{
@@
-137,6
+140,11
@@
private: // From Control
virtual void OnPan( const PanGesture& gesture );
/**
virtual void OnPan( const PanGesture& gesture );
/**
+ * @copydoc Control::OnStageConnection()
+ */
+ virtual void OnStageConnection( unsigned int depth );
+
+ /**
* @copydoc Dali::CustomActorImpl::OnKeyEvent(const KeyEvent&)
*/
virtual bool OnKeyEvent(const KeyEvent& event);
* @copydoc Dali::CustomActorImpl::OnKeyEvent(const KeyEvent&)
*/
virtual bool OnKeyEvent(const KeyEvent& event);
@@
-166,6
+174,12
@@
private: // From Control
*/
ImfManager::ImfCallbackData OnImfEvent( ImfManager& imfManager, const ImfManager::ImfEventData& imfEvent );
*/
ImfManager::ImfCallbackData OnImfEvent( ImfManager& imfManager, const ImfManager::ImfEventData& imfEvent );
+ /**
+ * @brief Callback when Clipboard signals an item should be pasted
+ * @param[in] clipboard handle to Clipboard Event Notifier
+ */
+ void OnClipboardTextSelected( ClipboardEventNotifier& clipboard );
+
private: // Implementation
/**
private: // Implementation
/**
@@
-205,6
+219,14
@@
private: // Implementation
TextField(const TextField&);
TextField& operator=(const TextField& rhs);
TextField(const TextField&);
TextField& operator=(const TextField& rhs);
+ /**
+ * @brief Render view, create and attach actor(s) to this Text Field.
+ */
+ void RenderText();
+
+ // Connection needed to re-render text, when a Text Field returns to the stage.
+ void OnStageConnect( Dali::Actor actor );
+
private: // Data
// Signals
private: // Data
// Signals
@@
-217,10
+239,12
@@
private: // Data
Text::ClipperPtr mClipper; ///< For EXCEED_POLICY_CLIP
std::vector<Actor> mClippingDecorationActors; ///< Decoration actors which need clipping.
Text::ClipperPtr mClipper; ///< For EXCEED_POLICY_CLIP
std::vector<Actor> mClippingDecorationActors; ///< Decoration actors which need clipping.
-
Renderable
Actor mRenderableActor;
+ Actor mRenderableActor;
int mRenderingBackend;
int mExceedPolicy;
int mRenderingBackend;
int mExceedPolicy;
+ unsigned int mDepth;
+ bool mHasBeenStaged:1;
};
} // namespace Internal
};
} // namespace Internal