Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_graph/graph_buttons.c
| Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | static void graph_panel_properties(const bContext *C, Panel *panel) | ||||
| /* RNA-Path Editing - only really should be enabled when things aren't working */ | /* RNA-Path Editing - only really should be enabled when things aren't working */ | ||||
| col = uiLayoutColumn(layout, false); | col = uiLayoutColumn(layout, false); | ||||
| uiLayoutSetEnabled(col, (fcu->flag & FCURVE_DISABLED) != 0); | uiLayoutSetEnabled(col, (fcu->flag & FCURVE_DISABLED) != 0); | ||||
| uiItemR(col, &fcu_ptr, "data_path", 0, "", ICON_RNA); | uiItemR(col, &fcu_ptr, "data_path", 0, "", ICON_RNA); | ||||
| uiItemR(col, &fcu_ptr, "array_index", 0, NULL, ICON_NONE); | uiItemR(col, &fcu_ptr, "array_index", 0, NULL, ICON_NONE); | ||||
| /* color settings */ | /* color settings */ | ||||
| col = uiLayoutColumn(layout, true); | col = uiLayoutColumn(layout, true); | ||||
| uiItemR(col, &fcu_ptr, "color_mode", 0, "Display Color", ICON_NONE); | uiItemR(col, &fcu_ptr, "color_mode", 0, IFACE_("Display Color"), ICON_NONE); | ||||
| if (fcu->color_mode == FCURVE_COLOR_CUSTOM) { | if (fcu->color_mode == FCURVE_COLOR_CUSTOM) { | ||||
| uiItemR(col, &fcu_ptr, "color", 0, "Color", ICON_NONE); | uiItemR(col, &fcu_ptr, "color", 0, IFACE_("Color"), ICON_NONE); | ||||
| } | } | ||||
| /* smoothing setting */ | /* smoothing setting */ | ||||
| col = uiLayoutColumn(layout, true); | col = uiLayoutColumn(layout, true); | ||||
| uiItemR(col, &fcu_ptr, "auto_smoothing", 0, "Handle Smoothing", ICON_NONE); | uiItemR(col, &fcu_ptr, "auto_smoothing", 0, IFACE_("Handle Smoothing"), ICON_NONE); | ||||
| MEM_freeN(ale); | MEM_freeN(ale); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Active Keyframe | /** \name Active Keyframe | ||||
| ▲ Show 20 Lines • Show All 1,228 Lines • Show Last 20 Lines | |||||