Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_wm.c
| Show First 20 Lines • Show All 2,778 Lines • ▼ Show 20 Lines | static void rna_def_keyconfig(BlenderRNA *brna) | ||||
| RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); | RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); | ||||
| prop = RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE); | RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", KMI_EXPANDED); | RNA_def_property_boolean_sdna(prop, NULL, "flag", KMI_EXPANDED); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Expanded", "Show key map event and property details in the user interface"); | prop, "Expanded", "Show key map event and property details in the user interface"); | ||||
| RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | ||||
| RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); | |||||
| prop = RNA_def_property(srna, "propvalue", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "propvalue", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "propvalue"); | RNA_def_property_enum_sdna(prop, NULL, "propvalue"); | ||||
| RNA_def_property_enum_items(prop, rna_enum_keymap_propvalue_items); | RNA_def_property_enum_items(prop, rna_enum_keymap_propvalue_items); | ||||
| RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_KeyMapItem_propvalue_itemf"); | RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_KeyMapItem_propvalue_itemf"); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Property Value", "The value this event translates to in a modal keymap"); | prop, "Property Value", "The value this event translates to in a modal keymap"); | ||||
| RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); | RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||