Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_define.h
| Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | |||||
| void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname); | void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname); | ||||
| void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname); | void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname); | ||||
| void RNA_def_property_flag(PropertyRNA *prop, int flag); | void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag); | ||||
| void RNA_def_property_clear_flag(PropertyRNA *prop, int flag); | void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag); | ||||
| void RNA_def_property_subtype(PropertyRNA *prop, PropertySubType subtype); | void RNA_def_property_subtype(PropertyRNA *prop, PropertySubType subtype); | ||||
| void RNA_def_property_array(PropertyRNA *prop, int length); | void RNA_def_property_array(PropertyRNA *prop, int length); | ||||
| void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[]); | void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[]); | ||||
| void RNA_def_property_range(PropertyRNA *prop, double min, double max); | void RNA_def_property_range(PropertyRNA *prop, double min, double max); | ||||
| void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item); | void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item); | ||||
| void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength); | void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength); | ||||
| void RNA_def_property_struct_type(PropertyRNA *prop, const char *type); | void RNA_def_property_struct_type(PropertyRNA *prop, const char *type); | ||||
| ▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
| FunctionRNA *RNA_def_function(StructRNA *srna, const char *identifier, const char *call); | FunctionRNA *RNA_def_function(StructRNA *srna, const char *identifier, const char *call); | ||||
| FunctionRNA *RNA_def_function_runtime(StructRNA *srna, const char *identifier, CallFunc call); | FunctionRNA *RNA_def_function_runtime(StructRNA *srna, const char *identifier, CallFunc call); | ||||
| void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret); | void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret); | ||||
| void RNA_def_function_output(FunctionRNA *func, PropertyRNA *ret); | void RNA_def_function_output(FunctionRNA *func, PropertyRNA *ret); | ||||
| void RNA_def_function_flag(FunctionRNA *func, int flag); | void RNA_def_function_flag(FunctionRNA *func, int flag); | ||||
| void RNA_def_function_ui_description(FunctionRNA *func, const char *description); | void RNA_def_function_ui_description(FunctionRNA *func, const char *description); | ||||
| void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter); | |||||
| void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter); | |||||
| /* Dynamic Enums | /* Dynamic Enums | ||||
| * strings are not freed, assumed pointing to static location. */ | * strings are not freed, assumed pointing to static location. */ | ||||
| void RNA_enum_item_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item); | void RNA_enum_item_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item); | ||||
| void RNA_enum_item_add_separator(EnumPropertyItem **items, int *totitem); | void RNA_enum_item_add_separator(EnumPropertyItem **items, int *totitem); | ||||
| void RNA_enum_items_add(EnumPropertyItem **items, int *totitem, EnumPropertyItem *item); | void RNA_enum_items_add(EnumPropertyItem **items, int *totitem, EnumPropertyItem *item); | ||||
| void RNA_enum_items_add_value(EnumPropertyItem **items, int *totitem, EnumPropertyItem *item, int value); | void RNA_enum_items_add_value(EnumPropertyItem **items, int *totitem, EnumPropertyItem *item, int value); | ||||
| void RNA_enum_item_end(EnumPropertyItem **items, int *totitem); | void RNA_enum_item_end(EnumPropertyItem **items, int *totitem); | ||||
| Show All 32 Lines | |||||