Blender V2.61 - r43446
Defines | Functions | Variables

anim_channels_defines.c File Reference

#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_camera_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_screen_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_key_types.h"
#include "DNA_lamp_types.h"
#include "DNA_lattice_types.h"
#include "DNA_mesh_types.h"
#include "DNA_material_types.h"
#include "DNA_meta_types.h"
#include "DNA_node_types.h"
#include "DNA_world_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_speaker_types.h"
#include "RNA_access.h"
#include "BKE_curve.h"
#include "BKE_key.h"
#include "BKE_context.h"
#include "BKE_utildefines.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "ED_anim_api.h"
#include "ED_keyframing.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Defines

#define EXTRA_SCROLL_PAD   100.0f
#define INDENT_STEP_SIZE   7
#define ANIM_CHAN_NAME_SIZE   256
#define GET_ACF_FLAG_PTR(ptr)
#define ACF_SETTING_SET(sval, sflag, smode)
#define ICON_WIDTH   17
#define SLIDER_WIDTH   80
#define RENAME_TEXT_WIDTH   100

Functions

static void acf_generic_root_color (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), float *color)
static void acf_generic_root_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void acf_generic_dataexpand_color (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), float *color)
static void acf_generic_dataexpand_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void acf_generic_channel_color (bAnimContext *ac, bAnimListElem *ale, float *color)
static void acf_generic_channel_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static short acf_generic_indention_0 (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale))
static short acf_generic_indention_1 (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale))
static short acf_generic_indention_flexible (bAnimContext *UNUSED(ac), bAnimListElem *ale)
static short acf_generic_basic_offset (bAnimContext *ac, bAnimListElem *ale)
static short acf_nodetree_rootType_offset (bNodeTree *ntree)
static short acf_generic_group_offset (bAnimContext *ac, bAnimListElem *ale)
static void acf_generic_idblock_name (bAnimListElem *ale, char *name)
static short acf_generic_idblock_nameprop (bAnimListElem *ale, PointerRNA *ptr, PropertyRNA **prop)
static short acf_generic_idfill_nameprop (bAnimListElem *ale, PointerRNA *ptr, PropertyRNA **prop)
static short acf_generic_dataexpand_setting_valid (bAnimContext *ac, bAnimListElem *UNUSED(ale), int setting)
static void acf_summary_color (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), float *color)
static void acf_summary_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void acf_summary_name (bAnimListElem *UNUSED(ale), char *name)
static int acf_summary_icon (bAnimListElem *UNUSED(ale))
static short acf_summary_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_summary_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_summary_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_scene_icon (bAnimListElem *UNUSED(ale))
static short acf_scene_setting_valid (bAnimContext *ac, bAnimListElem *UNUSED(ale), int setting)
static int acf_scene_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_scene_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_object_icon (bAnimListElem *ale)
static void acf_object_name (bAnimListElem *ale, char *name)
static short acf_object_setting_valid (bAnimContext *ac, bAnimListElem *ale, int setting)
static int acf_object_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_object_setting_ptr (bAnimListElem *ale, int setting, short *type)
static void acf_group_color (bAnimContext *UNUSED(ac), bAnimListElem *ale, float *color)
static void acf_group_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void acf_group_name (bAnimListElem *ale, char *name)
static short acf_group_name_prop (bAnimListElem *ale, PointerRNA *ptr, PropertyRNA **prop)
static short acf_group_setting_valid (bAnimContext *ac, bAnimListElem *UNUSED(ale), int setting)
static int acf_group_setting_flag (bAnimContext *ac, int setting, short *neg)
static void * acf_group_setting_ptr (bAnimListElem *ale, int UNUSED(setting), short *type)
static void acf_fcurve_name (bAnimListElem *ale, char *name)
static short acf_fcurve_setting_valid (bAnimContext *ac, bAnimListElem *ale, int setting)
static int acf_fcurve_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_fcurve_setting_ptr (bAnimListElem *ale, int UNUSED(setting), short *type)
static int acf_fillactd_icon (bAnimListElem *UNUSED(ale))
static short acf_fillactd_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_fillactd_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_fillactd_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_filldrivers_icon (bAnimListElem *UNUSED(ale))
static void acf_filldrivers_name (bAnimListElem *UNUSED(ale), char *name)
static short acf_filldrivers_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_filldrivers_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_filldrivers_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsmat_icon (bAnimListElem *UNUSED(ale))
static int acf_dsmat_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsmat_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dslam_icon (bAnimListElem *UNUSED(ale))
static int acf_dslam_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dslam_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dstex_icon (bAnimListElem *UNUSED(ale))
static short acf_dstex_offset (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale))
static int acf_dstex_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dstex_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dscam_icon (bAnimListElem *UNUSED(ale))
static int acf_dscam_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dscam_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dscur_icon (bAnimListElem *ale)
static int acf_dscur_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dscur_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsskey_icon (bAnimListElem *UNUSED(ale))
static int acf_dsskey_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsskey_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dswor_icon (bAnimListElem *UNUSED(ale))
static int acf_dswor_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dswor_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dspart_icon (bAnimListElem *UNUSED(ale))
static int acf_dspart_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dspart_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsmball_icon (bAnimListElem *UNUSED(ale))
static int acf_dsmball_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsmball_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsarm_icon (bAnimListElem *UNUSED(ale))
static int acf_dsarm_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsarm_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsntree_icon (bAnimListElem *UNUSED(ale))
static short acf_dsntree_offset (bAnimContext *ac, bAnimListElem *ale)
static int acf_dsntree_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsntree_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsmesh_icon (bAnimListElem *UNUSED(ale))
static int acf_dsmesh_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsmesh_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dslat_icon (bAnimListElem *UNUSED(ale))
static int acf_dslat_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dslat_setting_ptr (bAnimListElem *ale, int setting, short *type)
static int acf_dsspk_icon (bAnimListElem *UNUSED(ale))
static int acf_dsspk_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_dsspk_setting_ptr (bAnimListElem *ale, int setting, short *type)
static void acf_shapekey_name (bAnimListElem *ale, char *name)
static short acf_shapekey_nameprop (bAnimListElem *ale, PointerRNA *ptr, PropertyRNA **prop)
static short acf_shapekey_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_shapekey_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_shapekey_setting_ptr (bAnimListElem *ale, int setting, short *type)
static void acf_gpd_color (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), float *color)
static int acf_gpd_icon (bAnimListElem *UNUSED(ale))
static short acf_gpd_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_gpd_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_gpd_setting_ptr (bAnimListElem *ale, int UNUSED(setting), short *type)
static void acf_gpl_name (bAnimListElem *ale, char *name)
static short acf_gpl_name_prop (bAnimListElem *ale, PointerRNA *ptr, PropertyRNA **prop)
static short acf_gpl_setting_valid (bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), int setting)
static int acf_gpl_setting_flag (bAnimContext *UNUSED(ac), int setting, short *neg)
static void * acf_gpl_setting_ptr (bAnimListElem *ale, int UNUSED(setting), short *type)
static void ANIM_init_channel_typeinfo_data (void)
bAnimChannelTypeANIM_channel_get_typeinfo (bAnimListElem *ale)
void ANIM_channel_debug_print_info (bAnimListElem *ale, short indent_level)
short ANIM_channel_setting_get (bAnimContext *ac, bAnimListElem *ale, int setting)
void ANIM_channel_setting_set (bAnimContext *ac, bAnimListElem *ale, int setting, short mode)
void ANIM_channel_draw (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void achannel_setting_widget_cb (bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
static void achannel_setting_flush_widget_cb (bContext *C, void *ale_npoin, void *setting_wrap)
static void achannel_setting_rename_done_cb (bContext *C, void *ads_poin, void *UNUSED(arg2))
static void achannel_setting_slider_cb (bContext *C, void *id_poin, void *fcu_poin)
static void achannel_setting_slider_shapekey_cb (bContext *C, void *key_poin, void *kb_poin)
static void draw_setting_widget (bAnimContext *ac, bAnimListElem *ale, bAnimChannelType *acf, uiBlock *block, int xpos, int ypos, int setting)
void ANIM_channel_draw_widgets (bContext *C, bAnimContext *ac, bAnimListElem *ale, uiBlock *block, float yminc, float ymaxc, size_t channel_index)

Variables

static bAnimChannelType ACF_SUMMARY
static bAnimChannelType ACF_SCENE
static bAnimChannelType ACF_OBJECT
static bAnimChannelType ACF_GROUP
static bAnimChannelType ACF_FCURVE
static bAnimChannelType ACF_FILLACTD
static bAnimChannelType ACF_FILLDRIVERS
static bAnimChannelType ACF_DSMAT
static bAnimChannelType ACF_DSLAM
static bAnimChannelType ACF_DSTEX
static bAnimChannelType ACF_DSCAM
static bAnimChannelType ACF_DSCUR
static bAnimChannelType ACF_DSSKEY
static bAnimChannelType ACF_DSWOR
static bAnimChannelType ACF_DSPART
static bAnimChannelType ACF_DSMBALL
static bAnimChannelType ACF_DSARM
static bAnimChannelType ACF_DSNTREE
static bAnimChannelType ACF_DSMESH
static bAnimChannelType ACF_DSLAT
static bAnimChannelType ACF_DSSPK
static bAnimChannelType ACF_SHAPEKEY
static bAnimChannelType ACF_GPD
static bAnimChannelType ACF_GPL
static bAnimChannelTypeanimchannelTypeInfo [ANIMTYPE_NUM_TYPES]
static short ACF_INIT = 1

Detailed Description

Definition in file anim_channels_defines.c.


Define Documentation

#define ACF_SETTING_SET (   sval,
  sflag,
  smode 
)
Value:
{\
        if (negflag) {\
            if (smode == ACHANNEL_SETFLAG_INVERT)   (sval) ^= (sflag); \
            else if (smode == ACHANNEL_SETFLAG_ADD) (sval) &= ~(sflag); \
            else                                    (sval) |= (sflag); \
        } \
        else {\
            if (smode == ACHANNEL_SETFLAG_INVERT)   (sval) ^= (sflag); \
            else if (smode == ACHANNEL_SETFLAG_ADD) (sval) |= (sflag); \
            else                                    (sval) &= ~(sflag); \
        }\
    }

Definition at line 2658 of file anim_channels_defines.c.

Referenced by ANIM_channel_setting_set().

#define ANIM_CHAN_NAME_SIZE   256
#define EXTRA_SCROLL_PAD   100.0f
#define GET_ACF_FLAG_PTR (   ptr)
#define ICON_WIDTH   17
#define INDENT_STEP_SIZE   7
#define RENAME_TEXT_WIDTH   100

Definition at line 2726 of file anim_channels_defines.c.

Referenced by ANIM_channel_draw_widgets().

#define SLIDER_WIDTH   80

Definition at line 2724 of file anim_channels_defines.c.

Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().


Function Documentation

static int acf_dsarm_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1825 of file anim_channels_defines.c.

static int acf_dsarm_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsarm_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dscam_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1353 of file anim_channels_defines.c.

static int acf_dscam_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dscam_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dscur_icon ( bAnimListElem ale) [static]

Definition at line 1430 of file anim_channels_defines.c.

References curve_type(), bAnimListElem::data, OB_FONT, and OB_SURF.

static int acf_dscur_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dscur_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dslam_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1192 of file anim_channels_defines.c.

static int acf_dslam_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dslam_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dslat_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 2067 of file anim_channels_defines.c.

static int acf_dslat_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dslat_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsmat_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1115 of file anim_channels_defines.c.

static int acf_dsmat_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsmat_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsmball_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1748 of file anim_channels_defines.c.

static int acf_dsmball_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsmball_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsmesh_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1990 of file anim_channels_defines.c.

static int acf_dsmesh_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsmesh_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsntree_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1902 of file anim_channels_defines.c.

static short acf_dsntree_offset ( bAnimContext ac,
bAnimListElem ale 
) [static]
static int acf_dsntree_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsntree_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dspart_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1671 of file anim_channels_defines.c.

static int acf_dspart_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dspart_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsskey_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1517 of file anim_channels_defines.c.

static int acf_dsskey_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsskey_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dsspk_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 2144 of file anim_channels_defines.c.

static int acf_dsspk_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dsspk_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dstex_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1269 of file anim_channels_defines.c.

static short acf_dstex_offset ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale 
) [static]

Definition at line 1276 of file anim_channels_defines.c.

static int acf_dstex_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dstex_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static int acf_dswor_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1594 of file anim_channels_defines.c.

static int acf_dswor_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_dswor_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static void acf_fcurve_name ( bAnimListElem ale,
char *  name 
) [static]
static int acf_fcurve_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_fcurve_setting_ptr ( bAnimListElem ale,
int   UNUSEDsetting,
short *  type 
) [static]

Definition at line 920 of file anim_channels_defines.c.

References bAnimListElem::data, FCurve::flag, and GET_ACF_FLAG_PTR.

static short acf_fcurve_setting_valid ( bAnimContext ac,
bAnimListElem ale,
int  setting 
) [static]
static int acf_fillactd_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 950 of file anim_channels_defines.c.

static int acf_fillactd_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_fillactd_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_fillactd_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]

Definition at line 956 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.

static int acf_filldrivers_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 1035 of file anim_channels_defines.c.

static void acf_filldrivers_name ( bAnimListElem UNUSEDale,
char *  name 
) [static]

Definition at line 1040 of file anim_channels_defines.c.

References ANIM_CHAN_NAME_SIZE, and BLI_strncpy().

static int acf_filldrivers_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]

Definition at line 1060 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND, and ADT_DRIVERS_COLLAPSED.

static void* acf_filldrivers_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_filldrivers_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]

Definition at line 1047 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND.

static short acf_generic_basic_offset ( bAnimContext ac,
bAnimListElem ale 
) [static]
static void acf_generic_channel_backdrop ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
) [static]
static void acf_generic_channel_color ( bAnimContext ac,
bAnimListElem ale,
float *  color 
) [static]
static void acf_generic_dataexpand_backdrop ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
) [static]
static void acf_generic_dataexpand_color ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
float *  color 
) [static]

Definition at line 130 of file anim_channels_defines.c.

References TH_DOPESHEET_CHANNELSUBOB, and UI_GetThemeColor3fv().

static short acf_generic_dataexpand_setting_valid ( bAnimContext ac,
bAnimListElem UNUSEDale,
int  setting 
) [static]
static short acf_generic_group_offset ( bAnimContext ac,
bAnimListElem ale 
) [static]
static void acf_generic_idblock_name ( bAnimListElem ale,
char *  name 
) [static]
static short acf_generic_idblock_nameprop ( bAnimListElem ale,
PointerRNA ptr,
PropertyRNA **  prop 
) [static]
static short acf_generic_idfill_nameprop ( bAnimListElem ale,
PointerRNA ptr,
PropertyRNA **  prop 
) [static]
static short acf_generic_indention_0 ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale 
) [static]

Definition at line 217 of file anim_channels_defines.c.

static short acf_generic_indention_1 ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale 
) [static]

Definition at line 221 of file anim_channels_defines.c.

static short acf_generic_indention_flexible ( bAnimContext UNUSEDac,
bAnimListElem ale 
) [static]
static void acf_generic_root_backdrop ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
) [static]
static void acf_generic_root_color ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
float *  color 
) [static]

Definition at line 104 of file anim_channels_defines.c.

References TH_DOPESHEET_CHANNELOB, and UI_GetThemeColor3fv().

static void acf_gpd_color ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
float *  color 
) [static]
static int acf_gpd_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 2335 of file anim_channels_defines.c.

static int acf_gpd_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_gpd_setting_ptr ( bAnimListElem ale,
int   UNUSEDsetting,
short *  type 
) [static]

Definition at line 2373 of file anim_channels_defines.c.

References bAnimListElem::data, bGPdata::flag, and GET_ACF_FLAG_PTR.

static short acf_gpd_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]

Definition at line 2341 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.

static void acf_gpl_name ( bAnimListElem ale,
char *  name 
) [static]
static short acf_gpl_name_prop ( bAnimListElem ale,
PointerRNA ptr,
PropertyRNA **  prop 
) [static]
static int acf_gpl_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_gpl_setting_ptr ( bAnimListElem ale,
int   UNUSEDsetting,
short *  type 
) [static]

Definition at line 2462 of file anim_channels_defines.c.

References bAnimListElem::data, bGPDlayer::flag, and GET_ACF_FLAG_PTR.

static short acf_gpl_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]

Definition at line 2425 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_VISIBLE.

static void acf_group_backdrop ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
) [static]
static void acf_group_color ( bAnimContext UNUSEDac,
bAnimListElem ale,
float *  color 
) [static]
static void acf_group_name ( bAnimListElem ale,
char *  name 
) [static]
static short acf_group_name_prop ( bAnimListElem ale,
PointerRNA ptr,
PropertyRNA **  prop 
) [static]
static int acf_group_setting_flag ( bAnimContext ac,
int  setting,
short *  neg 
) [static]
static void* acf_group_setting_ptr ( bAnimListElem ale,
int   UNUSEDsetting,
short *  type 
) [static]
static short acf_group_setting_valid ( bAnimContext ac,
bAnimListElem UNUSEDale,
int  setting 
) [static]
static short acf_nodetree_rootType_offset ( bNodeTree ntree) [static]
static int acf_object_icon ( bAnimListElem ale) [static]
static void acf_object_name ( bAnimListElem ale,
char *  name 
) [static]
static int acf_object_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_object_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_object_setting_valid ( bAnimContext ac,
bAnimListElem ale,
int  setting 
) [static]
static int acf_scene_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 487 of file anim_channels_defines.c.

static int acf_scene_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_scene_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_scene_setting_valid ( bAnimContext ac,
bAnimListElem UNUSEDale,
int  setting 
) [static]
static void acf_shapekey_name ( bAnimListElem ale,
char *  name 
) [static]
static short acf_shapekey_nameprop ( bAnimListElem ale,
PointerRNA ptr,
PropertyRNA **  prop 
) [static]
static int acf_shapekey_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]
static void* acf_shapekey_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_shapekey_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]
static void acf_summary_backdrop ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
) [static]
static void acf_summary_color ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
float *  color 
) [static]

Definition at line 380 of file anim_channels_defines.c.

static int acf_summary_icon ( bAnimListElem UNUSEDale) [static]

Definition at line 416 of file anim_channels_defines.c.

static void acf_summary_name ( bAnimListElem UNUSEDale,
char *  name 
) [static]

Definition at line 409 of file anim_channels_defines.c.

References ANIM_CHAN_NAME_SIZE, and BLI_strncpy().

static int acf_summary_setting_flag ( bAnimContext UNUSEDac,
int  setting,
short *  neg 
) [static]

Definition at line 429 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND, and ADS_FLAG_SUMMARY_COLLAPSED.

static void* acf_summary_setting_ptr ( bAnimListElem ale,
int  setting,
short *  type 
) [static]
static short acf_summary_setting_valid ( bAnimContext UNUSEDac,
bAnimListElem UNUSEDale,
int  setting 
) [static]

Definition at line 422 of file anim_channels_defines.c.

References ACHANNEL_SETTING_EXPAND.

static void achannel_setting_flush_widget_cb ( bContext C,
void *  ale_npoin,
void *  setting_wrap 
) [static]
static void achannel_setting_rename_done_cb ( bContext C,
void *  ads_poin,
void *  UNUSEDarg2 
) [static]
static void achannel_setting_slider_cb ( bContext C,
void *  id_poin,
void *  fcu_poin 
) [static]
static void achannel_setting_slider_shapekey_cb ( bContext C,
void *  key_poin,
void *  kb_poin 
) [static]
static void achannel_setting_widget_cb ( bContext C,
void *  UNUSEDarg1,
void *  UNUSEDarg2 
) [static]

Definition at line 2909 of file anim_channels_defines.c.

References NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NULL, and WM_event_add_notifier().

Referenced by draw_setting_widget().

void ANIM_channel_debug_print_info ( bAnimListElem ale,
short  indent_level 
)
void ANIM_channel_draw ( bAnimContext ac,
bAnimListElem ale,
float  yminc,
float  ymaxc 
)
void ANIM_channel_draw_widgets ( bContext C,
bAnimContext ac,
bAnimListElem ale,
uiBlock block,
float  yminc,
float  ymaxc,
size_t  channel_index 
)
bAnimChannelType* ANIM_channel_get_typeinfo ( bAnimListElem ale)
short ANIM_channel_setting_get ( bAnimContext ac,
bAnimListElem ale,
int  setting 
)
void ANIM_channel_setting_set ( bAnimContext ac,
bAnimListElem ale,
int  setting,
short  mode 
)
static void ANIM_init_channel_typeinfo_data ( void  ) [static]
static void draw_setting_widget ( bAnimContext ac,
bAnimListElem ale,
bAnimChannelType acf,
uiBlock block,
int  xpos,
int  ypos,
int  setting 
) [static]

Variable Documentation

short ACF_INIT = 1 [static]

Definition at line 2494 of file anim_channels_defines.c.

bAnimChannelType* animchannelTypeInfo[ANIMTYPE_NUM_TYPES] [static]

Definition at line 2493 of file anim_channels_defines.c.