Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_internal_types.h
| Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | struct PropertyRNA { | ||||
| /* unique identifier */ | /* unique identifier */ | ||||
| const char *identifier; | const char *identifier; | ||||
| /* various options */ | /* various options */ | ||||
| int flag; | int flag; | ||||
| /* Function parameters flags. */ | /* Function parameters flags. */ | ||||
| short flag_parameter; | short flag_parameter; | ||||
| /* Internal ("private") flags. */ | /* Internal ("private") flags. */ | ||||
| short flag_internal; | short flag_internal; | ||||
| /* The subset of StructRNA.prop_tag_defines values that applies to this property. */ | |||||
| short tags; | |||||
| /* user readable name */ | /* user readable name */ | ||||
| const char *name; | const char *name; | ||||
| /* single line description, displayed in the tooltip for example */ | /* single line description, displayed in the tooltip for example */ | ||||
| const char *description; | const char *description; | ||||
| /* icon ID */ | /* icon ID */ | ||||
| int icon; | int icon; | ||||
| /* context for translation */ | /* context for translation */ | ||||
| ▲ Show 20 Lines • Show All 181 Lines • ▼ Show 20 Lines | struct StructRNA { | ||||
| /* python type, this is a subtype of pyrna_struct_Type but used so each struct can have its own type | /* python type, this is a subtype of pyrna_struct_Type but used so each struct can have its own type | ||||
| * which is useful for subclassing RNA */ | * which is useful for subclassing RNA */ | ||||
| void *py_type; | void *py_type; | ||||
| void *blender_type; | void *blender_type; | ||||
| /* various options */ | /* various options */ | ||||
| int flag; | int flag; | ||||
| /* Each StructRNA type can define own tags which properties can set | |||||
| * (PropertyRNA.tags) for changed behavior based on struct-type. */ | |||||
| EnumPropertyItem *prop_tag_defines; | |||||
| /* user readable name */ | /* user readable name */ | ||||
| const char *name; | const char *name; | ||||
| /* single line description, displayed in the tooltip for example */ | /* single line description, displayed in the tooltip for example */ | ||||
| const char *description; | const char *description; | ||||
| /* context for translation */ | /* context for translation */ | ||||
| const char *translation_context; | const char *translation_context; | ||||
| /* icon ID */ | /* icon ID */ | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||