X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fwireframe%2Fwireframe-visual.h;h=19cbc4676947c8146e8401c79df156a79edf7c12;hb=d0b03f52573948c53cdca89ec5e3be201737c3bb;hp=805e2c7963e17f9f8238e2962580255ca7a997d1;hpb=02318dd256a2edbef78a37cd40e153279385cc94;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/wireframe/wireframe-visual.h b/dali-toolkit/internal/visuals/wireframe/wireframe-visual.h index 805e2c7..19cbc46 100644 --- a/dali-toolkit/internal/visuals/wireframe/wireframe-visual.h +++ b/dali-toolkit/internal/visuals/wireframe/wireframe-visual.h @@ -18,6 +18,9 @@ * */ +// EXTERNAL INCLUDES +#include + // INTERNAL INCLUDES #include @@ -30,15 +33,27 @@ namespace Toolkit namespace Internal { +class WireframeVisual; +typedef IntrusivePtr< WireframeVisual > WireframeVisualPtr; + /** - * The visual which renders a wireframe outline to the control's quad. - * + * @brief Renders a wireframe outline to the control's quad. */ class WireframeVisual: public Visual::Base { public: /** + * @brief Create a new wireframe visual. + * + * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object + * @return A smart-pointer to the newly allocated visual. + */ + static WireframeVisualPtr New( VisualFactoryCache& factoryCache ); + +protected: + + /** * @brief Constructor. * * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object @@ -50,7 +65,10 @@ public: */ virtual ~WireframeVisual(); -protected: + /** + * @copydoc Visual::Base::DoSetProperties() + */ + virtual void DoSetProperties( const Property::Map& propertyMap ); /** * @copydoc Visual::Base::DoSetOnStage @@ -72,6 +90,11 @@ protected: */ virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ); + /** + * @copydoc Visual::Base::OnSetTransform + */ + virtual void OnSetTransform(); + private: /** * Create the geometry which presents the quad wireframe.