33#include "RNA_prototypes.hh"
61 float x,
float y,
bool sel,
float alpha,
uint pos_id,
uint color_id)
113 float strip[4], selected_strip[4];
116 uint keyframe_len = 0;
151 float color[4] = {0.0f, 0.0f, 0.0f, 0.3f};
171 if (start_frame != end_frame) {
182 while (i < track->markersnr) {
199 if (keyframe_len > 0) {
205 format,
"color", gpu::VertAttrType::SFLOAT_32_32_32_32);
207 format,
"outlineColor", gpu::VertAttrType::UNORM_8_8_8_8);
243 if (start_frame != end_frame) {
254 while (i < track->markersnr) {
388 const int icon = (track->
flag &
TRACK_LOCKED) ? ICON_LOCKED : ICON_UNLOCKED;
392 uiDefIconButR_prop(block,
414 block_draw(
C, block);
#define IN_RANGE(a, b, c)
#define STRIP_HEIGHT_HALF
#define CHANNEL_HEIGHT_HALF
void font_theme_color_set(int fontid, int colorid)
void get_color_3fv(int colorid, float col[3])
void get_color_4fv(int colorid, float col[4])
void view2d_view_ortho(const View2D *v2d)
const uiStyle * style_get()
void view2d_sync(bScreen *screen, ScrArea *area, View2D *v2dcur, int flag)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void ANIM_draw_framerange(Scene *scene, View2D *v2d)
ScrArea * CTX_wm_area(const bContext *C)
void BLF_position(int fontid, float x, float y, float z)
void draw_keyframe_shape(const float x, const float y, float size, const bool sel, const eBezTriple_KeyframeType key_type, const eKeyframeShapeDrawOpts mode, const float alpha, const KeyframeShaderBindings *sh_bindings, const short handle_type, const short extreme_type)
void immUniform2f(const char *name, float x, float y)
GPUVertFormat * immVertexFormat()
SpaceClip * CTX_wm_space_clip(const bContext *C)
void immBegin(GPUPrimType, uint vertex_len)
static void track_channel_color(MovieTrackingTrack *track, bool default_color, float color[3])
@ TH_KEYTYPE_KEYFRAME_SELECT
void immUniformColor4fv(const float rgba[4])
void immBindBuiltinProgram(GPUBuiltinShader shader_id)
void BLF_size(int fontid, float size)
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
void immUniform1f(const char *name, float x)
void immVertex2f(uint attr_id, float x, float y)
void immAttr4fv(uint attr_id, const float data[4])
@ GPU_SHADER_KEYFRAME_SHAPE
@ GPU_SHADER_3D_UNIFORM_COLOR
float BLF_height(int fontid, const char *str, size_t str_len, ResultBLF *r_info=nullptr) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(2)
void immUniformColor4f(float r, float g, float b, float a)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
void GPU_program_point_size(bool enable)
PropertyRNA * RNA_struct_type_find_property(StructRNA *srna, const char *identifier)
void interp_v3_v3v3(float r[3], const float a[3], const float b[3], float t)
void ANIM_draw_previewrange(const Scene *scene, View2D *v2d, int end_frame_width)
void BLF_draw(int fontid, const char *str, size_t str_len, ResultBLF *r_info=nullptr) ATTR_NONNULL(2)
uint GPU_vertformat_attr_add(GPUVertFormat *format, StringRef name, gpu::VertAttrType type)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
void immAttr4ub(uint attr_id, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
void immAttr1f(uint attr_id, float x)
MovieClip * ED_space_clip_get_clip(const SpaceClip *sc)
float BKE_movieclip_remap_clip_to_scene_frame(const MovieClip *clip, float framenr)
void immAttr1u(uint attr_id, uint x)
void immUniformColor3fv(const float rgb[3])
void GPU_blend(GPUBlend blend)
void clip_draw_dopesheet_channels(const bContext *C, ARegion *region)
void immRectf(uint pos, float x1, float y1, float x2, float y2)
static void clip_draw_dopesheet_background(ARegion *region, MovieClip *clip, uint pos_id)
void clip_draw_dopesheet_main(SpaceClip *sc, ARegion *region, Scene *scene)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
struct MovieTracking tracking
MovieTrackingTrack * track
TrackingCoverage coverage
ListBaseT< MovieTrackingDopesheetCoverageSegment > coverage_segments
ListBaseT< MovieTrackingDopesheetChannel > channels
MovieTrackingMarker * markers
MovieTrackingDopesheet dopesheet