Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_ui_api.c
| Show First 20 Lines • Show All 906 Lines • ▼ Show 20 Lines | #endif | ||||
| api_ui_item_rna_common(func); | api_ui_item_rna_common(func); | ||||
| /* RNA_def_boolean(func, "show_global_settings", false, "", "Show widgets to control global color management settings"); */ | /* RNA_def_boolean(func, "show_global_settings", false, "", "Show widgets to control global color management settings"); */ | ||||
| /* node socket icon */ | /* node socket icon */ | ||||
| func = RNA_def_function(srna, "template_node_socket", "uiTemplateNodeSocket"); | func = RNA_def_function(srna, "template_node_socket", "uiTemplateNodeSocket"); | ||||
| RNA_def_function_ui_description(func, "Node Socket Icon"); | RNA_def_function_ui_description(func, "Node Socket Icon"); | ||||
| RNA_def_function_flag(func, FUNC_USE_CONTEXT); | RNA_def_function_flag(func, FUNC_USE_CONTEXT); | ||||
| RNA_def_float_array(func, "color", 4, node_socket_color_default, 0.0f, 1.0f, "Color", "", 0.0f, 1.0f); | RNA_def_float_array(func, "color", 4, node_socket_color_default, 0.0f, 1.0f, "Color", "", 0.0f, 1.0f); | ||||
| func = RNA_def_function(srna, "template_cache_file", "uiTemplateCacheFile"); | |||||
| RNA_def_function_ui_description(func, "Item(s). User interface for selecting cache files and their source paths"); | |||||
| RNA_def_function_flag(func, FUNC_USE_CONTEXT); | |||||
| api_ui_item_rna_common(func); | |||||
| } | } | ||||
| #endif | #endif | ||||