Blender V2.61 - r43446
Defines | Functions

outliner_select.c File Reference

#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_constraint_types.h"
#include "DNA_camera_types.h"
#include "DNA_group_types.h"
#include "DNA_key_types.h"
#include "DNA_lamp_types.h"
#include "DNA_material_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meta_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DNA_world_types.h"
#include "DNA_sequence_types.h"
#include "DNA_object_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BLI_math_base.h"
#include <fnmatch.h>
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_deform.h"
#include "BKE_depsgraph.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_group.h"
#include "BKE_library.h"
#include "BKE_main.h"
#include "BKE_modifier.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_sequencer.h"
#include "ED_armature.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_util.h"
#include "WM_api.h"
#include "WM_types.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "outliner_intern.h"

Go to the source code of this file.

Defines

#define _GNU_SOURCE

Functions

static int outliner_select (SpaceOops *soops, ListBase *lb, int *index, short *selecting)
static int tree_element_active_renderlayer (bContext *C, TreeElement *te, TreeStoreElem *tselem, int set)
static int tree_element_set_active_object (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_material (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_texture (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_lamp (bContext *UNUSED(C), Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_camera (bContext *UNUSED(C), Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_world (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, int set)
static int tree_element_active_defgroup (bContext *C, Scene *scene, TreeElement *te, TreeStoreElem *tselem, int set)
static int tree_element_active_posegroup (bContext *C, Scene *scene, TreeElement *te, TreeStoreElem *tselem, int set)
static int tree_element_active_posechannel (bContext *C, Scene *scene, TreeElement *te, TreeStoreElem *tselem, int set)
static int tree_element_active_bone (bContext *C, Scene *scene, TreeElement *te, TreeStoreElem *tselem, int set)
static void tree_element_active_ebone__sel (bContext *C, Scene *scene, bArmature *arm, EditBone *ebone, short sel)
static int tree_element_active_ebone (bContext *C, Scene *scene, TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
static int tree_element_active_modifier (bContext *C, TreeElement *UNUSED(te), TreeStoreElem *tselem, int set)
static int tree_element_active_psys (bContext *C, Scene *UNUSED(scene), TreeElement *UNUSED(te), TreeStoreElem *tselem, int set)
static int tree_element_active_constraint (bContext *C, TreeElement *UNUSED(te), TreeStoreElem *tselem, int set)
static int tree_element_active_text (bContext *UNUSED(C), Scene *UNUSED(scene), SpaceOops *UNUSED(soops), TreeElement *UNUSED(te), int UNUSED(set))
static int tree_element_active_pose (bContext *C, Scene *scene, TreeElement *UNUSED(te), TreeStoreElem *tselem, int set)
static int tree_element_active_sequence (TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
static int tree_element_active_sequence_dup (Scene *scene, TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
static int tree_element_active_keymap_item (bContext *UNUSED(C), TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
int tree_element_active (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, int set)
int tree_element_type_active (bContext *C, Scene *scene, SpaceOops *soops, TreeElement *te, TreeStoreElem *tselem, int set)
static int do_outliner_item_activate (bContext *C, Scene *scene, ARegion *ar, SpaceOops *soops, TreeElement *te, int extend, const float mval[2])
static int outliner_item_activate (bContext *C, wmOperator *op, wmEvent *event)
void OUTLINER_OT_item_activate (wmOperatorType *ot)

Detailed Description

Definition in file outliner_select.c.


Define Documentation

#define _GNU_SOURCE

Definition at line 63 of file outliner_select.c.


Function Documentation

static int do_outliner_item_activate ( bContext *  C,
Scene *  scene,
ARegion *  ar,
SpaceOops *  soops,
TreeElement *  te,
int  extend,
const float  mval[2] 
) [static]
static int outliner_item_activate ( bContext *  C,
wmOperator *  op,
wmEvent *  event 
) [static]
void OUTLINER_OT_item_activate ( wmOperatorType *  ot)
static int outliner_select ( SpaceOops *  soops,
ListBase *  lb,
int *  index,
short *  selecting 
) [static]
int tree_element_active ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
)
static int tree_element_active_bone ( bContext *  C,
Scene *  scene,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_camera ( bContext *  UNUSEDC,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]

Definition at line 353 of file outliner_select.c.

References Scene::camera, ID_OB, and outliner_search_back().

Referenced by tree_element_active().

static int tree_element_active_constraint ( bContext *  C,
TreeElement *  UNUSEDte,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_defgroup ( bContext *  C,
Scene *  scene,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_ebone ( bContext *  C,
Scene *  scene,
TreeElement *  te,
TreeStoreElem *  UNUSEDtselem,
int  set 
) [static]
static void tree_element_active_ebone__sel ( bContext *  C,
Scene *  scene,
bArmature *  arm,
EditBone *  ebone,
short  sel 
) [static]
static int tree_element_active_keymap_item ( bContext *  UNUSEDC,
TreeElement *  te,
TreeStoreElem *  UNUSEDtselem,
int  set 
) [static]

Definition at line 645 of file outliner_select.c.

References TreeElement::directdata, wmKeyMapItem::flag, and KMI_INACTIVE.

Referenced by tree_element_type_active().

static int tree_element_active_lamp ( bContext *  UNUSEDC,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]

Definition at line 337 of file outliner_select.c.

References ID_OB, NULL, OBACT, and outliner_search_back().

Referenced by tree_element_active().

static int tree_element_active_material ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]
static int tree_element_active_modifier ( bContext *  C,
TreeElement *  UNUSEDte,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_pose ( bContext *  C,
Scene *  scene,
TreeElement *  UNUSEDte,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_posechannel ( bContext *  C,
Scene *  scene,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_posegroup ( bContext *  C,
Scene *  scene,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_psys ( bContext *  C,
Scene *  UNUSEDscene,
TreeElement *  UNUSEDte,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_renderlayer ( bContext *  C,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
) [static]
static int tree_element_active_sequence ( TreeElement *  te,
TreeStoreElem *  UNUSEDtselem,
int  set 
) [static]

Definition at line 604 of file outliner_select.c.

References TreeElement::directdata, Sequence::flag, and SELECT.

Referenced by tree_element_type_active().

static int tree_element_active_sequence_dup ( Scene *  scene,
TreeElement *  te,
TreeStoreElem *  UNUSEDtselem,
int  set 
) [static]
static int tree_element_active_text ( bContext *  UNUSEDC,
Scene *  UNUSEDscene,
SpaceOops *  UNUSEDsoops,
TreeElement *  UNUSEDte,
int   UNUSEDset 
) [static]

Definition at line 578 of file outliner_select.c.

Referenced by tree_element_active().

static int tree_element_active_texture ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]
static int tree_element_active_world ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]
static int tree_element_set_active_object ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
int  set 
) [static]
int tree_element_type_active ( bContext *  C,
Scene *  scene,
SpaceOops *  soops,
TreeElement *  te,
TreeStoreElem *  tselem,
int  set 
)