Blender V5.0
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
11struct ARegion;
12struct Scene;
13struct ScrArea;
14struct bContext;
15struct bDopeSheet;
16struct rcti;
17struct wmEvent;
18struct wmWindow;
19
21 const Scene *scene,
22 bool display_seconds,
23 bool display_stalk = true);
30void ED_time_scrub_draw(const ARegion *region,
31 const Scene *scene,
32 bool display_seconds,
33 bool discrete_frames,
34 int base);
42rcti ED_time_scrub_clamp_scroller_mask(const rcti &scroller_mask);
43
44bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event);
47 const ScrArea *area,
48 const ARegion *region,
49 const wmEvent *event);
50
51void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet);
52void ED_time_scrub_region_rect_get(const ARegion *region, rcti *r_rect);
rcti ED_time_scrub_clamp_scroller_mask(const rcti &scroller_mask)
void ED_time_scrub_region_rect_get(const ARegion *region, rcti *r_rect)
void ED_time_scrub_draw(const ARegion *region, const Scene *scene, bool display_seconds, bool discrete_frames, int base)
void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet)
void ED_time_scrub_draw_current_frame(const ARegion *region, const Scene *scene, bool display_seconds, bool display_stalk=true)
bool ED_time_scrub_event_in_region_poll(const wmWindow *win, const ScrArea *area, const ARegion *region, const wmEvent *event)
bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event)
#define C
Definition RandGen.cpp:29
struct Scene * scene