Blender V5.3
ED_time_scrub_ui.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct ARegion;
14struct Scene;
15struct ScrArea;
16struct bContext;
17struct bDopeSheet;
18struct rcti;
19struct wmEvent;
20struct wmWindow;
21
23 const Scene *scene,
24 bool display_seconds,
25 bool display_stalk = true,
26 bool clamp_playhead = false);
33void ED_time_scrub_draw(const ARegion *region,
34 const Scene *scene,
35 bool display_seconds,
36 bool discrete_frames,
37 int base);
45rcti ED_time_scrub_clamp_scroller_mask(const rcti &scroller_mask);
46
47bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event);
50 const ScrArea *area,
51 const ARegion *region,
52 const wmEvent *event);
53
54void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet);
55void ED_time_scrub_region_rect_get(const ARegion *region, rcti *r_rect);
56void ED_time_scrub_frame_str_get(const Scene *scene,
57 bool display_seconds,
58 const float frame,
59 char *r_str,
60 unsigned int str_maxncpy);
61
62} // namespace blender
#define C
Definition RandGen.cpp:29
BMesh Iterators.
void ED_time_scrub_draw_current_frame(const ARegion *region, const Scene *scene, bool display_seconds, bool display_stalk, bool clamp_playhead)
void ED_time_scrub_draw(const ARegion *region, const Scene *scene, bool display_seconds, bool discrete_frames, const int base)
bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event)
void ED_time_scrub_frame_str_get(const Scene *scene, bool display_seconds, const float frame, char *r_str, uint str_maxncpy)
bool ED_time_scrub_event_in_region_poll(const wmWindow *, const ScrArea *, const ARegion *region, const wmEvent *event)
rcti ED_time_scrub_clamp_scroller_mask(const rcti &scroller_mask)
void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet)
void ED_time_scrub_region_rect_get(const ARegion *region, rcti *r_rect)