Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_ui_api.c
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| func, "Item. A curve mapping widget used for e.g falloff curves for lights"); | func, "Item. A curve mapping widget used for e.g falloff curves for lights"); | ||||
| api_ui_item_rna_common(func); | api_ui_item_rna_common(func); | ||||
| RNA_def_enum(func, "type", curve_type_items, 0, "Type", "Type of curves to display"); | RNA_def_enum(func, "type", curve_type_items, 0, "Type", "Type of curves to display"); | ||||
| RNA_def_boolean(func, "levels", false, "", "Show black/white levels"); | RNA_def_boolean(func, "levels", false, "", "Show black/white levels"); | ||||
| RNA_def_boolean(func, "brush", false, "", "Show brush options"); | RNA_def_boolean(func, "brush", false, "", "Show brush options"); | ||||
| RNA_def_boolean(func, "use_negative_slope", false, "", "Use a negative slope by default"); | RNA_def_boolean(func, "use_negative_slope", false, "", "Use a negative slope by default"); | ||||
| RNA_def_boolean(func, "show_tone", false, "", "Show tone options"); | RNA_def_boolean(func, "show_tone", false, "", "Show tone options"); | ||||
| func = RNA_def_function(srna, "template_profilewidget", "uiTemplateProfileWidget"); | |||||
| RNA_def_function_ui_description(func, "A profile path editor used for custom profiles"); | |||||
| api_ui_item_rna_common(func); | |||||
| func = RNA_def_function(srna, "template_color_ramp", "uiTemplateColorRamp"); | func = RNA_def_function(srna, "template_color_ramp", "uiTemplateColorRamp"); | ||||
| RNA_def_function_ui_description(func, "Item. A color ramp widget"); | RNA_def_function_ui_description(func, "Item. A color ramp widget"); | ||||
| api_ui_item_rna_common(func); | api_ui_item_rna_common(func); | ||||
| RNA_def_boolean(func, "expand", false, "", "Expand button to show more detail"); | RNA_def_boolean(func, "expand", false, "", "Expand button to show more detail"); | ||||
| func = RNA_def_function(srna, "template_icon", "uiTemplateIcon"); | func = RNA_def_function(srna, "template_icon", "uiTemplateIcon"); | ||||
| RNA_def_function_ui_description(func, "Display a large icon"); | RNA_def_function_ui_description(func, "Display a large icon"); | ||||
| parm = RNA_def_int(func, "icon_value", 0, 0, INT_MAX, "Icon to display", "", 0, INT_MAX); | parm = RNA_def_int(func, "icon_value", 0, 0, INT_MAX, "Icon to display", "", 0, INT_MAX); | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||