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
Merge "Added TextChanged signal to TextField" into tizen
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
controls
/
text-controls
/
text-label-impl.h
diff --git
a/dali-toolkit/internal/controls/text-controls/text-label-impl.h
b/dali-toolkit/internal/controls/text-controls/text-label-impl.h
index
b0c2232
..
54b30dd
100644
(file)
--- a/
dali-toolkit/internal/controls/text-controls/text-label-impl.h
+++ b/
dali-toolkit/internal/controls/text-controls/text-label-impl.h
@@
-40,13
+40,6
@@
class TextLabel : public Control, public Text::ControlInterface
{
public:
{
public:
- // Properties
- enum
- {
- TEXTLABEL_PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1,
- TEXTLABEL_PROPERTY_END_INDEX = TEXTLABEL_PROPERTY_START_INDEX + 1000 ///< Reserving 1000 property indices
- };
-
/**
* @copydoc Dali::Toollkit::TextLabel::New()
*/
/**
* @copydoc Dali::Toollkit::TextLabel::New()
*/
@@
-55,7
+48,8
@@
public:
// Properties
/**
// Properties
/**
- * Called when a property of an object of this type is set.
+ * @brief Called when a property of an object of this type is set.
+ *
* @param[in] object The object whose property is set.
* @param[in] index The property index.
* @param[in] value The new property value.
* @param[in] object The object whose property is set.
* @param[in] index The property index.
* @param[in] value The new property value.
@@
-63,7
+57,8
@@
public:
static void SetProperty( BaseObject* object, Property::Index index, const Property::Value& value );
/**
static void SetProperty( BaseObject* object, Property::Index index, const Property::Value& value );
/**
- * Called to retrieve a property of an object of this type.
+ * @brief Called to retrieve a property of an object of this type.
+ *
* @param[in] object The object whose property is to be retrieved.
* @param[in] index The property index.
* @return The current value of the property.
* @param[in] object The object whose property is to be retrieved.
* @param[in] index The property index.
* @return The current value of the property.
@@
-78,9
+73,14
@@
private: // From Control
virtual void OnInitialize();
/**
virtual void OnInitialize();
/**
- * @copydoc Control::OnInitialize()
+ * @copydoc Control::OnStyleChange()
+ */
+ virtual void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change );
+
+ /**
+ * @copydoc Control::OnRelayout()
*/
*/
- virtual void OnRelayout( const Vector2& size,
ActorSize
Container& container );
+ virtual void OnRelayout( const Vector2& size,
Relayout
Container& container );
/**
* @copydoc Control::GetNaturalSize()
/**
* @copydoc Control::GetNaturalSize()
@@
-97,6
+97,16
@@
private: // From Control
*/
virtual void RequestTextRelayout();
*/
virtual void RequestTextRelayout();
+ /**
+ * @copydoc Text::ControlInterface::TextChanged()
+ */
+ virtual void TextChanged();
+
+ /**
+ * @copydoc Text::ControlInterface::MaxLengthReached()
+ */
+ virtual void MaxLengthReached();
+
private: // Implementation
/**
private: // Implementation
/**
@@
-119,8
+129,9
@@
private: // Data
Text::ControllerPtr mController;
Text::RendererPtr mRenderer;
Text::ControllerPtr mController;
Text::RendererPtr mRenderer;
+ RenderableActor mRenderableActor;
-
unsigned
int mRenderingBackend;
+ int mRenderingBackend;
};
} // namespace Internal
};
} // namespace Internal