utc-Dali-Model3dView.cpp
utc-Dali-Visual.cpp
utc-Dali-VisualFactory.cpp
- utc-Dali-DebugRendering.cpp
+ utc-Dali-DebugVisual.cpp
utc-Dali-ImageAtlas.cpp
utc-Dali-VideoView.cpp
)
Property::Value* typeValue = propertyMap.Find( Visual::Property::TYPE, Property::INTEGER );
if ( typeValue )
{
- isDebugVisualType = ( typeValue->Get<int>() == Visual::WIREFRAME ); // Debug Rendering uses the WireframeVisual
+ isDebugVisualType = ( typeValue->Get<int>() == Visual::DEBUG );
}
Actor actor = Actor::New();
}
}
-void dali_debug_rendering_startup(void)
+void dali_debug_renderer_startup(void)
{
test_return_value = TET_UNDEF;
}
-void dali_debug_rendering_cleanup(void)
+void dali_debug_renderer_cleanup(void)
{
test_return_value = TET_PASS;
}
-int UtcDaliDebugRenderingGetVisual1(void)
+int UtcDaliDebugVisualGetVisual1(void)
{
EnvironmentVariable::SetTestingEnvironmentVariable(true);
ToolkitTestApplication application;
- tet_infoline( "UtcDaliDebugRenderingGetVisual1: Request visual with a Property::Map" );
+ tet_infoline( "UtcDaliDebugVisualGetVisual1: Request visual with a Property::Map" );
VisualFactory factory = VisualFactory::Get();
DALI_TEST_CHECK( factory );
END_TEST;
}
-int UtcDaliDebugRenderingGetVisual2(void)
+int UtcDaliDebugVisualGetVisual2(void)
{
EnvironmentVariable::SetTestingEnvironmentVariable(true);
ToolkitTestApplication application;
- tet_infoline( "UtcDaliDebugRenderingGetVisual2: Request visual with various parameters" );
+ tet_infoline( "UtcDaliDebugVisualGetVisual2: Request visual with various parameters" );
VisualFactory factory = VisualFactory::Get();
DALI_TEST_CHECK( factory );
END_TEST;
}
-
-int UtcDaliVisualAnimateBorderVisual01(void)
-{
- ToolkitTestApplication application;
- tet_infoline( "UtcDaliAnimateBorderVisual Color" );
-
- VisualFactory factory = VisualFactory::Get();
- Property::Map propertyMap;
- propertyMap.Insert(Visual::Property::TYPE, Visual::BORDER);
- propertyMap.Insert(BorderVisual::Property::COLOR, Color::BLUE);
- propertyMap.Insert(BorderVisual::Property::SIZE, 5.f);
- Visual::Base borderVisual = factory.CreateVisual( propertyMap );
-
- Actor actor = Actor::New();
- actor.SetSize(2000, 2000);
- actor.SetParentOrigin(ParentOrigin::CENTER);
- Stage::GetCurrent().Add(actor);
- borderVisual.SetOnStage( actor );
-
- DALI_TEST_EQUALS( actor.GetRendererCount(), 1u, TEST_LOCATION);
-
- Renderer renderer = actor.GetRendererAt(0);
- Property::Index index = renderer.GetPropertyIndex( BorderVisual::Property::COLOR );
-
- Animation animation = Animation::New(4.0f);
- animation.AnimateTo( Property(renderer, index), Color::WHITE );
- animation.Play();
-
- application.SendNotification();
- application.Render(0);
- application.Render(2000u); // halfway point between blue and white
-
- Vector4 color = renderer.GetProperty<Vector4>( index );
- Vector4 testColor = (Color::BLUE + Color::WHITE)*0.5f;
- DALI_TEST_EQUALS( color, testColor, TEST_LOCATION );
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("borderColor", testColor ), true, TEST_LOCATION );
-
- application.Render(2000u); // halfway point between blue and white
-
- color = renderer.GetProperty<Vector4>( index );
- DALI_TEST_EQUALS( color, Color::WHITE, TEST_LOCATION );
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("borderColor", Color::WHITE ), true, TEST_LOCATION );
-
- END_TEST;
-}
-
-
-int UtcDaliVisualAnimateBorderVisual02(void)
-{
- ToolkitTestApplication application;
- tet_infoline( "UtcDaliAnimateBorderVisual Size" );
-
- VisualFactory factory = VisualFactory::Get();
- Property::Map propertyMap;
- propertyMap.Insert(Visual::Property::TYPE, Visual::BORDER);
- propertyMap.Insert(BorderVisual::Property::COLOR, Color::BLUE);
- propertyMap.Insert(BorderVisual::Property::SIZE, 5.f);
- Visual::Base borderVisual = factory.CreateVisual( propertyMap );
-
- Actor actor = Actor::New();
- actor.SetSize(2000, 2000);
- actor.SetParentOrigin(ParentOrigin::CENTER);
- Stage::GetCurrent().Add(actor);
- borderVisual.SetOnStage( actor );
-
- DALI_TEST_EQUALS( actor.GetRendererCount(), 1u, TEST_LOCATION);
-
- Renderer renderer = actor.GetRendererAt(0);
- Property::Index index = renderer.GetPropertyIndex( BorderVisual::Property::SIZE );
-
- Animation animation = Animation::New(4.0f);
- animation.AnimateTo( Property(renderer, index), 9.0f );
- animation.Play();
-
- application.SendNotification();
- application.Render(0);
- application.Render(2000u); // halfway point
-
- float size = renderer.GetProperty<float>( index );
- DALI_TEST_EQUALS( size, 7.0f, 0.0001f, TEST_LOCATION );
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<float>("borderSize", 7.0f ), true, TEST_LOCATION );
-
- application.Render(2000u); // halfway point between blue and white
-
- size = renderer.GetProperty<float>( index );
- DALI_TEST_EQUALS( size, 9.0f, 0.0001f, TEST_LOCATION );
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<float>("borderSize", 9.0f ), true, TEST_LOCATION );
-
- END_TEST;
-}
-
-int UtcDaliVisualAnimateColorVisual(void)
-{
- ToolkitTestApplication application;
- tet_infoline( "UtcDaliAnimateColorVisual mixColor" );
-
- VisualFactory factory = VisualFactory::Get();
- Property::Map propertyMap;
- propertyMap.Insert(Visual::Property::TYPE, Visual::COLOR);
- propertyMap.Insert(ColorVisual::Property::MIX_COLOR, Color::BLUE);
- Visual::Base borderVisual = factory.CreateVisual( propertyMap );
-
- Actor actor = Actor::New();
- actor.SetSize(2000, 2000);
- actor.SetParentOrigin(ParentOrigin::CENTER);
- Stage::GetCurrent().Add(actor);
- borderVisual.SetOnStage( actor );
-
- DALI_TEST_EQUALS( actor.GetRendererCount(), 1u, TEST_LOCATION);
-
- Renderer renderer = actor.GetRendererAt(0);
- Property::Index index = renderer.GetPropertyIndex( ColorVisual::Property::MIX_COLOR );
-
- Animation animation = Animation::New(4.0f);
- animation.AnimateTo( Property(renderer, index), Color::WHITE );
- animation.Play();
-
- application.SendNotification();
- application.Render(0);
- application.Render(2000u); // halfway point
-
- Vector4 color = renderer.GetProperty<Vector4>( index );
- Vector4 testColor = (Color::BLUE + Color::WHITE)*0.5f;
- DALI_TEST_EQUALS( color, testColor, TEST_LOCATION );
-
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("mixColor", testColor ), true, TEST_LOCATION );
-
- application.Render(2000u); // halfway point between blue and white
-
- color = renderer.GetProperty<Vector4>( index );
- DALI_TEST_EQUALS( color, Color::WHITE, TEST_LOCATION );
-
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("mixColor", Color::WHITE ), true, TEST_LOCATION );
-
-
- END_TEST;
-}
-
-
-int UtcDaliVisualAnimatePrimitiveVisual(void)
-{
- ToolkitTestApplication application;
- tet_infoline( "UtcDaliAnimatePrimitiveVisual color" );
-
- VisualFactory factory = VisualFactory::Get();
- Property::Map propertyMap;
- propertyMap.Insert(Visual::Property::TYPE, Visual::COLOR);
- propertyMap.Insert(ColorVisual::Property::MIX_COLOR, Color::BLUE);
- Visual::Base borderVisual = factory.CreateVisual( propertyMap );
-
- Actor actor = Actor::New();
- actor.SetSize(2000, 2000);
- actor.SetParentOrigin(ParentOrigin::CENTER);
- actor.SetColor(Color::BLACK);
- Stage::GetCurrent().Add(actor);
- borderVisual.SetOnStage( actor );
-
- DALI_TEST_EQUALS( actor.GetRendererCount(), 1u, TEST_LOCATION);
-
- Renderer renderer = actor.GetRendererAt(0);
- Property::Index index = renderer.GetPropertyIndex( PrimitiveVisual::Property::COLOR );
-
- // The property isn't registered on the renderer, it's instead registered on the shader.
- DALI_TEST_EQUALS( index, Property::INVALID_INDEX, TEST_LOCATION );
-
- Animation animation = Animation::New(4.0f);
- animation.AnimateTo( Property(actor, Actor::Property::COLOR), Color::WHITE );
- animation.Play();
-
- application.SendNotification();
- application.Render(0);
- application.Render(2000u); // halfway point
-
- // Actor color overrides renderer color.
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("uColor", Vector4(0.5f, 0.5f, 0.5f, 1.0f )), true, TEST_LOCATION );
-
- application.Render(2000u); // halfway point between blue and white
-
- DALI_TEST_EQUALS( actor.GetCurrentColor(), Color::WHITE, TEST_LOCATION );
- DALI_TEST_EQUALS( application.GetGlAbstraction().CheckUniformValue<Vector4>("uColor", Color::WHITE ), true, TEST_LOCATION );
-
-
- END_TEST;
-}
-
-int UtcDaliVisualWireframeVisual(void)
-{
- ToolkitTestApplication application;
-
- VisualFactory factory = VisualFactory::Get();
- Property::Map propertyMap;
- propertyMap.Insert( Visual::Property::TYPE, Visual::WIREFRAME );
-
- // Create the visual.
- Visual::Base visual = factory.CreateVisual( propertyMap );
-
- DALI_TEST_CHECK( visual );
-
- Property::Map resultMap;
- visual.CreatePropertyMap( resultMap );
-
- // Check the property values from the returned map from visual
- Property::Value* value = resultMap.Find( Visual::Property::TYPE, Property::INTEGER );
- DALI_TEST_CHECK( value );
- DALI_TEST_CHECK( value->Get<int>() == Visual::WIREFRAME );
- END_TEST;
-}
-
$(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/image/image-visual.cpp \
- $(toolkit_src_dir)/visuals/mesh/mesh-visual.cpp \
- $(toolkit_src_dir)/visuals/npatch/npatch-visual.cpp \
- $(toolkit_src_dir)/visuals/primitive/primitive-visual.cpp \
$(toolkit_src_dir)/visuals/svg/svg-rasterize-thread.cpp \
$(toolkit_src_dir)/visuals/svg/svg-visual.cpp \
- $(toolkit_src_dir)/visuals/wireframe/wireframe-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 \
// CLASS HEADER
-#include "wireframe-visual.h"
+#include "debug-visual.h"
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/visuals/visual-properties.h>
}
-WireframeVisual::WireframeVisual( VisualFactoryCache& factoryCache )
+DebugVisual::DebugVisual( VisualFactoryCache& factoryCache )
: Visual::Base( factoryCache )
{
}
-WireframeVisual::~WireframeVisual()
+DebugVisual::~DebugVisual()
{}
-void WireframeVisual::DoSetOnStage( Actor& actor )
+void DebugVisual::DoSetOnStage( Actor& actor )
{
InitializeRenderer();
}
-void WireframeVisual::DoCreatePropertyMap( Property::Map& map ) const
+void DebugVisual::DoCreatePropertyMap( Property::Map& map ) const
{
map.Clear();
- map.Insert( Toolkit::Visual::Property::TYPE, Toolkit::Visual::WIREFRAME );
+ map.Insert( Toolkit::Visual::Property::TYPE, Toolkit::Visual::DEBUG );
}
-void WireframeVisual::InitializeRenderer()
+void DebugVisual::InitializeRenderer()
{
- mImpl->mRenderer = mFactoryCache.GetWireframeRenderer();
+ mImpl->mRenderer = mFactoryCache.GetDebugRenderer();
if( !mImpl->mRenderer )
{
Geometry geometry = CreateQuadWireframeGeometry();
Shader shader = Shader::New( VERTEX_SHADER, FRAGMENT_SHADER );
mImpl->mRenderer = Renderer::New( geometry, shader);
- mFactoryCache.CacheWireframeRenderer( mImpl->mRenderer );
+ mFactoryCache.CacheDebugRenderer( mImpl->mRenderer );
}
}
-Geometry WireframeVisual::CreateQuadWireframeGeometry()
+Geometry DebugVisual::CreateQuadWireframeGeometry()
{
const float halfWidth = 0.5f;
const float halfHeight = 0.5f;
-#ifndef DALI_TOOLKIT_INTERNAL_WIREFRAME_VISUAL_H
-#define DALI_TOOLKIT_INTERNAL_WIREFRAME_VISUAL_H
+#ifndef DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H
+#define DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
{
/**
- * The visual which renders a wireframe outline to the control's quad.
+ * The visual which renders a wireframe outline to the control's quad for debugging
*
*/
-class WireframeVisual: public Visual::Base
+class DebugVisual: public Visual::Base
{
public:
*
* @param[in] factoryCache A pointer pointing to the VisualFactoryCache object
*/
- WireframeVisual( VisualFactoryCache& factoryCache );
+ DebugVisual( VisualFactoryCache& factoryCache );
/**
* @brief A reference counted object may only be deleted by calling Unreference().
*/
- virtual ~WireframeVisual();
+ virtual ~DebugVisual();
protected:
private:
// Undefined
- WireframeVisual( const WireframeVisual& visual);
+ DebugVisual( const DebugVisual& debugVisual);
// Undefined
- WireframeVisual& operator=( const WireframeVisual& visual );
+ DebugVisual& operator=( const DebugVisual& debugVisual );
};
} // namespace Dali
-#endif // DALI_TOOLKIT_INTERNAL_WIREFRAME_VISUAL_H
+#endif /* DALI_TOOLKIT_INTERNAL_DEBUG_VISUAL_H */
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
return false;
}
-void VisualFactoryCache::CacheWireframeRenderer( Renderer& renderer )
+void VisualFactoryCache::CacheDebugRenderer( Renderer& renderer )
{
- mWireframeRenderer = renderer;
+ mDebugRenderer = renderer;
}
-Renderer VisualFactoryCache::GetWireframeRenderer()
+Renderer VisualFactoryCache::GetDebugRenderer()
{
- return mWireframeRenderer;
+ return mDebugRenderer;
}
Geometry VisualFactoryCache::CreateQuadGeometry()
bool CleanRendererCache( const std::string& key );
/**
- * @brief Cache the wireframe renderer
+ * @brief Cache the debug renderer
*/
- void CacheWireframeRenderer( Renderer& renderer );
+ void CacheDebugRenderer( Renderer& renderer );
/**
- * @brief Request the wireframe renderer;
+ * @brief Request the debug renderer;
*/
- Renderer GetWireframeRenderer();
+ Renderer GetDebugRenderer();
/**
* Get the SVG rasterization thread.
HashVector mRendererHashes;
CachedRenderers mRenderers;
- Renderer mWireframeRenderer;
+ Renderer mDebugRenderer;
SvgRasterizeThread* mSvgRasterizeThread;
};
#include <dali-toolkit/public-api/visuals/visual-properties.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/npatch/npatch-visual.h>
#include <dali-toolkit/internal/visuals/primitive/primitive-visual.h>
-#include <dali-toolkit/internal/visuals/svg/svg-visual.h>
-#include <dali-toolkit/internal/visuals/wireframe/wireframe-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
{
const char * const BROKEN_VISUAL_IMAGE_URL( DALI_IMAGE_DIR "broken.png");
}
-
+
namespace Dali
{
DALI_ENUM_TO_STRING_WITH_SCOPE( Toolkit::Visual, IMAGE )
DALI_ENUM_TO_STRING_WITH_SCOPE( Toolkit::Visual, MESH )
DALI_ENUM_TO_STRING_WITH_SCOPE( Toolkit::Visual, PRIMITIVE )
-DALI_ENUM_TO_STRING_WITH_SCOPE( Toolkit::Visual, WIREFRAME )
+DALI_ENUM_TO_STRING_WITH_SCOPE( Toolkit::Visual, DEBUG )
DALI_ENUM_TO_STRING_TABLE_END( VISUAL_TYPE )
const char * const VISUAL_TYPE( "visualType" );
mFactoryCache = new VisualFactoryCache();
}
- // Return a new WireframeVisual if we have debug enabled
+ // Return a new DebugVisual if we have debug enabled
if( mDebugEnabled )
{
- return Toolkit::Visual::Base( new WireframeVisual( *( mFactoryCache.Get() ) ) );
+ return Toolkit::Visual::Base( new DebugVisual( *( mFactoryCache.Get() ) ) );
}
Visual::Base* visualPtr = NULL;
break;
}
- case Toolkit::Visual::WIREFRAME:
+ case Toolkit::Visual::DEBUG:
{
- visualPtr = new WireframeVisual( *( mFactoryCache.Get() ) );
+ visualPtr = new DebugVisual( *( mFactoryCache.Get() ) );
break;
}
}
if( mDebugEnabled )
{
- return Toolkit::Visual::Base( new WireframeVisual( *( mFactoryCache.Get() ) ) );
+ return Toolkit::Visual::Base( new DebugVisual( *( mFactoryCache.Get() ) ) );
}
NinePatchImage npatchImage = NinePatchImage::DownCast( image );
if( mDebugEnabled )
{
- return Toolkit::Visual::Base( new WireframeVisual( *( mFactoryCache.Get() ) ) );
+ return Toolkit::Visual::Base( new DebugVisual( *( mFactoryCache.Get() ) ) );
}
if( NinePatchImage::IsNinePatchUrl( url ) )
IMAGE, ///< Renders an image into the control's quad. @SINCE_1_1.45
MESH, ///< Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file. @SINCE_1_1.45
PRIMITIVE, ///< Renders a simple 3D shape, such as a cube or sphere. @SINCE_1_1.45
- WIREFRAME, ///< Renders a simple wire-frame outlining a quad. @SINCE_1_1.45
+ DEBUG, ///< Renders a simple wire-frame outlining a quad. @SINCE_1_1.45
};
namespace Property
+ Environment Variables
+ [Resource Tracking](@ref resourcetracking)
+ Logging
- + [Visual Debug Rendering](@ref debugrendering)
+ + [Debug Visual](@ref debugvisual)
+ [Stagehand - DALi Visual Debugger](@ref stagehand)
### Viewing Modes
+++ /dev/null
-<!--
-/**-->
-
-# Debug rendering {#debugrendering}
-
-Setting DALI_DEBUG_RENDERING environment variable will enable the visual debugging.
-
-Then, every concrete visual ( ColorVisual, BorderVisual, ImageVisual, GradientVisual, etc. ) is replaced with a wireframe visual.
-The wireframe visual renders a simple quad wireframe, so that the control layout and scene structure is clearly displayed.
-
-## Example:
-~~~{.bash}
-sh-4.1$ DALI_DEBUG_RENDERING=1 /usr/apps/com.samsung.dali-demo/bin/blocks.example
-~~~
-
-![ ](../assets/img/debug-rendering/debug-blocks.png)
-![ ](debug-blocks.png)
-
-
--- /dev/null
+<!--
+/**-->
+
+# Debug Visual {#debugvisual}
+
+## Enable debug rendering
+
+Setting DALI_DEBUG_RENDERING environment variable will enable the visual debugging.
+
+Then, every concrete visual ( ColorVisual, BorderVisual, ImageVisual, GradientVisual, etc. ) is replaced with a DebugVisual object.
+Debug visual renders a simple quad wireframe, so that the control layout and scene structure is clearly displayed.
+
+### Example:
+~~~{.bash}
+sh-4.1$ DALI_DEBUG_RENDERING=1 /usr/apps/com.samsung.dali-demo/bin/blocks.example
+~~~
+
+![ ](../assets/img/debug-visual/debug-blocks.png)
+![ ](debug-blocks.png)
+
+
+ [Border](@ref border-visual)
+ [Mesh](@ref mesh-visual)
+ [Primitive](@ref primitive-visual)
- + [Wireframe](@ref wireframe-visual)
Controls can provide properties that allow users to specify the visual type ( visualType ).
Setting visual properties are done via a property map.
control.SetProperty( Control::Property::BACKGROUND, map );
~~~
-___________________________________________________________________________________________________
-
-## Wireframe Visual {#wireframe-visual}
-
-Renders a wireframe around a control's quad.
-Is mainly used for debugging and is the visual that replaces all other visuals when [Visual Debug Rendering](@ref debugrendering) is turned on.
-
-![ ](../assets/img/visuals/wireframe-visual.png)
-![ ](visuals/wireframe-visual.png)
-
-### Properties
-
-**VisualType:** Dali::Toolkit::Visual::WIREFRAME, "WIREFRAME"
-
-### Usage
-
-~~~{.cpp}
-// C++
-Dali::Toolkit::Control control = Dali::Toolkit::Control::New();
-
-Dali::Property::Map map;
-map[ Visual::Property::TYPE ] = Dali::Toolkit::Visual::WIREFRAME;
-
-control.SetProperty( Control::Property::BACKGROUND, map );
-~~~
-
-~~~{.js}
-// JavaScript
-var control = new dali.Control( "Control" );
-
-control.background =
-{
- visualType : "WIREFRAME"
-};
-~~~
-
@class _Guide_Control_Visuals