Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_draw.c
| Show First 20 Lines • Show All 864 Lines • ▼ Show 20 Lines | static void draw_seq_background(Scene *scene, | ||||
| else { | else { | ||||
| col[3] = 255; | col[3] = 255; | ||||
| } | } | ||||
| immUniformColor4ubv(col); | immUniformColor4ubv(col); | ||||
| /* Draw the main strip body. */ | /* Draw the main strip body. */ | ||||
| if (is_single_image) { | if (is_single_image) { | ||||
| immRectf(pos, | immRectf(pos, | ||||
| SEQ_transform_get_left_handle_frame(seq, false), | SEQ_transform_get_left_handle_frame(seq), | ||||
| y1, | y1, | ||||
| SEQ_transform_get_right_handle_frame(seq, false), | SEQ_transform_get_right_handle_frame(seq), | ||||
| y2); | y2); | ||||
| } | } | ||||
| else { | else { | ||||
| immRectf(pos, x1, y1, x2, y2); | immRectf(pos, x1, y1, x2, y2); | ||||
| } | } | ||||
| /* Draw background for hold still regions. */ | /* Draw background for hold still regions. */ | ||||
| if (!is_single_image && (seq->startstill || seq->endstill)) { | if (!is_single_image && (seq->startstill || seq->endstill)) { | ||||
| ▲ Show 20 Lines • Show All 1,608 Lines • Show Last 20 Lines | |||||