Blender V2.61 - r43446
Enumerations | Functions | Variables

nla_select.c File Reference

#include <string.h>
#include <stdio.h>
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_rand.h"
#include "BKE_nla.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "ED_anim_api.h"
#include "ED_keyframes_edit.h"
#include "ED_screen.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_view2d.h"
#include "nla_intern.h"

Go to the source code of this file.

Enumerations

enum  { DESELECT_STRIPS_NOTEST = 0, DESELECT_STRIPS_TEST, DESELECT_STRIPS_CLEARACTIVE }
enum  { NLA_BORDERSEL_ALLSTRIPS = 0, NLA_BORDERSEL_FRAMERANGE, NLA_BORDERSEL_CHANNELS }

Functions

static short selmodes_to_flagmodes (short sel)
static void deselect_nla_strips (bAnimContext *ac, short test, short sel)
static int nlaedit_deselectall_exec (bContext *C, wmOperator *op)
void NLA_OT_select_all_toggle (wmOperatorType *ot)
static void borderselect_nla_strips (bAnimContext *ac, rcti rect, short mode, short selectmode)
static int nlaedit_borderselect_exec (bContext *C, wmOperator *op)
void NLA_OT_select_border (wmOperatorType *ot)
static void nlaedit_select_leftright (bContext *C, bAnimContext *ac, short leftright, short select_mode)
static int nlaedit_select_leftright_exec (bContext *C, wmOperator *op)
static int nlaedit_select_leftright_invoke (bContext *C, wmOperator *op, wmEvent *event)
void NLA_OT_select_leftright (wmOperatorType *ot)
static void mouse_nla_strips (bContext *C, bAnimContext *ac, const int mval[2], short select_mode)
static int nlaedit_clickselect_invoke (bContext *C, wmOperator *op, wmEvent *event)
void NLA_OT_click_select (wmOperatorType *ot)

Variables

static EnumPropertyItem prop_nlaedit_leftright_select_types []

Detailed Description

Definition in file nla_select.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
DESELECT_STRIPS_NOTEST 
DESELECT_STRIPS_TEST 
DESELECT_STRIPS_CLEARACTIVE 

Definition at line 92 of file nla_select.c.

anonymous enum
Enumerator:
NLA_BORDERSEL_ALLSTRIPS 
NLA_BORDERSEL_FRAMERANGE 
NLA_BORDERSEL_CHANNELS 

Definition at line 213 of file nla_select.c.


Function Documentation

static void borderselect_nla_strips ( bAnimContext ac,
rcti  rect,
short  mode,
short  selectmode 
) [static]
static void deselect_nla_strips ( bAnimContext ac,
short  test,
short  sel 
) [static]
static void mouse_nla_strips ( bContext C,
bAnimContext ac,
const int  mval[2],
short  select_mode 
) [static]
void NLA_OT_click_select ( wmOperatorType ot)
void NLA_OT_select_all_toggle ( wmOperatorType ot)
void NLA_OT_select_border ( wmOperatorType ot)
void NLA_OT_select_leftright ( wmOperatorType ot)
static int nlaedit_borderselect_exec ( bContext C,
wmOperator op 
) [static]
static int nlaedit_clickselect_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int nlaedit_deselectall_exec ( bContext C,
wmOperator op 
) [static]
static void nlaedit_select_leftright ( bContext C,
bAnimContext ac,
short  leftright,
short  select_mode 
) [static]
static int nlaedit_select_leftright_exec ( bContext C,
wmOperator op 
) [static]
static int nlaedit_select_leftright_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static short selmodes_to_flagmodes ( short  sel) [static]

Variable Documentation

Initial value:
 {
    {NLAEDIT_LRSEL_TEST, "CHECK", 0, "Check if Select Left or Right", ""},
    {NLAEDIT_LRSEL_LEFT, "LEFT", 0, "Before current frame", ""},
    {NLAEDIT_LRSEL_RIGHT, "RIGHT", 0, "After current frame", ""},
    {0, NULL, 0, NULL, NULL}
}

Definition at line 359 of file nla_select.c.