-#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.
// EXTERNAL INCLUDES
#include <dali/devel-api/common/map-wrapper.h>
#include <dali/public-api/actors/layer.h>
-#include <dali/devel-api/rendering/renderer.h>
+#include <dali/public-api/rendering/renderer.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/control-impl.h>
/**
* Apply an effect onto the page actor.
- * @param[in] shader The shader for rendering effect.
+ * @param[in] newShader The shader for rendering effect.
*/
- void UseEffect(Shader shader);
+ void UseEffect(Shader newShader);
/**
* Apply an effect onto the page actor.
- * @param[in] shader The shader for rendering effect.
+ * @param[in] newShader The shader for rendering effect.
* @param[in] geometry The geometry for rendering effect.
*/
- void UseEffect(Shader shader, Geometry geometry);
+ void UseEffect(Shader newShader, Geometry geometry);
/**
* Change the page turning direction.
void SetCurrentCenter( const Vector2& value );
Actor actor; ///< The page actor
- Material material; ///< The material of the actor
+ Shader shader; ///< The shader used by the actor
+ TextureSet textureSet; ///< The set of textures used by the actor
Renderer renderer; ///< The renderer of the actor
bool isTurnBack; ///< The turning direction
Property::Index propertyPanDisplacement; ///< The horizontal displacement of the pan
} // namespace Toolkit
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H__ */
+
+#endif // DALI_TOOLKIT_INTERNAL_PAGE_TURN_VIEW_IMPL_H