Blender  V3.3
ED_time_scrub_ui.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2019 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct bContext;
15 struct bDopeSheet;
16 struct wmEvent;
17 struct rcti;
18 
19 void ED_time_scrub_draw_current_frame(const struct ARegion *region,
20  const struct Scene *scene,
21  bool display_seconds);
22 
23 void ED_time_scrub_draw(const struct ARegion *region,
24  const struct Scene *scene,
25  bool display_seconds,
26  bool discrete_frames);
27 
28 bool ED_time_scrub_event_in_region(const struct ARegion *region, const struct wmEvent *event);
29 
31  struct ARegion *region,
32  struct bDopeSheet *dopesheet);
33 void ED_time_scrub_region_rect_get(const struct ARegion *region, struct rcti *rect);
34 
35 #ifdef __cplusplus
36 }
37 #endif
void ED_time_scrub_channel_search_draw(const struct bContext *C, struct ARegion *region, struct bDopeSheet *dopesheet)
void ED_time_scrub_draw_current_frame(const struct ARegion *region, const struct Scene *scene, bool display_seconds)
bool ED_time_scrub_event_in_region(const struct ARegion *region, const struct wmEvent *event)
void ED_time_scrub_region_rect_get(const struct ARegion *region, struct rcti *rect)
void ED_time_scrub_draw(const struct ARegion *region, const struct Scene *scene, bool display_seconds, bool discrete_frames)
#define C
Definition: RandGen.cpp:25
Scene scene