Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_anim_api.h
| Show First 20 Lines • Show All 634 Lines • ▼ Show 20 Lines | |||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| /* DRAWING API */ | /* DRAWING API */ | ||||
| /* anim_draw.c */ | /* anim_draw.c */ | ||||
| /* ---------- Current Frame Drawing ---------------- */ | /* ---------- Current Frame Drawing ---------------- */ | ||||
| /* flags for Current Frame Drawing */ | /* flags for Current Frame Drawing */ | ||||
| enum eAnimEditDraw_CurrentFrame { | typedef enum eAnimEditDraw_CurrentFrame { | ||||
| /* plain time indicator with no special indicators */ | /* plain time indicator with no special indicators */ | ||||
| /* DRAWCFRA_PLAIN = 0, */ /* UNUSED */ | /* DRAWCFRA_PLAIN = 0, */ /* UNUSED */ | ||||
| /* time indication in seconds or frames */ | /* time indication in seconds or frames */ | ||||
| DRAWCFRA_UNIT_SECONDS = (1 << 0), | DRAWCFRA_UNIT_SECONDS = (1 << 0), | ||||
| /* draw indicator extra wide (for timeline) */ | /* draw indicator extra wide (for timeline) */ | ||||
| DRAWCFRA_WIDE = (1 << 1), | DRAWCFRA_WIDE = (1 << 1), | ||||
| }; | } eAnimEditDraw_CurrentFrame; | ||||
| /* main call to draw current-frame indicator in an Animation Editor */ | /* main call to draw current-frame indicator in an Animation Editor */ | ||||
| void ANIM_draw_cfra(const struct bContext *C, struct View2D *v2d, short flag); | void ANIM_draw_cfra(const struct bContext *C, struct View2D *v2d, short flag); | ||||
| /* ------------- Preview Range Drawing -------------- */ | /* ------------- Preview Range Drawing -------------- */ | ||||
| /* main call to draw preview range curtains */ | /* main call to draw preview range curtains */ | ||||
| void ANIM_draw_previewrange(const struct bContext *C, struct View2D *v2d, int end_frame_width); | void ANIM_draw_previewrange(const struct bContext *C, struct View2D *v2d, int end_frame_width); | ||||
| ▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines | |||||