|
Kanzi Graphics Engine
|
Property manager. More...
Functions | |
| kzsError | kzuPropertyBoolValueSourceCreate (const struct KzuPropertyManager *propertyManager, kzBool value, struct KzuPropertyBoolValueSource **out_valueSource) |
| Create a bool value source. More... | |
| kzsError | kzuPropertyBoolValueSourceDelete (struct KzuPropertyBoolValueSource *valueSource) |
| Delete a bool value source. More... | |
| kzsError | kzuPropertyBoolValueSourceClone (const struct KzuPropertyManager *propertyManager, const struct KzuPropertyBoolValueSource *valueSource, struct KzuPropertyBoolValueSource **out_newValueSource) |
| Copy a bool value source. More... | |
| kzsError | kzuPropertyBoolValueSourceCopy (struct KzuPropertyBoolValueSource *target, const struct KzuPropertyBoolValueSource *source) |
| Copy a bool value source. More... | |
| kzsError | kzuPropertyBoolValueSourceSetValue (struct KzuPropertyBoolValueSource *valueSource, kzBool value) |
| Set a bool value source. More... | |
| kzBool | kzuPropertyBoolValueSourceGetValue (const struct KzuPropertyBoolValueSource *valueSource) |
| Get a bool value source. More... | |
| kzsError | kzuPropertyManagerSetBool (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzBool value) |
| Set a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBool (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzBool *out_value) |
| Get the value of a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBaseBool (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType, kzBool *out_value) |
| Get the base value of a property of propertyType associated with an object. More... | |
| kzBool | kzuPropertyManagerGetBoolDefault (const struct KzuPropertyManager *propertyManager, const void *object, const struct KzuPropertyType *propertyType) |
| Get a property of propertyType associated with an object and return the default value from the property type if not found. More... | |
| kzsError | kzuObjectNodeSetBoolProperty (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, kzBool value) |
| Set a property on an object node. More... | |
| kzBool | kzuObjectNodeGetBoolProperty (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType, kzBool *out_value) |
| Get the value of a property of propertyType associated with an object node. More... | |
| kzBool | kzuObjectNodeGetBoolPropertyDefault (const struct KzuObjectNode *objectNode, const struct KzuPropertyType *propertyType) |
| Get the value of a property associated with an object node. More... | |
Property manager.
Copyright 2008-2019 by Rightware. All rights reserved.
| kzsError kzuPropertyBoolValueSourceCreate | ( | const struct KzuPropertyManager * | propertyManager, |
| kzBool | value, | ||
| struct KzuPropertyBoolValueSource ** | out_valueSource | ||
| ) |
Create a bool value source.
| kzsError kzuPropertyBoolValueSourceDelete | ( | struct KzuPropertyBoolValueSource * | valueSource) |
Delete a bool value source.
| kzsError kzuPropertyBoolValueSourceClone | ( | const struct KzuPropertyManager * | propertyManager, |
| const struct KzuPropertyBoolValueSource * | valueSource, | ||
| struct KzuPropertyBoolValueSource ** | out_newValueSource | ||
| ) |
Copy a bool value source.
| kzsError kzuPropertyBoolValueSourceCopy | ( | struct KzuPropertyBoolValueSource * | target, |
| const struct KzuPropertyBoolValueSource * | source | ||
| ) |
Copy a bool value source.
| kzsError kzuPropertyBoolValueSourceSetValue | ( | struct KzuPropertyBoolValueSource * | valueSource, |
| kzBool | value | ||
| ) |
Set a bool value source.
| kzBool kzuPropertyBoolValueSourceGetValue | ( | const struct KzuPropertyBoolValueSource * | valueSource) |
Get a bool value source.
| kzsError kzuPropertyManagerSetBool | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzBool | value | ||
| ) |
Set a property of propertyType associated with an object.
| kzBool kzuPropertyManagerGetBool | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzBool * | out_value | ||
| ) |
Get the value of a property of propertyType associated with an object.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise. The return value is calculated based on the following steps:
| kzBool kzuPropertyManagerGetBaseBool | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType, | ||
| kzBool * | out_value | ||
| ) |
Get the base value of a property of propertyType associated with an object.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise.
| kzBool kzuPropertyManagerGetBoolDefault | ( | const struct KzuPropertyManager * | propertyManager, |
| const void * | object, | ||
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get a property of propertyType associated with an object and return the default value from the property type if not found.
If the property value can be deduced with kzuPropertyManagerGetBool then that value is returned. If the property can not be deduced, the default value from the property type is returned.
| kzsError kzuObjectNodeSetBoolProperty | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| kzBool | value | ||
| ) |
Set a property on an object node.
| kzBool kzuObjectNodeGetBoolProperty | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType, | ||
| kzBool * | out_value | ||
| ) |
Get the value of a property of propertyType associated with an object node.
Returns KZ_TRUE if the property is found and KZ_FALSE otherwise. The return value is calculated based on the following steps:
| kzBool kzuObjectNodeGetBoolPropertyDefault | ( | const struct KzuObjectNode * | objectNode, |
| const struct KzuPropertyType * | propertyType | ||
| ) |
Get the value of a property associated with an object node.
Behaves like kzuObjectNodeGetBoolProperty, but if the property value can not be deduced, the default value from the property type is returned.