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=047dfe5772f17f7bd63ffc139f8d4e5b23b9fdb4;hb=HEAD;hpb=805ae527fca54726f894fb9936c288c7c0f7dbe7 diff --git a/docs/content/programming-guide/background.h b/docs/content/programming-guide/background.h index 047dfe5..10073cb 100644 --- a/docs/content/programming-guide/background.h +++ b/docs/content/programming-guide/background.h @@ -62,9 +62,9 @@ then the above image will look like: The background can be set to use a specified visual, e.g the border visual @code Property::Map visual; -visual.Insert("rendererType","BORDER"); -visual.Insert("borderColor",COLOR::RED); -visual.Insert("borderSize",20.f); +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, visual); @endcode