X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fbackground.h;h=10073cbbd4cab10289a875df3278cdc0aa1cbd72;hp=ef2d9330a9b97b79478edd5bb8555b4466f0e7c3;hb=HEAD;hpb=8a358acc76e2d526e5ce16a048592e7c944d6a7d diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index ef2d933..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","BORDER"); -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: