ne_ven_addNewColor

VColorDefinition *sbne::ne_ven_addNewColor(Veneer *ven, std::string colorId = "", std::string value = "")

Creates a VColorDefinition object, sets the values of its attributes, and adds it to the Veneer object.

Parameters
  • ven – a pointer to the Veneer object.

  • colorId – a string to use as the value of the “id” attribute of the VColorDefinition object.

  • value – a string to use as the value of the “value” attribute of the VColorDefinition object.

Returns

a pointer to the added VColorDefinition object.