Renaming of header file include ifdefs.
Change-Id: Ie54a0916d0b0f1e24e02570a512659dbd458ba9b
*/
#include <dali-toolkit-test-suite-utils.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
#include <dali/public-api/rendering/renderer.h>
#include <dali/public-api/rendering/geometry.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali-toolkit/devel-api/controls/tool-bar/tool-bar.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
using namespace Dali;
using namespace Toolkit;
#include <dali/public-api/rendering/renderer.h>
#include <dali/public-api/rendering/texture-set.h>
#include <dali/public-api/rendering/shader.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
using namespace Dali;
using namespace Dali::Toolkit;
#include <dali/public-api/rendering/renderer.h>
#include <dali/public-api/rendering/texture-set.h>
#include <dali/public-api/rendering/shader.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
using namespace Dali;
using namespace Dali::Toolkit;
$(devel_api_src_dir)/controls/magnifier/magnifier.cpp \
$(devel_api_src_dir)/controls/popup/confirmation-popup.cpp \
$(devel_api_src_dir)/controls/popup/popup.cpp \
- $(devel_api_src_dir)/controls/visual-factory/visual-factory.cpp \
- $(devel_api_src_dir)/controls/visual-factory/visual.cpp \
$(devel_api_src_dir)/controls/shadow-view/shadow-view.cpp \
$(devel_api_src_dir)/controls/super-blur-view/super-blur-view.cpp \
$(devel_api_src_dir)/controls/text-controls/text-selection-popup.cpp \
$(devel_api_src_dir)/transition-effects/cube-transition-cross-effect.cpp \
$(devel_api_src_dir)/transition-effects/cube-transition-effect.cpp \
$(devel_api_src_dir)/transition-effects/cube-transition-fold-effect.cpp \
- $(devel_api_src_dir)/transition-effects/cube-transition-wave-effect.cpp
+ $(devel_api_src_dir)/transition-effects/cube-transition-wave-effect.cpp \
+ $(devel_api_src_dir)/visual-factory/visual-factory.cpp \
+ $(devel_api_src_dir)/visual-factory/visual.cpp
# Add devel header files here
$(devel_api_src_dir)/controls/popup/popup.h
devel_api_visual_factory_header_files = \
- $(devel_api_src_dir)/controls/visual-factory/visual-factory.h \
- $(devel_api_src_dir)/controls/visual-factory/visual.h
+ $(devel_api_src_dir)/visual-factory/visual-factory.h \
+ $(devel_api_src_dir)/visual-factory/visual.h
devel_api_shadow_view_header_files = \
$(devel_api_src_dir)/controls/shadow-view/shadow-view.h
#include <dali/devel-api/adaptor-framework/environment-variable.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
namespace Dali
{
#include <dali/public-api/object/property-map.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/controls/visual-factory/visual.h>
+#include <dali-toolkit/devel-api/visual-factory/visual.h>
namespace Dali
{
}
/**
- * @brief VisualFactory is a singleton object that provides and shares renderers for controls
+ * @brief VisualFactory is a singleton object that provides and shares visuals between controls
*
* By setting environment variable 'DALI_DEBUG_RENDERING', all concrete renderer is replaced with the debug renderer which renders a quad wireframe.
*
*/
// CLASS HEADER
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
#include "visual.h"
namespace Dali
void GetNaturalSize( Vector2& naturalSize ) const;
/**
- * @brief Set the depth index of this renderer.
+ * @brief Set the depth index of this visual.
*
- * Depth-index controls draw-order for overlapping renderers.
+ * Depth-index controls draw-order for overlapping visuals.
* Renderer with higher depth indices are rendered in front of other renderer with smaller values
*
- * @param[in] index The depth index of this renderer.
+ * @param[in] index The depth index of this visual.
*/
void SetDepthIndex( float index );
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/text-controls/text-label.h>
#include <dali-toolkit/public-api/controls/image-view/image-view.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
/**
* Button states and contents
// INTERNAL INCLUDES
#include <dali-toolkit/devel-api/controls/control-depth-index-ranges.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
#include <dali-toolkit/internal/filters/blur-two-pass-filter.h>
#include <dali-toolkit/internal/filters/emboss-filter.h>
#include <dali-toolkit/internal/filters/spread-filter.h>
#include <dali-toolkit/devel-api/controls/effects-view/effects-view.h>
#include <dali-toolkit/public-api/controls/control-impl.h>
#include <dali-toolkit/public-api/controls/gaussian-blur-view/gaussian-blur-view.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
namespace Dali
{
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/image-view/image-view.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
#include <dali/public-api/object/property-map.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/image/image-visual.h>
+#include <dali-toolkit/internal/visuals/image/image-visual.h>
#include <dali-toolkit/public-api/controls/control-impl.h>
#include <dali-toolkit/public-api/controls/image-view/image-view.h>
/**
* @brief Set the depth index of this image renderer
*
- * Renderer with higher depth indices are rendered in front of other renderers with smaller values
+ * Renderer with higher depth indices are rendered in front of other visuals with smaller values
*
* @param[in] depthIndex The depth index of this renderer
*/
#include <dali/public-api/object/property-map.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
namespace Dali
{
// INTERNAL INCLUDES
#include <dali-toolkit/internal/controls/page-turn-view/page-turn-effect.h>
#include <dali-toolkit/internal/controls/page-turn-view/page-turn-book-spine-effect.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
using namespace Dali;
#include <dali/integration-api/debug.h>
// INTERNAL_INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace //Unnamed namespace
{
#include <dali-toolkit/public-api/controls/control-impl.h>
#include <dali-toolkit/devel-api/controls/super-blur-view/super-blur-view.h>
#include <dali-toolkit/public-api/controls/gaussian-blur-view/gaussian-blur-view.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
namespace Dali
{
// Call the Control::OnStageConnection() to set the depth of the background.
Control::OnStageConnection( depth );
- // Sets the depth to the renderers inside the text's decorator.
+ // Sets the depth to the visuals inside the text's decorator.
mDecorator->SetTextDepth( depth );
// The depth of the text renderer is set in the RenderText() called from OnRelayout().
// Call the Control::OnStageConnection() to set the depth of the background.
Control::OnStageConnection( depth );
- // Sets the depth to the renderers inside the text's decorator.
+ // Sets the depth to the visuals inside the text's decorator.
mDecorator->SetTextDepth( depth );
// The depth of the text renderer is set in the RenderText() called from OnRelayout().
-#ifndef __DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H__
-#define __DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H__
+#ifndef DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H
+#define DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
#include <dali/devel-api/adaptor-framework/video-player.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/image/image-visual.h>
+#include <dali-toolkit/internal/visuals/image/image-visual.h>
#include <dali-toolkit/public-api/controls/control-impl.h>
#include <dali-toolkit/public-api/controls/video-view/video-view.h>
/**
* @brief Set the depth index of this image renderer
*
- * Renderer with higher depth indices are rendered in front of other renderers with smaller values
+ * Renderer with higher depth indices are rendered in front of other visuals with smaller values
* @SINCE_1_1.38
* @param[in] depthIndex The depth index of this renderer
*/
} // namespace Dali
-#endif // __DALI_TOOLKIT_VIDEO_VIEW_H__
+#endif // DALI_TOOLKIT_VIDEO_VIEW_H
$(toolkit_src_dir)/builder/json-parser-impl.cpp \
$(toolkit_src_dir)/builder/tree-node-manipulator.cpp \
$(toolkit_src_dir)/builder/replacement.cpp \
- $(toolkit_src_dir)/controls/renderers/visual-impl.cpp \
- $(toolkit_src_dir)/controls/renderers/visual-data-impl.cpp \
- $(toolkit_src_dir)/controls/renderers/image-atlas-manager.cpp \
- $(toolkit_src_dir)/controls/renderers/visual-factory-cache.cpp \
- $(toolkit_src_dir)/controls/renderers/visual-factory-impl.cpp \
- $(toolkit_src_dir)/controls/renderers/visual-string-constants.cpp \
- $(toolkit_src_dir)/controls/renderers/border/border-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/color/color-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/debug/debug-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/image/image-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/npatch/npatch-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/gradient/gradient.cpp \
- $(toolkit_src_dir)/controls/renderers/gradient/linear-gradient.cpp \
- $(toolkit_src_dir)/controls/renderers/gradient/radial-gradient.cpp \
- $(toolkit_src_dir)/controls/renderers/gradient/gradient-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/svg/svg-rasterize-thread.cpp \
- $(toolkit_src_dir)/controls/renderers/svg/svg-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/mesh/mesh-visual.cpp \
- $(toolkit_src_dir)/controls/renderers/primitive/primitive-visual.cpp \
+ $(toolkit_src_dir)/visuals/visual-impl.cpp \
+ $(toolkit_src_dir)/visuals/visual-data-impl.cpp \
+ $(toolkit_src_dir)/visuals/image-atlas-manager.cpp \
+ $(toolkit_src_dir)/visuals/visual-factory-cache.cpp \
+ $(toolkit_src_dir)/visuals/visual-factory-impl.cpp \
+ $(toolkit_src_dir)/visuals/visual-string-constants.cpp \
+ $(toolkit_src_dir)/visuals/border/border-visual.cpp \
+ $(toolkit_src_dir)/visuals/color/color-visual.cpp \
+ $(toolkit_src_dir)/visuals/debug/debug-visual.cpp \
+ $(toolkit_src_dir)/visuals/image/image-visual.cpp \
+ $(toolkit_src_dir)/visuals/npatch/npatch-visual.cpp \
+ $(toolkit_src_dir)/visuals/gradient/gradient.cpp \
+ $(toolkit_src_dir)/visuals/gradient/linear-gradient.cpp \
+ $(toolkit_src_dir)/visuals/gradient/radial-gradient.cpp \
+ $(toolkit_src_dir)/visuals/gradient/gradient-visual.cpp \
+ $(toolkit_src_dir)/visuals/svg/svg-rasterize-thread.cpp \
+ $(toolkit_src_dir)/visuals/svg/svg-visual.cpp \
+ $(toolkit_src_dir)/visuals/mesh/mesh-visual.cpp \
+ $(toolkit_src_dir)/visuals/primitive/primitive-visual.cpp \
$(toolkit_src_dir)/controls/alignment/alignment-impl.cpp \
$(toolkit_src_dir)/controls/bloom-view/bloom-view-impl.cpp \
$(toolkit_src_dir)/controls/bubble-effect/bubble-emitter-impl.cpp \
#include <dali/devel-api/images/texture-set-image.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
namespace Dali
{
// EXTERNAL INCLUDES
#include <dali/public-api/render-tasks/render-task.h>
#include <dali-toolkit/public-api/controls/image-view/image-view.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual.h>
+#include <dali-toolkit/devel-api/visual-factory/visual.h>
#include "image-filter.h"
namespace Dali
#include <cstring> // for strcmp
#include <dali/public-api/object/type-registry.h>
#include <dali/public-api/object/type-registry-helper.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
#include <dali/integration-api/debug.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
namespace Dali
{
#include <dali/integration-api/debug.h>
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace Dali
{
-#ifndef DALI_TOOLKIT_INTERNAL_BORDER_RENDERER_H
-#define DALI_TOOLKIT_INTERNAL_BORDER_RENDERER_H
+#ifndef DALI_TOOLKIT_INTERNAL_BORDER_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_BORDER_VISUAL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
#include <dali/public-api/rendering/geometry.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
} // namespace Dali
-#endif // DALI_TOOLKIT_INTERNAL_BORDER_RENDERER_H
+#endif // DALI_TOOLKIT_INTERNAL_BORDER_VISUAL_H
#include <dali/integration-api/debug.h>
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_COLOR_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_COLOR_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_COLOR_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_COLOR_VISUAL_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_COLOR_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_COLOR_VISUAL_H */
#include "debug-visual.h"
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_DEBUG_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_DEBUG_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_DEBUG_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H */
#include <dali/public-api/object/property-array.h>
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/gradient/linear-gradient.h>
-#include <dali-toolkit/internal/controls/renderers/gradient/radial-gradient.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/gradient/linear-gradient.h>
+#include <dali-toolkit/internal/visuals/gradient/radial-gradient.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_GRADIENT_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_GRADIENT_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_GRADIENT_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_GRADIENT_VISUAL_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
-#include <dali-toolkit/internal/controls/renderers/gradient/gradient.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/gradient/gradient.h>
namespace Dali
{
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_GRADIENT_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_GRADIENT_VISUAL_H */
-#ifndef __DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H__
-#define __DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H__
+#ifndef DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H
+#define DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*
*/
-#include <dali-toolkit/internal/controls/renderers/gradient/gradient.h>
+#include <dali-toolkit/internal/visuals/gradient/gradient.h>
#include <dali/public-api/math/vector2.h>
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_LINEAR_GRADIENT_H */
-#ifndef __DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H__
-#define __DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H__
+#ifndef DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H
+#define DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*
*/
-#include <dali-toolkit/internal/controls/renderers/gradient/gradient.h>
+#include <dali-toolkit/internal/visuals/gradient/gradient.h>
#include <dali/public-api/math/vector2.h>
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_RADIAL_GRADIENT_H */
#include <dali/integration-api/debug.h>
// INTERNAL HEADER
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
-#include <dali-toolkit/internal/controls/renderers/image-atlas-manager.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/image-atlas-manager.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_IMAGE_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_IMAGE_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_IMAGE_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_IMAGE_VISUAL_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
-#include <dali-toolkit/internal/controls/renderers/image-atlas-manager.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/image-atlas-manager.h>
// EXTERNAL INCLUDES
#include <dali/public-api/images/image.h>
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_IMAGE_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_IMAGE_VISUAL_H */
#include <fstream>
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_MESH_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_MESH_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_MESH_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_MESH_VISUAL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
#include <string.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
#include <dali-toolkit/internal/controls/model3d-view/obj-loader.h>
namespace Dali
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_MESH_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_MESH_VISUAL_H */
#include <dali/devel-api/images/texture-set-image.h>
// INTERNAL IINCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace Dali
-#ifndef DALI_TOOLKIT_INTERNAL_N_PATCH_RENDERER_H
-#define DALI_TOOLKIT_INTERNAL_N_PATCH_RENDERER_H
+#ifndef DALI_TOOLKIT_INTERNAL_N_PATCH_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_N_PATCH_VISUAL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
// EXTERNAL INCLUDES
#include <dali/public-api/images/image.h>
Shader CreateShader();
/**
- * @brief Creates a geometry for the grid size to be used by this renderers' shaders
+ * @brief Creates a geometry for the grid size to be used by this visuals' shaders
*
* @param[in] gridSize The grid size of the solid geometry to create
* @return Returns the created geometry for the grid size
Geometry CreateGeometry( Uint16Pair gridSize );
/**
- * @brief Creates a geometry with the border only for the grid size to be used by this renderers' shaders
+ * @brief Creates a geometry with the border only for the grid size to be used by this visuals' shaders
* e.g. a 5x4 grid would create a geometry that would look like:
*
* ---------------------
} // namespace Dali
-#endif // DALI_TOOLKIT_INTERNAL_N_PATCH_RENDERER_H
+#endif // DALI_TOOLKIT_INTERNAL_N_PATCH_VISUAL_H
#include <dali/public-api/common/constants.h>
//INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace Dali
{
-#ifndef DALI_TOOLKIT_INTERNAL_PRIMITIVE_RENDERER_H
-#define DALI_TOOLKIT_INTERNAL_PRIMITIVE_RENDERER_H
+#ifndef DALI_TOOLKIT_INTERNAL_PRIMITIVE_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_PRIMITIVE_VISUAL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
} // namespace Dali
-#endif /* DALI_TOOLKIT_INTERNAL_PRIMITIVE_RENDERER_H */
+#endif /* DALI_TOOLKIT_INTERNAL_PRIMITIVE_VISUAL_H */
// INTERNAL INCLUDES
#include <dali-toolkit/third-party/nanosvg/nanosvgrast.h>
-#include <dali-toolkit/internal/controls/renderers/svg/svg-visual.h>
+#include <dali-toolkit/internal/visuals/svg/svg-visual.h>
namespace Dali
{
// INTERNAL INCLUDES
#include <dali-toolkit/third-party/nanosvg/nanosvg.h>
-#include <dali-toolkit/internal/controls/renderers/svg/svg-rasterize-thread.h>
-#include <dali-toolkit/internal/controls/renderers/image/image-visual.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/svg/svg-rasterize-thread.h>
+#include <dali-toolkit/internal/visuals/image/image-visual.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace
-#ifndef __DALI_TOOLKIT_INTERNAL_SVG_RENDERER_H__
-#define __DALI_TOOLKIT_INTERNAL_SVG_RENDERER_H__
+#ifndef DALI_TOOLKIT_INTERNAL_SVG_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_SVG_VISUAL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*/
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
-#include <dali-toolkit/internal/controls/renderers/image-atlas-manager.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
+#include <dali-toolkit/internal/visuals/image-atlas-manager.h>
struct NSVGimage;
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_SVG_RENDERER_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_SVG_VISUAL_H */
-#ifndef DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_DATA_IMPL_H
-#define DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_DATA_IMPL_H
+#ifndef DALI_TOOLKIT_INTERNAL_VISUAL_DATA_IMPL_H
+#define DALI_TOOLKIT_INTERNAL_VISUAL_DATA_IMPL_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
#include <dali/public-api/rendering/renderer.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
+#include <dali-toolkit/internal/visuals/visual-impl.h>
namespace Dali
{
} // namespace Dali
-#endif // DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_DATA_IMPL_H
+#endif // DALI_TOOLKIT_INTERNAL_VISUAL_DATA_IMPL_H
#include <dali/devel-api/common/hash.h>
// INTERNAL HEADER
-#include <dali-toolkit/internal/controls/renderers/color/color-visual.h>
-#include <dali-toolkit/internal/controls/renderers/svg/svg-visual.h>
+#include <dali-toolkit/internal/visuals/color/color-visual.h>
+#include <dali-toolkit/internal/visuals/svg/svg-visual.h>
namespace Dali
{
-#ifndef DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H
-#define DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H
+#ifndef DALI_TOOLKIT_VISUAL_FACTORY_CACHE_H
+#define DALI_TOOLKIT_VISUAL_FACTORY_CACHE_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
typedef Dali::OwnerContainer< const CachedRenderer* > CachedRenderers;
/**
- * @brief Finds the first index into the cached renderers from the url
+ * @brief Finds the first index into the cached visuals from the url
*
* @return Returns the first index into the cached renderer from the url if it exists in the cache, otherwise returns -1
*/
} // namespace Dali
-#endif // DALI_TOOLKIT_RENDERER_FACTORY_CACHE_H
+#endif // DALI_TOOLKIT_VISUAL_FACTORY_CACHE_H
*/
// CLASS HEADER
-#include <dali-toolkit/internal/controls/renderers/visual-factory-impl.h>
+#include <dali-toolkit/internal/visuals/visual-factory-impl.h>
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
#include <dali/public-api/object/type-registry-helper.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/border/border-visual.h>
-#include <dali-toolkit/internal/controls/renderers/color/color-visual.h>
-#include <dali-toolkit/internal/controls/renderers/debug/debug-visual.h>
-#include <dali-toolkit/internal/controls/renderers/gradient/gradient-visual.h>
-#include <dali-toolkit/internal/controls/renderers/npatch/npatch-visual.h>
-#include <dali-toolkit/internal/controls/renderers/image/image-visual.h>
-#include <dali-toolkit/internal/controls/renderers/svg/svg-visual.h>
-#include <dali-toolkit/internal/controls/renderers/mesh/mesh-visual.h>
-#include <dali-toolkit/internal/controls/renderers/primitive/primitive-visual.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
-#include <dali-toolkit/internal/controls/renderers/image-atlas-manager.h>
+#include <dali-toolkit/internal/visuals/border/border-visual.h>
+#include <dali-toolkit/internal/visuals/color/color-visual.h>
+#include <dali-toolkit/internal/visuals/debug/debug-visual.h>
+#include <dali-toolkit/internal/visuals/gradient/gradient-visual.h>
+#include <dali-toolkit/internal/visuals/npatch/npatch-visual.h>
+#include <dali-toolkit/internal/visuals/image/image-visual.h>
+#include <dali-toolkit/internal/visuals/svg/svg-visual.h>
+#include <dali-toolkit/internal/visuals/mesh/mesh-visual.h>
+#include <dali-toolkit/internal/visuals/primitive/primitive-visual.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/image-atlas-manager.h>
namespace
{
-#ifndef __DALI_TOOLKIT_RENDERER_FACTORY_IMPL_H__
-#define __DALI_TOOLKIT_RENDERER_FACTORY_IMPL_H__
+#ifndef DALI_TOOLKIT_VISUAL_FACTORY_IMPL_H
+#define DALI_TOOLKIT_VISUAL_FACTORY_IMPL_H
/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
#include <dali/public-api/object/base-object.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
-#include "../../../devel-api/controls/visual-factory/visual.h"
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual.h>
namespace Dali
{
} // namespace Dali
-#endif /* __DALI_TOOLKIT_RENDERER_FACTORY_IMPL_H__ */
+#endif /* DALI_TOOLKIT_VISUAL_FACTORY_IMPL_H */
#include <dali/integration-api/debug.h>
//INTERNAL HEARDER
-#include <dali-toolkit/internal/controls/renderers/visual-data-impl.h>
+#include <dali-toolkit/internal/visuals/visual-data-impl.h>
namespace
{
#include <dali/public-api/rendering/shader.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
-#include <dali-toolkit/internal/controls/renderers/visual-factory-cache.h>
-#include "../../../devel-api/controls/visual-factory/visual.h"
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
+#include <dali-toolkit/internal/visuals/visual-factory-cache.h>
+#include <dali-toolkit/devel-api/visual-factory/visual.h>
namespace Dali
{
-#ifndef __DALI_TOOLKIT_INTERNAL_RENDERER_STRING_CONSTANTS_H__
-#define __DALI_TOOLKIT_INTERNAL_RENDERER_STRING_CONSTANTS_H__
+#ifndef DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H
+#define DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
} // namespace Dali
-#endif /* __DALI_TOOLKIT_INTERNAL_RENDERER_STRING_CONSTANTS_H__ */
+#endif /* DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H */
#include <dali-toolkit/public-api/controls/control.h>
#include <dali-toolkit/public-api/styling/style-manager.h>
#include <dali-toolkit/devel-api/controls/control-depth-index-ranges.h>
-#include <dali-toolkit/devel-api/controls/visual-factory/visual-factory.h>
+#include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
#include <dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h>
#include <dali-toolkit/internal/styling/style-manager-impl.h>
-#include <dali-toolkit/internal/controls/renderers/color/color-visual.h>
-#include <dali-toolkit/internal/controls/renderers/visual-string-constants.h>
+#include <dali-toolkit/internal/visuals/color/color-visual.h>
+#include <dali-toolkit/internal/visuals/visual-string-constants.h>
namespace Dali
{