X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fbackground.h;h=10073cbbd4cab10289a875df3278cdc0aa1cbd72;hb=refs%2Fchanges%2F90%2F240190%2F4;hp=132fe19f99aa66fed3707d0d8d049376cf5409b7;hpb=408a61e446173b2ede857332db1c4587b3f4c230;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index 132fe19..10073cb 100644 --- a/docs/content/programming-guide/background.h +++ b/docs/content/programming-guide/background.h @@ -57,16 +57,16 @@ then the above image will look like: -@section background-renderer Background Renderer +@section background-visual Background Visual -The background can be set to use a specified renderer, e.g the border renderer +The background can be set to use a specified visual, e.g the border visual @code -Property::Map renderer; -renderer.Insert("rendererType","borderRenderer"); -renderer.Insert("borderColor",COLOR::RED); -renderer.Insert("borderSize",20.f); +Property::Map visual; +visual.Insert( Visual::Property::Type,Visual::BORDER ); +visual.Insert( BorderVisual::Property::COLOR, COLOR::RED ); +visual.Insert( BorderVisual::Property::SIZE, 20.f ); -control.SetProperty( Control::Property::BACKGROUND, renderer); +control.SetProperty( Control::Property::BACKGROUND, visual); @endcode then the above image will look like: