Blender  V2.93
Classes | Typedefs | Enumerations | Functions
ED_keyframes_draw.h File Reference

Go to the source code of this file.

Classes

struct  ActKeyBlockInfo
 
struct  ActKeyColumn
 

Typedefs

typedef struct ActKeyBlockInfo ActKeyBlockInfo
 
typedef struct ActKeyColumn ActKeyColumn
 
typedef enum eActKeyBlock_Hold eActKeyBlock_Flag
 
typedef enum eKeyframeShapeDrawOpts eKeyframeShapeDrawOpts
 
typedef enum eKeyframeHandleDrawOpts eKeyframeHandleDrawOpts
 
typedef enum eKeyframeExtremeDrawOpts eKeyframeExtremeDrawOpts
 

Enumerations

enum  eActKeyBlock_Hold {
  ACTKEYBLOCK_FLAG_MOVING_HOLD = (1 << 0) , ACTKEYBLOCK_FLAG_STATIC_HOLD = (1 << 1) , ACTKEYBLOCK_FLAG_ANY_HOLD = (1 << 2) , ACTKEYBLOCK_FLAG_NON_BEZIER = (1 << 3) ,
  ACTKEYBLOCK_FLAG_GPENCIL = (1 << 4)
}
 
enum  eKeyframeShapeDrawOpts { KEYFRAME_SHAPE_FRAME = 0 , KEYFRAME_SHAPE_INSIDE , KEYFRAME_SHAPE_BOTH }
 
enum  eKeyframeHandleDrawOpts {
  KEYFRAME_HANDLE_NONE = 0 , KEYFRAME_HANDLE_AUTO_CLAMP , KEYFRAME_HANDLE_AUTO , KEYFRAME_HANDLE_VECTOR ,
  KEYFRAME_HANDLE_ALIGNED , KEYFRAME_HANDLE_FREE
}
 
enum  eKeyframeExtremeDrawOpts {
  KEYFRAME_EXTREME_NONE = 0 , KEYFRAME_EXTREME_MIN = (1 << 0) , KEYFRAME_EXTREME_MAX = (1 << 1) , KEYFRAME_EXTREME_MIXED = (1 << 2) ,
  KEYFRAME_EXTREME_FLAT = (1 << 3)
}
 

Functions

void draw_keyframe_shape (float x, float y, float size, bool sel, short key_type, short mode, float alpha, unsigned int pos_id, unsigned int size_id, unsigned int color_id, unsigned int outline_color_id, unsigned int flags_id, short handle_type, short extreme_type)
 
void draw_fcurve_channel (struct View2D *v2d, struct AnimData *adt, struct FCurve *fcu, float ypos, float yscale_fac, int saction_flag)
 
void draw_agroup_channel (struct View2D *v2d, struct AnimData *adt, struct bActionGroup *agrp, float ypos, float yscale_fac, int saction_flag)
 
void draw_action_channel (struct View2D *v2d, struct AnimData *adt, struct bAction *act, float ypos, float yscale_fac, int saction_flag)
 
void draw_object_channel (struct View2D *v2d, struct bDopeSheet *ads, struct Object *ob, float ypos, float yscale_fac, int saction_flag)
 
void draw_scene_channel (struct View2D *v2d, struct bDopeSheet *ads, struct Scene *sce, float ypos, float yscale_fac, int saction_flag)
 
void draw_summary_channel (struct View2D *v2d, struct bAnimContext *ac, float ypos, float yscale_fac, int saction_flag)
 
void draw_gpencil_channel (struct View2D *v2d, struct bDopeSheet *ads, struct bGPdata *gpd, float ypos, float yscale_fac, int saction_flag)
 
void draw_gpl_channel (struct View2D *v2d, struct bDopeSheet *ads, struct bGPDlayer *gpl, float ypos, float yscale_fac, int saction_flag)
 
void draw_masklay_channel (struct View2D *v2d, struct bDopeSheet *ads, struct MaskLayer *masklay, float ypos, float yscale_fac, int saction_flag)
 
void fcurve_to_keylist (struct AnimData *adt, struct FCurve *fcu, struct DLRBT_Tree *keys, int saction_flag)
 
void agroup_to_keylist (struct AnimData *adt, struct bActionGroup *agrp, struct DLRBT_Tree *keys, int saction_flag)
 
void action_to_keylist (struct AnimData *adt, struct bAction *act, struct DLRBT_Tree *keys, int saction_flag)
 
void ob_to_keylist (struct bDopeSheet *ads, struct Object *ob, struct DLRBT_Tree *keys, int saction_flag)
 
void cachefile_to_keylist (struct bDopeSheet *ads, struct CacheFile *cache_file, struct DLRBT_Tree *keys, int saction_flag)
 
void scene_to_keylist (struct bDopeSheet *ads, struct Scene *sce, struct DLRBT_Tree *keys, int saction_flag)
 
void summary_to_keylist (struct bAnimContext *ac, struct DLRBT_Tree *keys, int saction_flag)
 
void gpencil_to_keylist (struct bDopeSheet *ads, struct bGPdata *gpd, struct DLRBT_Tree *keys, const bool active)
 
void gpl_to_keylist (struct bDopeSheet *ads, struct bGPDlayer *gpl, struct DLRBT_Tree *keys)
 
void mask_to_keylist (struct bDopeSheet *ads, struct MaskLayer *masklay, struct DLRBT_Tree *keys)
 
short compare_ak_cfraPtr (void *node, void *data)
 
bool actkeyblock_is_valid (ActKeyColumn *ac)
 
int actkeyblock_get_valid_hold (ActKeyColumn *ac)
 

Typedef Documentation

◆ ActKeyBlockInfo

◆ ActKeyColumn

typedef struct ActKeyColumn ActKeyColumn

◆ eActKeyBlock_Flag

◆ eKeyframeExtremeDrawOpts

◆ eKeyframeHandleDrawOpts

◆ eKeyframeShapeDrawOpts

Enumeration Type Documentation

◆ eActKeyBlock_Hold

Enumerator
ACTKEYBLOCK_FLAG_MOVING_HOLD 
ACTKEYBLOCK_FLAG_STATIC_HOLD 
ACTKEYBLOCK_FLAG_ANY_HOLD 
ACTKEYBLOCK_FLAG_NON_BEZIER 
ACTKEYBLOCK_FLAG_GPENCIL 

Definition at line 89 of file ED_keyframes_draw.h.

◆ eKeyframeExtremeDrawOpts

Enumerator
KEYFRAME_EXTREME_NONE 
KEYFRAME_EXTREME_MIN 
KEYFRAME_EXTREME_MAX 
KEYFRAME_EXTREME_MIXED 
KEYFRAME_EXTREME_FLAT 

Definition at line 127 of file ED_keyframes_draw.h.

◆ eKeyframeHandleDrawOpts

Enumerator
KEYFRAME_HANDLE_NONE 
KEYFRAME_HANDLE_AUTO_CLAMP 
KEYFRAME_HANDLE_AUTO 
KEYFRAME_HANDLE_VECTOR 
KEYFRAME_HANDLE_ALIGNED 
KEYFRAME_HANDLE_FREE 

Definition at line 115 of file ED_keyframes_draw.h.

◆ eKeyframeShapeDrawOpts

Enumerator
KEYFRAME_SHAPE_FRAME 
KEYFRAME_SHAPE_INSIDE 
KEYFRAME_SHAPE_BOTH 

Definition at line 105 of file ED_keyframes_draw.h.

Function Documentation

◆ action_to_keylist()

void action_to_keylist ( struct AnimData adt,
struct bAction act,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ actkeyblock_get_valid_hold()

int actkeyblock_get_valid_hold ( ActKeyColumn ac)

◆ actkeyblock_is_valid()

bool actkeyblock_is_valid ( ActKeyColumn ac)

Definition at line 534 of file keyframes_draw.c.

References ActKeyColumn::next, NULL, and ActKeyColumn::totblock.

Referenced by actkeyblock_get_valid_hold(), and draw_keylist().

◆ agroup_to_keylist()

void agroup_to_keylist ( struct AnimData adt,
struct bActionGroup agrp,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ cachefile_to_keylist()

void cachefile_to_keylist ( struct bDopeSheet ads,
struct CacheFile cache_file,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ compare_ak_cfraPtr()

short compare_ak_cfraPtr ( void *  node,
void *  data 
)

◆ draw_action_channel()

void draw_action_channel ( struct View2D v2d,
struct AnimData adt,
struct bAction act,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_agroup_channel()

void draw_agroup_channel ( struct View2D v2d,
struct AnimData adt,
struct bActionGroup agrp,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_fcurve_channel()

void draw_fcurve_channel ( struct View2D v2d,
struct AnimData adt,
struct FCurve fcu,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_gpencil_channel()

void draw_gpencil_channel ( struct View2D v2d,
struct bDopeSheet ads,
struct bGPdata gpd,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_gpl_channel()

void draw_gpl_channel ( struct View2D v2d,
struct bDopeSheet ads,
struct bGPDlayer gpl,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_keyframe_shape()

void draw_keyframe_shape ( float  x,
float  y,
float  size,
bool  sel,
short  key_type,
short  mode,
float  alpha,
unsigned int  pos_id,
unsigned int  size_id,
unsigned int  color_id,
unsigned int  outline_color_id,
unsigned int  flags_id,
short  handle_type,
short  extreme_type 
)

◆ draw_masklay_channel()

void draw_masklay_channel ( struct View2D v2d,
struct bDopeSheet ads,
struct MaskLayer masklay,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_object_channel()

void draw_object_channel ( struct View2D v2d,
struct bDopeSheet ads,
struct Object ob,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_scene_channel()

void draw_scene_channel ( struct View2D v2d,
struct bDopeSheet ads,
struct Scene sce,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ draw_summary_channel()

void draw_summary_channel ( struct View2D v2d,
struct bAnimContext ac,
float  ypos,
float  yscale_fac,
int  saction_flag 
)

◆ fcurve_to_keylist()

void fcurve_to_keylist ( struct AnimData adt,
struct FCurve fcu,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ gpencil_to_keylist()

void gpencil_to_keylist ( struct bDopeSheet ads,
struct bGPdata gpd,
struct DLRBT_Tree keys,
const bool  active 
)

◆ gpl_to_keylist()

void gpl_to_keylist ( struct bDopeSheet ads,
struct bGPDlayer gpl,
struct DLRBT_Tree keys 
)

◆ mask_to_keylist()

void mask_to_keylist ( struct bDopeSheet ads,
struct MaskLayer masklay,
struct DLRBT_Tree keys 
)

◆ ob_to_keylist()

void ob_to_keylist ( struct bDopeSheet ads,
struct Object ob,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ scene_to_keylist()

void scene_to_keylist ( struct bDopeSheet ads,
struct Scene sce,
struct DLRBT_Tree keys,
int  saction_flag 
)

◆ summary_to_keylist()

void summary_to_keylist ( struct bAnimContext ac,
struct DLRBT_Tree keys,
int  saction_flag 
)