X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fslider%2Fslider-impl.h;h=c9fdc608f60df756d2eecfc5ee77ec84e3f1af2a;hp=d99d48cdc0539f6edfbfcc058253d174962f1a89;hb=5437f8308b17393381dcf586e2a9aadd9aa4bdf3;hpb=3e17d9f63dedb5d669409301f8d9a3d8c393f979 diff --git a/dali-toolkit/internal/controls/slider/slider-impl.h b/dali-toolkit/internal/controls/slider/slider-impl.h index d99d48c..c9fdc60 100755 --- a/dali-toolkit/internal/controls/slider/slider-impl.h +++ b/dali-toolkit/internal/controls/slider/slider-impl.h @@ -19,12 +19,14 @@ */ // EXTERNAL INCLUDES -#include #include +#include // INTERNAL INCLUDES #include -#include +#include +#include +#include namespace Dali { @@ -286,9 +288,9 @@ protected: virtual ~Slider(); /** - * @copydoc Control::OnControlSizeSet( const Vector3& size ) + * @copydoc CustomActorImpl::OnSizeSet( const Vector3& size ) */ - virtual void OnControlSizeSet( const Vector3& size ); + virtual void OnSizeSet( const Vector3& size ); private: @@ -398,42 +400,42 @@ private: * * @return The backing actor */ - ImageActor CreateBacking(); + Toolkit::ImageView CreateBacking(); /** * Create the progress backing for the slider * * @return The backing actor */ - ImageActor CreateProgress(); + Toolkit::ImageView CreateProgress(); /** * Create the handle for the slider * * @return The created image handle */ - ImageActor CreateHandle(); + Toolkit::ImageView CreateHandle(); /** * Create the popup arrow * * @return The created image handle */ - ImageActor CreatePopupArrow(); + Toolkit::ImageView CreatePopupArrow(); /** * Create the popup * * @return The created image handle */ - ImageActor CreatePopup(); + Toolkit::ImageView CreatePopup(); /** * Create the textview for the popup * * @return The textview created for the popup */ - //Toolkit::TextView CreatePopupText(); + Toolkit::TextLabel CreatePopupText(); /** * Create the value display for the slider @@ -679,13 +681,15 @@ private: Domain mDomain; ///< Current domain of the handle Actor mHitArea; ///< The input handler - ImageActor mBacking; ///< Backing image - ImageActor mHandle; ///< Slider handle - ImageActor mProgress; ///< Progress backing Actor mValueDisplay; ///< Display of the value - ImageActor mPopup; ///< Popup backing - ImageActor mPopupArrow; ///< Popup arrow backing - + Toolkit::ImageView mBacking; ///< Backing image + Toolkit::ImageView mHandle; ///< Slider handle + Toolkit::ImageView mProgress; ///< Progress backing + Toolkit::ImageView mPopup; ///< Popup backing + Toolkit::ImageView mPopupArrow; ///< Popup arrow backing + + Toolkit::TextLabel mValueTextLabel; //< The text value in popup + Toolkit::TextLabel mHandleValueTextLabel; ///< The text value on handle Vector2 mHandleLastTouchPoint; ///< The last touch point for the handle Timer mValueTimer; ///< Timer used to hide value view @@ -701,6 +705,9 @@ private: std::string mPopupImageName; ///< Image name for popup image std::string mPopupArrowImageName; ///< Image name for popup arrow + std::string mBackingImageName; ///< Image name for backing image + std::string mHandleImageName; ///< Image name for handle image + std::string mProgressImageName; ///< Image name for progress image Vector4 mDisableColor; ///< The color to tint the slider when disabled Vector4 mPopupTextColor; ///< The color of the popup text