X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscroll-component%2Fscroll-bar-internal-impl.h;fp=dali-toolkit%2Finternal%2Fcontrols%2Fscroll-component%2Fscroll-bar-impl.h;h=22e92ff46ae494afd45d45f61e6f0ac5689843ad;hp=30248ca847d3c8193620b34b0a9c42df9db16cfb;hb=818994dc0acac601b0b27c0b715259b504ef4ceb;hpb=7c48d81eb1f49aab3c852ab83c9f688cfdfadd0d diff --git a/dali-toolkit/internal/controls/scroll-component/scroll-bar-impl.h b/dali-toolkit/internal/controls/scroll-component/scroll-bar-internal-impl.h similarity index 76% rename from dali-toolkit/internal/controls/scroll-component/scroll-bar-impl.h rename to dali-toolkit/internal/controls/scroll-component/scroll-bar-internal-impl.h index 30248ca..22e92ff 100755 --- a/dali-toolkit/internal/controls/scroll-component/scroll-bar-impl.h +++ b/dali-toolkit/internal/controls/scroll-component/scroll-bar-internal-impl.h @@ -1,5 +1,5 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_H__ -#define __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_H__ +#ifndef __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_INTERNAL_H__ +#define __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_INTERNAL_H__ // // Copyright (c) 2014 Samsung Electronics Co., Ltd. @@ -20,7 +20,7 @@ // INTERNAL INCLUDES #include #include -#include +#include #include namespace Dali @@ -33,43 +33,43 @@ namespace Internal { /** - * ScrollBar is a UI component that can be added to the sides of the ScrollView + * ScrollBarInternal is a UI component that can be added to the sides of the ScrollView * indicating the current scroll position within the domain. */ -class ScrollBar : public ScrollComponent +class ScrollBarInternal : public ScrollComponent { public: /** - * ScrollBar constructor. + * ScrollBarInternal constructor. * @param[in] container Reference to the container of scroll bar - * @param[in] vertical Whether ScrollBar should be oriented vertically (true) + * @param[in] vertical Whether ScrollBarInternal should be oriented vertically (true) * or horizontally (false) */ - ScrollBar(Toolkit::Scrollable& container, bool vertical); + ScrollBarInternal(Toolkit::Scrollable& container, bool vertical); /** * Virtual destructor */ - virtual ~ScrollBar(); + virtual ~ScrollBarInternal(); /** - * Create an initialized ScrollBar + * Create an initialized ScrollBarInternal * @param[in] container Reference to the container of scroll bar - * @param[in] vertical Whether ScrollBar should be oriented vertically (true) + * @param[in] vertical Whether ScrollBarInternal should be oriented vertically (true) * or horizontally (false) - * @return A pointer to the created ScrollBar. + * @return A pointer to the created ScrollBarInternal. */ - static Toolkit::ScrollBar New(Toolkit::Scrollable& container, bool vertical); + static Toolkit::ScrollBarInternal New(Toolkit::Scrollable& container, bool vertical); /** - * Show ScrollBar + * Show ScrollBarInternal */ void Show(); /** - * Hide ScrollBar + * Hide ScrollBarInternal */ void Hide(); @@ -144,26 +144,26 @@ private: // Helpers for public-api forwarding methods -inline Toolkit::Internal::ScrollBar& GetImpl(Toolkit::ScrollBar& scrollBar) +inline Toolkit::Internal::ScrollBarInternal& GetImpl(Toolkit::ScrollBarInternal& scrollBar) { DALI_ASSERT_ALWAYS(scrollBar); Dali::RefObject& handle = scrollBar.GetImplementation(); - return static_cast(handle); + return static_cast(handle); } -inline const Toolkit::Internal::ScrollBar& GetImpl(const Toolkit::ScrollBar& scrollBar) +inline const Toolkit::Internal::ScrollBarInternal& GetImpl(const Toolkit::ScrollBarInternal& scrollBar) { DALI_ASSERT_ALWAYS(scrollBar); const Dali::RefObject& handle = scrollBar.GetImplementation(); - return static_cast(handle); + return static_cast(handle); } } // namespace Toolkit } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_H__ +#endif // __DALI_TOOLKIT_INTERNAL_SCROLL_BAR_INTERNAL_H__