X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Ftext-view%2Ftext-view-impl.h;h=e4e7dd4cc8ccb904d0d91e245ff548b20bf743df;hb=00ef589046a32c53d20de1c61af7cc69524e51dc;hp=55642960d426fe87ec2a668a8d1d232c333b6e4c;hpb=30f6ca1e541089b19f2b349a8a12d8a5bcaf2f9e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/base/dali-toolkit/internal/controls/text-view/text-view-impl.h b/base/dali-toolkit/internal/controls/text-view/text-view-impl.h index 5564296..e4e7dd4 100644 --- a/base/dali-toolkit/internal/controls/text-view/text-view-impl.h +++ b/base/dali-toolkit/internal/controls/text-view/text-view-impl.h @@ -38,14 +38,14 @@ namespace Internal /** * TextView is a custom control for text aligning and multiline support */ -class TextView : public ControlImpl +class TextView : public Control { public: // Properties enum { - TEXTVIEW_PROPERTY_START_INDEX = ControlImpl::CONTROL_PROPERTY_END_INDEX + 1, + TEXTVIEW_PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, TEXTVIEW_PROPERTY_END_INDEX = TEXTVIEW_PROPERTY_START_INDEX + 1000 ///< Reserving 1000 property indices }; @@ -60,6 +60,7 @@ public: SplitOriginal, ///< Split if it exceeds the width but no action if it exceeds the height. SplitFade, ///< Split if it exceeds the width and faded if it exceeds the height. SplitShrink, ///< Split if it exceeds the width and shrunk if it exceeds the height. + SplitEllipsizeEnd, ///< Split if it exceeds the width and ellipsize if it exceeds the height. Fade, ///< Faded if it exceeds any boundary. FadeOriginal, ///< Faded if it exceeds the width but no action if it exceeds the height. ShrinkOriginal, ///< Shrunk if it exceeds the width but no action if it exceeds the height. @@ -162,11 +163,6 @@ public: std::string GetText() const; /** - * @copydoc SetFont( const Font newFont ) - */ - void SetFont( const Font newFont ); - - /** * @copydoc SetLineHeightOffset() */ void SetLineHeightOffset( PointSize offset ); @@ -359,7 +355,7 @@ public: static Property::Value GetProperty( BaseObject* object, Property::Index index ); -private: // From ControlImpl +private: // From Control /** * @copydoc Toolkit::Control::OnInitialize() @@ -608,7 +604,7 @@ public: Toolkit::TextView::LineJustification lineJustification, float lineHeightOffset, const std::string& ellipsizeText, - const bool markUpEnabled ); + bool markUpEnabled ); /** * Copy constructor