Blender V5.0
sequencer_timeline_draw.cc File Reference
#include <cmath>
#include <cstring>
#include "BLI_listbase.h"
#include "BLI_math_color.h"
#include "BLI_math_vector.h"
#include "BLI_path_utils.hh"
#include "BLI_string_utf8.h"
#include "BLI_string_utils.hh"
#include "BLI_task.hh"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "DNA_defaults.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_sequence_types.h"
#include "DNA_sound_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "BKE_context.hh"
#include "BKE_fcurve.hh"
#include "BKE_global.hh"
#include "BKE_screen.hh"
#include "BKE_sound.h"
#include "ED_anim_api.hh"
#include "ED_markers.hh"
#include "ED_mask.hh"
#include "ED_sequencer.hh"
#include "ED_space_api.hh"
#include "ED_time_scrub_ui.hh"
#include "GPU_immediate.hh"
#include "GPU_matrix.hh"
#include "GPU_state.hh"
#include "RNA_prototypes.hh"
#include "SEQ_channels.hh"
#include "SEQ_connect.hh"
#include "SEQ_effects.hh"
#include "SEQ_prefetch.hh"
#include "SEQ_relations.hh"
#include "SEQ_render.hh"
#include "SEQ_retiming.hh"
#include "SEQ_select.hh"
#include "SEQ_sequencer.hh"
#include "SEQ_thumbnail_cache.hh"
#include "SEQ_time.hh"
#include "SEQ_transform.hh"
#include "SEQ_utils.hh"
#include "UI_interface_icons.hh"
#include "UI_resources.hh"
#include "UI_view2d.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "BLF_api.hh"
#include "sequencer_intern.hh"
#include "sequencer_quads_batch.hh"
#include "sequencer_strips_batch.hh"

Go to the source code of this file.

Classes

struct  blender::ed::vse::CacheDrawData

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::vse

Functions

blender::Vector< Strip * > blender::ed::vse::sequencer_visible_strips_get (const bContext *C)
blender::Vector< Strip * > blender::ed::vse::sequencer_visible_strips_get (const Scene *scene, const View2D *v2d)
static TimelineDrawContext blender::ed::vse::timeline_draw_context_get (const bContext *C, SeqQuadsBatch *quads_batch)
static bool blender::ed::vse::seq_draw_waveforms_poll (const SpaceSeq *sseq, const Strip *strip)
static bool blender::ed::vse::strip_hides_text_overlay_first (const TimelineDrawContext *ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::strip_draw_context_set_text_overlay_visibility (TimelineDrawContext *ctx, StripDrawContext *strip_ctx)
static void blender::ed::vse::strip_draw_context_set_strip_content_visibility (TimelineDrawContext *ctx, StripDrawContext *strip_ctx)
static void blender::ed::vse::strip_draw_context_set_retiming_overlay_visibility (TimelineDrawContext *ctx, StripDrawContext *strip_ctx)
static float blender::ed::vse::strip_header_size_get (TimelineDrawContext *ctx)
static StripDrawContext blender::ed::vse::strip_draw_context_get (TimelineDrawContext *ctx, Strip *strip)
static void blender::ed::vse::strip_draw_context_curve_get (const TimelineDrawContext *ctx, StripDrawContext &strip_ctx)
static void blender::ed::vse::color3ubv_from_seq (const Scene *curscene, const Strip *strip, const bool show_strip_color_tag, const bool is_muted, uchar r_col[3])
static void blender::ed::vse::waveform_job_start_if_needed (const bContext *C, const Strip *strip)
static float blender::ed::vse::align_frame_with_pixel (float frame_coord, float frames_per_pixel)
static void blender::ed::vse::draw_seq_waveform_overlay (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::drawmeta_contents (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx, float corner_radius)
static void blender::ed::vse::draw_handle_transform_text (const TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx, eStripHandle handle)
float blender::ed::vse::strip_handle_draw_size_get (const Scene *scene, Strip *strip, float pixelx)
static const char * blender::ed::vse::draw_seq_text_get_name (const Strip *strip)
static void blender::ed::vse::draw_seq_text_get_source (const Strip *strip, char *r_source, size_t source_maxncpy)
static size_t blender::ed::vse::draw_seq_text_get_overlay_string (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx, char *r_overlay_string, size_t overlay_string_len)
static void blender::ed::vse::get_strip_text_color (const StripDrawContext *strip_ctx, uchar r_col[4])
static void blender::ed::vse::draw_icon_centered (TimelineDrawContext &ctx, const rctf &rect, int icon_id, const uchar color[4])
static void blender::ed::vse::draw_strip_icons (TimelineDrawContext *timeline_ctx, const Vector< StripDrawContext > &strips)
static void blender::ed::vse::draw_seq_text_overlay (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::draw_strip_offsets (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::draw_seq_fcurve_overlay (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::draw_multicam_highlight (TimelineDrawContext *timeline_ctx, const StripDrawContext *strip_ctx)
static void blender::ed::vse::seq_prefetch_wm_notify (const bContext *C, Scene *scene)
static void blender::ed::vse::draw_seq_timeline_channels (TimelineDrawContext *ctx)
static void blender::ed::vse::visible_strips_ordered_get (TimelineDrawContext *timeline_ctx, Vector< StripDrawContext > &r_bottom_layer, Vector< StripDrawContext > &r_top_layer)
static void blender::ed::vse::draw_strips_background (TimelineDrawContext *timeline_ctx, StripsDrawBatch &strips_batch, const Vector< StripDrawContext > &strips)
static void blender::ed::vse::strip_data_missing_media_flags_set (const StripDrawContext &strip, SeqStripDrawData &data)
static void blender::ed::vse::strip_data_lock_flags_set (const StripDrawContext &strip, const TimelineDrawContext *timeline_ctx, SeqStripDrawData &data)
static void blender::ed::vse::strip_data_outline_params_set (const StripDrawContext &strip, const TimelineDrawContext *timeline_ctx, SeqStripDrawData &data)
static void blender::ed::vse::strip_data_highlight_flags_set (const StripDrawContext &strip, const TimelineDrawContext *timeline_ctx, SeqStripDrawData &data)
static void blender::ed::vse::strip_data_handle_flags_set (const StripDrawContext &strip, const TimelineDrawContext *timeline_ctx, SeqStripDrawData &data)
static void blender::ed::vse::draw_strips_foreground (TimelineDrawContext *timeline_ctx, StripsDrawBatch &strips_batch, const Vector< StripDrawContext > &strips)
static void blender::ed::vse::draw_retiming_continuity_ranges (TimelineDrawContext *timeline_ctx, const Vector< StripDrawContext > &strips)
static void blender::ed::vse::draw_seq_strips (TimelineDrawContext *timeline_ctx, StripsDrawBatch &strips_batch, const Vector< StripDrawContext > &strips)
static void blender::ed::vse::draw_seq_strips (TimelineDrawContext *timeline_ctx, StripsDrawBatch &strips_batch)
static void blender::ed::vse::draw_timeline_sfra_efra (TimelineDrawContext *ctx)
static void blender::ed::vse::draw_cache_final_iter_fn (void *userdata, int timeline_frame)
static void blender::ed::vse::draw_cache_source_iter_fn (void *userdata, const Strip *strip, int timeline_frame)
static void blender::ed::vse::draw_cache_stripe (const Scene *scene, const Strip *strip, SeqQuadsBatch &quads, const float stripe_bot, const float stripe_ht, const uchar color[4])
static void blender::ed::vse::draw_cache_background (const bContext *C, CacheDrawData *draw_data)
static void blender::ed::vse::draw_cache_view (const bContext *C)
static void blender::ed::vse::draw_overlap_frame_indicator (const Scene *scene, const View2D *v2d)
static void blender::ed::vse::draw_timeline_grid (TimelineDrawContext *ctx)
static void blender::ed::vse::draw_timeline_markers (TimelineDrawContext *ctx)
static void blender::ed::vse::draw_timeline_gizmos (TimelineDrawContext *ctx)
static void blender::ed::vse::draw_timeline_pre_view_callbacks (TimelineDrawContext *ctx)
static void blender::ed::vse::draw_timeline_post_view_callbacks (TimelineDrawContext *ctx)
void blender::ed::vse::draw_timeline_seq (const bContext *C, ARegion *region)
void blender::ed::vse::draw_timeline_seq_display (const bContext *C, ARegion *region)

Variables

constexpr int blender::ed::vse::MUTE_ALPHA = 120
constexpr float blender::ed::vse::ICON_SIZE = 12.0f