Blender V5.3
SEQ_time.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include "DNA_listBase.h"
12
13namespace blender {
14
15struct Scene;
16struct Strip;
17struct rctf;
18
19namespace seq {
20
21enum class Side : int;
22
26void timeline_init_boundbox(const Scene *scene, rctf *r_rect);
30void timeline_expand_boundbox(const Scene *scene, const ListBaseT<Strip> *seqbase, rctf *rect);
35void timeline_boundbox(const Scene *scene, const ListBaseT<Strip> *seqbase, rctf *r_rect);
42int time_find_next_prev_edit(Scene *scene,
43 int timeline_frame,
44 Side side,
45 bool do_skip_mute,
46 bool do_center,
47 bool do_unselected);
48/* Convert timeline frame so strip frame index. */
49float give_frame_index(const Scene *scene, const Strip *strip, float timeline_frame);
56void time_update_meta_strip_range(const Scene *scene, Strip *strip_meta);
61 const Scene *scene, Strip *strip, int frame_delta, float subframe_delta, bool slip_keyframes);
62
63} // namespace seq
64} // namespace blender
These structs are the foundation for all linked lists in the library system.
int time_find_next_prev_edit(Scene *scene, int timeline_frame, const Side side, const bool do_skip_mute, const bool do_center, const bool do_unselected)
float give_frame_index(const Scene *scene, const Strip *strip, float timeline_frame)
Definition strip_time.cc:43
void timeline_boundbox(const Scene *scene, const ListBaseT< Strip > *seqbase, rctf *r_rect)
void time_update_meta_strip_range(const Scene *scene, Strip *strip_meta)
void time_slip_strip(const Scene *scene, Strip *strip, int frame_delta, float subframe_delta, bool slip_keyframes)
void timeline_init_boundbox(const Scene *scene, rctf *r_rect)
void timeline_expand_boundbox(const Scene *scene, const ListBaseT< Strip > *seqbase, rctf *rect)
BMesh Iterators.