Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_vfont.c
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | void RNA_def_vfont(BlenderRNA *brna) | ||||
| RNA_def_property_string_sdna(prop, NULL, "name"); | RNA_def_property_string_sdna(prop, NULL, "name"); | ||||
| RNA_def_property_editable_func(prop, "rna_VectorFont_filepath_editable"); | RNA_def_property_editable_func(prop, "rna_VectorFont_filepath_editable"); | ||||
| RNA_def_property_ui_text(prop, "File Path", ""); | RNA_def_property_ui_text(prop, "File Path", ""); | ||||
| RNA_def_property_update(prop, NC_GEOM | ND_DATA, "rna_VectorFont_reload_update"); | RNA_def_property_update(prop, NC_GEOM | ND_DATA, "rna_VectorFont_reload_update"); | ||||
| prop = RNA_def_property(srna, "packed_file", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "packed_file", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "packedfile"); | RNA_def_property_pointer_sdna(prop, NULL, "packedfile"); | ||||
| RNA_def_property_ui_text(prop, "Packed File", ""); | RNA_def_property_ui_text(prop, "Packed File", ""); | ||||
| RNA_api_font(srna); | |||||
| } | } | ||||
| #endif | #endif | ||||