X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpage-turn-view%2Fpage-turn-view-impl.h;h=7023daf39c3175476466f73dc57c2cfd8053746c;hb=f546dd5d83a968e573f8f053a01ce43df32c71a0;hp=1f4bc167a777b787787fcde29375e0cf3e3f93fc;hpb=726e147d14bb18ef193b102a36d8068b62db89ed;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h b/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h index 1f4bc16..7023daf 100644 --- a/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h +++ b/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H__ -#define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H__ +#ifndef DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H +#define DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ // EXTERNAL INCLUDES #include #include -#include +#include // INTERNAL INCLUDES #include -#include -#include +#include +#include #include namespace Dali @@ -57,10 +57,10 @@ protected: ~Page(){}; /** - * Set the page image content - * @param[in] image The content of the page. + * Set the page texture content + * @param[in] texture The content of the page. */ - void SetImage( Image image ); + void SetTexture( Texture texture ); /** * Apply an effect onto the page actor. @@ -123,7 +123,7 @@ protected: * Constructor. * It initializes the PageTurnView members */ - PageTurnView( PageFactory& pageFactory, const Vector2& pageSize ); + PageTurnView( PageFactory& pageFactory, const Vector2& viewPageSize ); /** * A reference counted object may only be deleted by calling Unreference() @@ -134,9 +134,9 @@ public: /** * Set the page size - * @param[in] pageSize The size of pages + * @param[in] viewPageSize The size of pages */ - void SetPageSize( const Vector2& pageSize ); + void SetPageSize( const Vector2& viewPageSize ); /** * Retrieve the page size. @@ -250,22 +250,22 @@ private: // from Control /** * @copydoc Toolkit::Control::OnPan */ - virtual void OnPan( const PanGesture& gesture ); + void OnPan( const PanGesture& gesture ) override; /** * @copydoc Toolkit::Control::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** - * @copydoc CustomActorImpl::OnStageConnection() + * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnStageConnection( int depth ); + void OnSceneConnection( int depth ) override; /** - * @copydoc CustomActorImpl::OnStageDisconnection() + * @copydoc CustomActorImpl::OnSceneDisconnection() */ - virtual void OnStageDisconnection(); + void OnSceneDisconnection() override; private: // implemented differently by PageTurnLandscapeView and PageTurnPortraitView @@ -454,4 +454,5 @@ inline const Toolkit::Internal::PageTurnView& GetImplementation(const Toolkit::P } // namespace Toolkit } // namespace Dali -#endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H__ */ + +#endif // DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H