Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Show First 20 Lines • Show All 2,549 Lines • ▼ Show 20 Lines | RNA_def_property_ui_text(prop, "Show Frame Number Indicator", | ||||
| "Show frame number beside the current frame indicator line"); | "Show frame number beside the current frame indicator line"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_frames", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_frames", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAWFRAMES); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAWFRAMES); | ||||
| RNA_def_property_ui_text(prop, "Draw Frames", "Draw frames rather than seconds"); | RNA_def_property_ui_text(prop, "Draw Frames", "Draw frames rather than seconds"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "use_marker_sync", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_marker_sync", PROP_BOOLEAN, PROP_NONE); | ||||
campbellbarton: Tip seems wrong, theres nothing 4:3 here anymore. | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_MARKER_TRANS); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_MARKER_TRANS); | ||||
| RNA_def_property_ui_text(prop, "Sync Markers", "Transform markers as well as strips"); | RNA_def_property_ui_text(prop, "Sync Markers", "Transform markers as well as strips"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_separate_color", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_separate_color", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAW_COLOR_SEPARATED); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAW_COLOR_SEPARATED); | ||||
| RNA_def_property_ui_text(prop, "Separate Colors", "Separate color channels in preview"); | RNA_def_property_ui_text(prop, "Separate Colors", "Separate color channels in preview"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_safe_margin", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_safe_areas", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAW_SAFE_MARGINS); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAW_SAFE_MARGINS); | ||||
| RNA_def_property_ui_text(prop, "Safe Margin", "Draw title safe margins in preview"); | RNA_def_property_ui_text(prop, "Safe Areas", "Show TV title safe and action safe areas in preview"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | |||||
| prop = RNA_def_property(srna, "show_safe_center", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_DRAW_CENTER_SAFE); | |||||
| RNA_def_property_ui_text(prop, "Center-Cut Safe Areas", "Show safe areas to fit content in a different aspect ratio"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SEQ_DRAWFRAMES); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SEQ_DRAWFRAMES); | ||||
| RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames"); | RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_grease_pencil", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_grease_pencil", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_SHOW_GPENCIL); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_SHOW_GPENCIL); | ||||
| RNA_def_property_ui_text(prop, "Show Grease Pencil", | RNA_def_property_ui_text(prop, "Show Grease Pencil", | ||||
| "Show grease pencil for this view"); | "Show grease pencil for this view"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "display_channel", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "display_channel", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "chanshown"); | RNA_def_property_int_sdna(prop, NULL, "chanshown"); | ||||
| RNA_def_property_ui_text(prop, "Display Channel", | RNA_def_property_ui_text(prop, "Display Channel", | ||||
| "The channel number shown in the image preview. 0 is the result of all strips combined"); | "The channel number shown in the image preview. 0 is the result of all strips combined"); | ||||
| RNA_def_property_range(prop, -5, MAXSEQ); | RNA_def_property_range(prop, -5, MAXSEQ); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "preview_channels", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "preview_channels", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | ||||
Not Done Inline Actionsprefer _x, _y, rather then _horizontal... campbellbarton: prefer `_x, _y`, rather then `_horizontal`... | |||||
| RNA_def_property_enum_items(prop, preview_channels_items); | RNA_def_property_enum_items(prop, preview_channels_items); | ||||
| RNA_def_property_ui_text(prop, "Draw Channels", "Channels of the preview to draw"); | RNA_def_property_ui_text(prop, "Draw Channels", "Channels of the preview to draw"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "waveform_draw_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "waveform_draw_type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | ||||
| RNA_def_property_enum_items(prop, waveform_type_draw_items); | RNA_def_property_enum_items(prop, waveform_type_draw_items); | ||||
| RNA_def_property_ui_text(prop, "Waveform Drawing", "How Waveforms are drawn"); | RNA_def_property_ui_text(prop, "Waveform Drawing", "How Waveforms are drawn"); | ||||
| ▲ Show 20 Lines • Show All 1,346 Lines • Show Last 20 Lines | |||||
Tip seems wrong, theres nothing 4:3 here anymore.