Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_internal.h
| Show All 31 Lines | |||||
| #include "rna_internal_types.h" | #include "rna_internal_types.h" | ||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| #define RNA_MAGIC ((int)~0) | #define RNA_MAGIC ((int)~0) | ||||
| struct FreestyleSettings; | struct FreestyleSettings; | ||||
| struct ID; | struct ID; | ||||
| struct IDOverrideStatic; | |||||
| struct IDOverrideStaticProperty; | |||||
| struct IDOverrideStaticPropertyOperation; | |||||
| struct IDProperty; | struct IDProperty; | ||||
| struct Main; | struct Main; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct Object; | struct Object; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct SDNA; | struct SDNA; | ||||
| struct ViewLayer; | struct ViewLayer; | ||||
| ▲ Show 20 Lines • Show All 148 Lines • ▼ Show 20 Lines | |||||
| void RNA_def_movieclip(struct BlenderRNA *brna); | void RNA_def_movieclip(struct BlenderRNA *brna); | ||||
| void RNA_def_tracking(struct BlenderRNA *brna); | void RNA_def_tracking(struct BlenderRNA *brna); | ||||
| void RNA_def_mask(struct BlenderRNA *brna); | void RNA_def_mask(struct BlenderRNA *brna); | ||||
| /* Common Define functions */ | /* Common Define functions */ | ||||
| void rna_def_animdata_common(struct StructRNA *srna); | void rna_def_animdata_common(struct StructRNA *srna); | ||||
| bool rna_AnimaData_override_apply( | |||||
| struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, | |||||
| struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, | |||||
| const int len_local, const int len_reference, const int len_storage, | |||||
| struct IDOverrideStaticPropertyOperation *opop); | |||||
| void rna_def_animviz_common(struct StructRNA *srna); | void rna_def_animviz_common(struct StructRNA *srna); | ||||
| void rna_def_motionpath_common(struct StructRNA *srna); | void rna_def_motionpath_common(struct StructRNA *srna); | ||||
| void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone); | void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone); | ||||
| void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable); | void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable); | ||||
| void rna_def_mtex_common(struct BlenderRNA *brna, struct StructRNA *srna, const char *begin, const char *activeget, | void rna_def_mtex_common(struct BlenderRNA *brna, struct StructRNA *srna, const char *begin, const char *activeget, | ||||
| const char *activeset, const char *activeeditable, const char *structname, | const char *activeset, const char *activeeditable, const char *structname, | ||||
| ▲ Show 20 Lines • Show All 174 Lines • ▼ Show 20 Lines | |||||
| #ifndef __RNA_ACCESS_H__ | #ifndef __RNA_ACCESS_H__ | ||||
| extern StructRNA RNA_PropertyGroupItem; | extern StructRNA RNA_PropertyGroupItem; | ||||
| extern StructRNA RNA_PropertyGroup; | extern StructRNA RNA_PropertyGroup; | ||||
| #endif | #endif | ||||
| struct IDProperty *rna_idproperty_check(struct PropertyRNA **prop, struct PointerRNA *ptr); | struct IDProperty *rna_idproperty_check(struct PropertyRNA **prop, struct PointerRNA *ptr); | ||||
| /* Override default callbacks. */ | |||||
| /* Default override callbacks for all types. */ | |||||
| /* TODO: Maybe at some point we'll want to write that in direct RNA-generated code instead | |||||
| * (like we do for default get/set/etc.)? | |||||
| * Not obvious though, those are fairly more complicated than basic SDNA access. | |||||
| */ | |||||
| int rna_property_override_diff_default( | |||||
| struct PointerRNA *ptr_a, struct PointerRNA *ptr_b, | |||||
| struct PropertyRNA *prop_a, struct PropertyRNA *prop_b, | |||||
| const int len_a, const int len_b, | |||||
| const int mode, | |||||
| struct IDOverrideStatic *override, const char *rna_path, | |||||
| const int flags, bool *r_override_changed); | |||||
| bool rna_property_override_store_default( | |||||
| struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, | |||||
| struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, | |||||
| const int len_local, const int len_reference, const int len_storage, | |||||
| struct IDOverrideStaticPropertyOperation *opop); | |||||
| bool rna_property_override_apply_default( | |||||
| struct PointerRNA *ptr_dst, struct PointerRNA *ptr_src, struct PointerRNA *ptr_storage, | |||||
| struct PropertyRNA *prop_dst, struct PropertyRNA *prop_src, struct PropertyRNA *prop_storage, | |||||
| const int len_dst, const int len_src, const int len_storage, | |||||
| struct IDOverrideStaticPropertyOperation *opop); | |||||
| /* Builtin Property Callbacks */ | /* Builtin Property Callbacks */ | ||||
| void rna_builtin_properties_begin(struct CollectionPropertyIterator *iter, struct PointerRNA *ptr); | void rna_builtin_properties_begin(struct CollectionPropertyIterator *iter, struct PointerRNA *ptr); | ||||
| void rna_builtin_properties_next(struct CollectionPropertyIterator *iter); | void rna_builtin_properties_next(struct CollectionPropertyIterator *iter); | ||||
| PointerRNA rna_builtin_properties_get(struct CollectionPropertyIterator *iter); | PointerRNA rna_builtin_properties_get(struct CollectionPropertyIterator *iter); | ||||
| PointerRNA rna_builtin_type_get(struct PointerRNA *ptr); | PointerRNA rna_builtin_type_get(struct PointerRNA *ptr); | ||||
| int rna_builtin_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr); | int rna_builtin_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr); | ||||
| ▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines | |||||