Blender V4.5
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);
24
25void ED_time_scrub_draw(const ARegion *region,
26 const Scene *scene,
27 bool display_seconds,
28 bool discrete_frames);
36rcti ED_time_scrub_clamp_scroller_mask(const rcti &scroller_mask);
37
38bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event);
41 const ScrArea *area,
42 const ARegion *region,
43 const wmEvent *event);
44
45void ED_time_scrub_channel_search_draw(const bContext *C, ARegion *region, bDopeSheet *dopesheet);
46void 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_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)
void ED_time_scrub_draw(const ARegion *region, const Scene *scene, bool display_seconds, bool discrete_frames)
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