X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fslider%2Fslider-impl.h;h=c9fdc608f60df756d2eecfc5ee77ec84e3f1af2a;hb=refs%2Fchanges%2F83%2F55083%2F8;hp=d4ac718b6bf7790057c69c820e3be29624a251d4;hpb=57869973578f6a0b0f836d396c7232ddb8302c6b;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 d4ac718..c9fdc60 100755 --- a/dali-toolkit/internal/controls/slider/slider-impl.h +++ b/dali-toolkit/internal/controls/slider/slider-impl.h @@ -19,13 +19,14 @@ */ // EXTERNAL INCLUDES -#include #include +#include // INTERNAL INCLUDES #include -#include -#include +#include +#include +#include namespace Dali { @@ -49,13 +50,6 @@ class Slider : public Control { public: - // Properties - enum - { - SLIDER_PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, - SLIDER_PROPERTY_END_INDEX = SLIDER_PROPERTY_START_INDEX + 1000 ///< Reserving 1000 property indices - }; - typedef Property::Array MarkList; /** @@ -294,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: @@ -406,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 @@ -687,15 +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::TextView mValueTextView; //< The text value in popup - Toolkit::TextView mHandleValueTextView; ///< The text value on handle + 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 @@ -711,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