29 lines
836 B
C++
29 lines
836 B
C++
/* SPDX-FileCopyrightText: 2019 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup editors
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
struct bContext;
|
|
struct bDopeSheet;
|
|
struct wmEvent;
|
|
struct rcti;
|
|
|
|
void ED_time_scrub_draw_current_frame(const ARegion *region,
|
|
const Scene *scene,
|
|
bool display_seconds);
|
|
|
|
void ED_time_scrub_draw(const ARegion *region,
|
|
const Scene *scene,
|
|
bool display_seconds,
|
|
bool discrete_frames);
|
|
|
|
bool ED_time_scrub_event_in_region(const ARegion *region, const wmEvent *event);
|
|
|
|
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 *rect);
|