Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Show First 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | static const EnumPropertyItem display_channels_items[] = { | ||||
| {SI_SHOW_R, "RED", ICON_COLOR_RED, "Red", ""}, | {SI_SHOW_R, "RED", ICON_COLOR_RED, "Red", ""}, | ||||
| {SI_SHOW_G, "GREEN", ICON_COLOR_GREEN, "Green", ""}, | {SI_SHOW_G, "GREEN", ICON_COLOR_GREEN, "Green", ""}, | ||||
| {SI_SHOW_B, "BLUE", ICON_COLOR_BLUE, "Blue", ""}, | {SI_SHOW_B, "BLUE", ICON_COLOR_BLUE, "Blue", ""}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| #ifndef RNA_RUNTIME | #ifndef RNA_RUNTIME | ||||
| static const EnumPropertyItem autosnap_items[] = { | static const EnumPropertyItem autosnap_items[] = { | ||||
| {SACTSNAP_OFF, "NONE", 0, "No Auto-Snap", ""}, | {SACTSNAP_OFF, "NONE", ICON_SNAP_OFF, "No Auto-Snap", "Snap disabled"}, | ||||
| /* {-1, "", 0, "", ""}, */ | /* {-1, "", 0, "", ""}, */ | ||||
| {SACTSNAP_STEP, "STEP", 0, "Frame Step", "Snap to 1.0 frame intervals"}, | {SACTSNAP_FRAME, "FRAME", ICON_SNAP_INCREMENT, "Nearest Frame", "Snap to 1.0 frame intervals"}, | ||||
| {SACTSNAP_TSTEP, "TIME_STEP", 0, "Second Step", "Snap to 1.0 second intervals"}, | {SACTSNAP_SECOND, "SECOND", ICON_TIME, "Nearest Second", "Snap to 1.0 second intervals"}, | ||||
| /* {-1, "", 0, "", ""}, */ | /* {-1, "", 0, "", ""}, */ | ||||
| {SACTSNAP_FRAME, "FRAME", 0, "Nearest Frame", "Snap to actual frames (nla-action time)"}, | {SACTSNAP_MARKER, "MARKER", ICON_MARKER_HLT, "Nearest Marker", "Snap to nearest marker"}, | ||||
| {SACTSNAP_SECOND, "SECOND", 0, "Nearest Second", "Snap to actual seconds (nla-action time)"}, | |||||
| /* {-1, "", 0, "", ""}, */ | |||||
| {SACTSNAP_MARKER, "MARKER", 0, "Nearest Marker", "Snap to nearest marker"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| const EnumPropertyItem rna_enum_shading_type_items[] = { | const EnumPropertyItem rna_enum_shading_type_items[] = { | ||||
| {OB_WIRE, "WIREFRAME", ICON_SHADING_WIRE, "Wireframe", "Display the object as wire edges"}, | {OB_WIRE, "WIREFRAME", ICON_SHADING_WIRE, "Wireframe", "Display the object as wire edges"}, | ||||
| {OB_SOLID, "SOLID", ICON_SHADING_SOLID, "Solid", "Display in solid mode"}, | {OB_SOLID, "SOLID", ICON_SHADING_SOLID, "Solid", "Display in solid mode"}, | ||||
| {OB_MATERIAL, | {OB_MATERIAL, | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||