X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fslider%2Fslider-impl.h;h=9e25fccc53883c5eaf022ebf5b142a94fea0e72c;hb=a4246093982a7c45fd622253d8245e447878a1af;hp=d99d48cdc0539f6edfbfcc058253d174962f1a89;hpb=cc82bd9b187cda8fe2c8336b73fd1fa9376cfebd;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/slider/slider-impl.h b/dali-toolkit/internal/controls/slider/slider-impl.h index d99d48c..9e25fcc 100755 --- a/dali-toolkit/internal/controls/slider/slider-impl.h +++ b/dali-toolkit/internal/controls/slider/slider-impl.h @@ -21,10 +21,13 @@ // EXTERNAL INCLUDES #include #include +#include // INTERNAL INCLUDES #include -#include +#include +#include +#include namespace Dali { @@ -286,9 +289,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 +401,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 +682,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 +706,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