Blender V2.61 - r43446
Defines | Enumerations | Functions | Variables

action_select.c File Reference

#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_dlrbTree.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "BKE_fcurve.h"
#include "BKE_nla.h"
#include "BKE_context.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_gpencil.h"
#include "ED_keyframes_draw.h"
#include "ED_keyframes_edit.h"
#include "ED_markers.h"
#include "ED_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "action_intern.h"

Go to the source code of this file.

Defines

#define FRAME_CLICK_THRESH   0.1f

Enumerations

enum  { ACTKEYS_BORDERSEL_ALLKEYS = 0, ACTKEYS_BORDERSEL_FRAMERANGE, ACTKEYS_BORDERSEL_CHANNELS }

Functions

static void deselect_action_keys (bAnimContext *ac, short test, short sel)
static int actkeys_deselectall_exec (bContext *C, wmOperator *op)
void ACTION_OT_select_all_toggle (wmOperatorType *ot)
static void borderselect_action (bAnimContext *ac, rcti rect, short mode, short selectmode)
static int actkeys_borderselect_exec (bContext *C, wmOperator *op)
void ACTION_OT_select_border (wmOperatorType *ot)
static void markers_selectkeys_between (bAnimContext *ac)
static void columnselect_action_keys (bAnimContext *ac, short mode)
static int actkeys_columnselect_exec (bContext *C, wmOperator *op)
void ACTION_OT_select_column (wmOperatorType *ot)
static int actkeys_select_linked_exec (bContext *C, wmOperator *UNUSED(op))
void ACTION_OT_select_linked (wmOperatorType *ot)
static void select_moreless_action_keys (bAnimContext *ac, short mode)
static int actkeys_select_more_exec (bContext *C, wmOperator *UNUSED(op))
void ACTION_OT_select_more (wmOperatorType *ot)
static int actkeys_select_less_exec (bContext *C, wmOperator *UNUSED(op))
void ACTION_OT_select_less (wmOperatorType *ot)
static void actkeys_select_leftright (bAnimContext *ac, short leftright, short select_mode)
static int actkeys_select_leftright_exec (bContext *C, wmOperator *op)
static int actkeys_select_leftright_invoke (bContext *C, wmOperator *op, wmEvent *event)
void ACTION_OT_select_leftright (wmOperatorType *ot)
static void actkeys_mselect_single (bAnimContext *ac, bAnimListElem *ale, short select_mode, float selx)
static void actkeys_mselect_column (bAnimContext *ac, short select_mode, float selx)
static void mouse_action_keys (bAnimContext *ac, const int mval[2], short select_mode, short column)
static int actkeys_clickselect_invoke (bContext *C, wmOperator *op, wmEvent *event)
void ACTION_OT_clickselect (wmOperatorType *ot)

Variables

static EnumPropertyItem prop_column_select_types []
static EnumPropertyItem prop_actkeys_leftright_select_types []

Detailed Description

Definition in file action_select.c.


Define Documentation

#define FRAME_CLICK_THRESH   0.1f

Definition at line 894 of file action_select.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
ACTKEYS_BORDERSEL_ALLKEYS 
ACTKEYS_BORDERSEL_FRAMERANGE 
ACTKEYS_BORDERSEL_CHANNELS 

Definition at line 188 of file action_select.c.


Function Documentation

void ACTION_OT_clickselect ( wmOperatorType ot)
void ACTION_OT_select_all_toggle ( wmOperatorType ot)
void ACTION_OT_select_border ( wmOperatorType ot)
void ACTION_OT_select_column ( wmOperatorType ot)
void ACTION_OT_select_leftright ( wmOperatorType ot)
void ACTION_OT_select_less ( wmOperatorType ot)
void ACTION_OT_select_linked ( wmOperatorType ot)
void ACTION_OT_select_more ( wmOperatorType ot)
static int actkeys_borderselect_exec ( bContext C,
wmOperator op 
) [static]
static int actkeys_clickselect_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int actkeys_columnselect_exec ( bContext C,
wmOperator op 
) [static]
static int actkeys_deselectall_exec ( bContext C,
wmOperator op 
) [static]
static void actkeys_mselect_column ( bAnimContext ac,
short  select_mode,
float  selx 
) [static]
static void actkeys_mselect_single ( bAnimContext ac,
bAnimListElem ale,
short  select_mode,
float  selx 
) [static]
static void actkeys_select_leftright ( bAnimContext ac,
short  leftright,
short  select_mode 
) [static]
static int actkeys_select_leftright_exec ( bContext C,
wmOperator op 
) [static]
static int actkeys_select_leftright_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int actkeys_select_less_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int actkeys_select_linked_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int actkeys_select_more_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static void borderselect_action ( bAnimContext ac,
rcti  rect,
short  mode,
short  selectmode 
) [static]
static void columnselect_action_keys ( bAnimContext ac,
short  mode 
) [static]
static void deselect_action_keys ( bAnimContext ac,
short  test,
short  sel 
) [static]
static void markers_selectkeys_between ( bAnimContext ac) [static]
static void mouse_action_keys ( bAnimContext ac,
const int  mval[2],
short  select_mode,
short  column 
) [static]
static void select_moreless_action_keys ( bAnimContext ac,
short  mode 
) [static]

Variable Documentation

Initial value:
 {
    {ACTKEYS_LRSEL_TEST, "CHECK", 0, "Check if Select Left or Right", ""},
    {ACTKEYS_LRSEL_LEFT, "LEFT", 0, "Before current frame", ""},
    {ACTKEYS_LRSEL_RIGHT, "RIGHT", 0, "After current frame", ""},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 715 of file action_select.c.

Initial value:
 {
    {ACTKEYS_COLUMNSEL_KEYS, "KEYS", 0, "On Selected Keyframes", ""},
    {ACTKEYS_COLUMNSEL_CFRA, "CFRA", 0, "On Current Frame", ""},
    {ACTKEYS_COLUMNSEL_MARKERS_COLUMN, "MARKERS_COLUMN", 0, "On Selected Markers", ""},
    {ACTKEYS_COLUMNSEL_MARKERS_BETWEEN, "MARKERS_BETWEEN", 0, "Between Min/Max Selected Markers", ""},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 352 of file action_select.c.