Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

outliner_intern.h File Reference

#include "RNA_types.h"

Go to the source code of this file.

Classes

struct  TreeElement

Defines

#define TE_ACTIVE   1
#define TE_ICONROW   2
#define TE_LAZY_CLOSED   4
#define TE_FREE_NAME   8
#define TSE_NLA   1
#define TSE_NLA_ACTION   2
#define TSE_DEFGROUP_BASE   3
#define TSE_DEFGROUP   4
#define TSE_BONE   5
#define TSE_EBONE   6
#define TSE_CONSTRAINT_BASE   7
#define TSE_CONSTRAINT   8
#define TSE_MODIFIER_BASE   9
#define TSE_MODIFIER   10
#define TSE_LINKED_OB   11
#define TSE_SCRIPT_BASE   12
#define TSE_POSE_BASE   13
#define TSE_POSE_CHANNEL   14
#define TSE_ANIM_DATA   15
#define TSE_DRIVER_BASE   16
#define TSE_DRIVER   17
#define TSE_PROXY   18
#define TSE_R_LAYER_BASE   19
#define TSE_R_LAYER   20
#define TSE_R_PASS   21
#define TSE_LINKED_MAT   22
#define TSE_LINKED_LAMP   23
#define TSE_POSEGRP_BASE   24
#define TSE_POSEGRP   25
#define TSE_SEQUENCE   26
#define TSE_SEQ_STRIP   27
#define TSE_SEQUENCE_DUP   28
#define TSE_LINKED_PSYS   29
#define TSE_RNA_STRUCT   30
#define TSE_RNA_PROPERTY   31
#define TSE_RNA_ARRAY_ELEM   32
#define TSE_NLA_TRACK   33
#define TSE_KEYMAP   34
#define TSE_KEYMAP_ITEM   35
#define OL_NAMEBUTTON   1
#define TREESTORE(a)   ((a)?soops->treestore->data+(a)->store_index:NULL)
#define OL_Y_OFFSET   2
#define OL_TOG_RESTRICT_VIEWX   (UI_UNIT_X*3)
#define OL_TOG_RESTRICT_SELECTX   (UI_UNIT_X*2)
#define OL_TOG_RESTRICT_RENDERX   UI_UNIT_X
#define OL_TOGW   OL_TOG_RESTRICT_VIEWX
#define OL_RNA_COLX   (UI_UNIT_X*15)
#define OL_RNA_COL_SIZEX   (UI_UNIT_X*7.5f)
#define OL_RNA_COL_SPACEX   (UI_UNIT_X*2.5f)
#define SEARCHING_OUTLINER(sov)   (sov->search_flags & SO_SEARCH_RECURSIVE)
#define TSELEM_OPEN(telm, sv)   ( (telm->flag & TSE_CLOSED)==0 || (SEARCHING_OUTLINER(sv) && (telm->flag & TSE_CHILDSEARCH)) )

Typedefs

typedef struct TreeElement TreeElement

Functions

void outliner_free_tree (ListBase *lb)
void outliner_cleanup_tree (struct SpaceOops *soops)
TreeElementoutliner_find_tse (struct SpaceOops *soops, TreeStoreElem *tse)
TreeElementoutliner_find_id (struct SpaceOops *soops, ListBase *lb, struct ID *id)
struct IDoutliner_search_back (SpaceOops *soops, TreeElement *te, short idcode)
void outliner_build_tree (struct Main *mainvar, struct Scene *scene, struct SpaceOops *soops)
void draw_outliner (const struct bContext *C)
void restrictbutton_gr_restrict_flag (void *poin, void *poin2, int flag)
int tree_element_type_active (struct bContext *C, struct Scene *scene, struct SpaceOops *soops, TreeElement *te, TreeStoreElem *tselem, int set)
int tree_element_active (struct bContext *C, struct Scene *scene, SpaceOops *soops, TreeElement *te, int set)
void outliner_do_object_operation (struct bContext *C, struct Scene *scene, struct SpaceOops *soops, struct ListBase *lb, void(*operation_cb)(struct bContext *C, struct Scene *scene, struct TreeElement *, struct TreeStoreElem *, TreeStoreElem *))
int common_restrict_check (struct bContext *C, struct Object *ob)
int outliner_has_one_flag (struct SpaceOops *soops, ListBase *lb, short flag, short curlevel)
void outliner_set_flag (struct SpaceOops *soops, ListBase *lb, short flag, short set)
void object_toggle_visibility_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void object_toggle_selectability_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void object_toggle_renderability_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void group_toggle_visibility_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void group_toggle_selectability_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void group_toggle_renderability_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void item_rename_cb (struct bContext *C, struct Scene *scene, TreeElement *te, struct TreeStoreElem *tsep, struct TreeStoreElem *tselem)
void OUTLINER_OT_item_activate (struct wmOperatorType *ot)
void OUTLINER_OT_item_openclose (struct wmOperatorType *ot)
void OUTLINER_OT_item_rename (struct wmOperatorType *ot)
void OUTLINER_OT_show_one_level (struct wmOperatorType *ot)
void OUTLINER_OT_show_active (struct wmOperatorType *ot)
void OUTLINER_OT_show_hierarchy (struct wmOperatorType *ot)
void OUTLINER_OT_selected_toggle (struct wmOperatorType *ot)
void OUTLINER_OT_expanded_toggle (struct wmOperatorType *ot)
void OUTLINER_OT_scroll_page (struct wmOperatorType *ot)
void OUTLINER_OT_renderability_toggle (struct wmOperatorType *ot)
void OUTLINER_OT_selectability_toggle (struct wmOperatorType *ot)
void OUTLINER_OT_visibility_toggle (struct wmOperatorType *ot)
void OUTLINER_OT_keyingset_add_selected (struct wmOperatorType *ot)
void OUTLINER_OT_keyingset_remove_selected (struct wmOperatorType *ot)
void OUTLINER_OT_drivers_add_selected (struct wmOperatorType *ot)
void OUTLINER_OT_drivers_delete_selected (struct wmOperatorType *ot)
void OUTLINER_OT_operation (struct wmOperatorType *ot)
void OUTLINER_OT_object_operation (struct wmOperatorType *ot)
void OUTLINER_OT_group_operation (struct wmOperatorType *ot)
void OUTLINER_OT_id_operation (struct wmOperatorType *ot)
void OUTLINER_OT_data_operation (struct wmOperatorType *ot)
void OUTLINER_OT_animdata_operation (struct wmOperatorType *ot)
void OUTLINER_OT_action_set (struct wmOperatorType *ot)
void outliner_operatortypes (void)
void outliner_keymap (struct wmKeyConfig *keyconf)

Detailed Description

Definition in file outliner_intern.h.


Define Documentation

#define OL_NAMEBUTTON   1

Definition at line 108 of file outliner_intern.h.

Referenced by outliner_buttons().

#define OL_RNA_COL_SIZEX   (UI_UNIT_X*7.5f)

Definition at line 125 of file outliner_intern.h.

Referenced by draw_outliner(), outliner_draw_rnabuts(), and outliner_draw_rnacols().

#define OL_RNA_COL_SPACEX   (UI_UNIT_X*2.5f)

Definition at line 126 of file outliner_intern.h.

Referenced by draw_outliner().

#define OL_RNA_COLX   (UI_UNIT_X*15)

Definition at line 124 of file outliner_intern.h.

Referenced by draw_outliner().

#define OL_TOG_RESTRICT_RENDERX   UI_UNIT_X

Definition at line 120 of file outliner_intern.h.

Referenced by outliner_draw_restrictbuts(), and outliner_draw_restrictcols().

#define OL_TOG_RESTRICT_SELECTX   (UI_UNIT_X*2)

Definition at line 119 of file outliner_intern.h.

Referenced by outliner_draw_restrictbuts(), and outliner_draw_restrictcols().

#define OL_TOG_RESTRICT_VIEWX   (UI_UNIT_X*3)
#define OL_TOGW   OL_TOG_RESTRICT_VIEWX
#define OL_Y_OFFSET   2
#define SEARCHING_OUTLINER (   sov)    (sov->search_flags & SO_SEARCH_RECURSIVE)

Definition at line 145 of file outliner_intern.h.

Referenced by outliner_add_element(), and outliner_draw_tree_element().

#define TE_ACTIVE   1

Definition at line 63 of file outliner_intern.h.

Referenced by outliner_draw_tree_element(), and tree_element_active_texture().

#define TE_FREE_NAME   8

Definition at line 66 of file outliner_intern.h.

Referenced by outliner_filter_tree(), and outliner_free_tree().

#define TE_ICONROW   2
#define TE_LAZY_CLOSED   4

Definition at line 65 of file outliner_intern.h.

Referenced by outliner_draw_tree_element().

#define TREESTORE (   a)    ((a)?soops->treestore->data+(a)->store_index:NULL)
#define TSE_ANIM_DATA   15
#define TSE_BONE   5
#define TSE_CONSTRAINT   8

Definition at line 76 of file outliner_intern.h.

Referenced by outliner_add_object_contents(), and tree_element_type_active().

#define TSE_CONSTRAINT_BASE   7
#define TSE_DEFGROUP   4
#define TSE_DEFGROUP_BASE   3
#define TSE_DRIVER   17

Definition at line 85 of file outliner_intern.h.

#define TSE_DRIVER_BASE   16
#define TSE_EBONE   6
#define TSE_KEYMAP   34

Definition at line 104 of file outliner_intern.h.

Referenced by outliner_build_tree().

#define TSE_KEYMAP_ITEM   35

Definition at line 105 of file outliner_intern.h.

Referenced by outliner_draw_keymapbuts(), and tree_element_type_active().

#define TSE_LINKED_LAMP   23

Definition at line 93 of file outliner_intern.h.

Referenced by outliner_add_scene_contents(), and tselem_draw_icon().

#define TSE_LINKED_MAT   22

Definition at line 91 of file outliner_intern.h.

Referenced by outliner_add_scene_contents(), and tselem_draw_icon().

#define TSE_LINKED_OB   11
#define TSE_LINKED_PSYS   29
#define TSE_MODIFIER   10
#define TSE_MODIFIER_BASE   9
#define TSE_NLA   1

Definition at line 69 of file outliner_intern.h.

Referenced by do_item_rename(), outliner_add_element(), and tselem_draw_icon().

#define TSE_NLA_ACTION   2

Definition at line 70 of file outliner_intern.h.

Referenced by namebutton_cb(), outliner_add_element(), and tselem_draw_icon().

#define TSE_NLA_TRACK   33

Definition at line 103 of file outliner_intern.h.

Referenced by outliner_add_element(), and tselem_draw_icon().

#define TSE_POSE_BASE   13
#define TSE_POSE_CHANNEL   14
#define TSE_POSEGRP   25
#define TSE_POSEGRP_BASE   24
#define TSE_PROXY   18

Definition at line 87 of file outliner_intern.h.

Referenced by outliner_add_object_contents(), and tselem_draw_icon().

#define TSE_R_LAYER   20
#define TSE_R_LAYER_BASE   19
#define TSE_R_PASS   21
#define TSE_RNA_ARRAY_ELEM   32
#define TSE_RNA_PROPERTY   31
#define TSE_RNA_STRUCT   30
#define TSE_SCRIPT_BASE   12

Definition at line 80 of file outliner_intern.h.

Referenced by do_item_rename(), and tselem_draw_icon().

#define TSE_SEQ_STRIP   27
#define TSE_SEQUENCE   26
#define TSE_SEQUENCE_DUP   28
#define TSELEM_OPEN (   telm,
  sv 
)    ( (telm->flag & TSE_CLOSED)==0 || (SEARCHING_OUTLINER(sv) && (telm->flag & TSE_CHILDSEARCH)) )

Typedef Documentation

typedef struct TreeElement TreeElement

Function Documentation

int common_restrict_check ( struct bContext C,
struct Object ob 
)
void draw_outliner ( const struct bContext C)
void group_toggle_renderability_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void group_toggle_selectability_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void group_toggle_visibility_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void item_rename_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void object_toggle_renderability_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void object_toggle_selectability_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void object_toggle_visibility_cb ( struct bContext C,
struct Scene scene,
TreeElement te,
struct TreeStoreElem tsep,
struct TreeStoreElem tselem 
)
void outliner_build_tree ( struct Main mainvar,
struct Scene scene,
struct SpaceOops soops 
)
void outliner_cleanup_tree ( struct SpaceOops soops)
void outliner_do_object_operation ( struct bContext C,
struct Scene scene,
struct SpaceOops soops,
struct ListBase lb,
void(*)(struct bContext *C, struct Scene *scene, struct TreeElement *, struct TreeStoreElem *, TreeStoreElem *)  operation_cb 
)
TreeElement* outliner_find_id ( struct SpaceOops soops,
ListBase lb,
struct ID id 
)
TreeElement* outliner_find_tse ( struct SpaceOops soops,
TreeStoreElem tse 
)
void outliner_free_tree ( ListBase lb)
int outliner_has_one_flag ( struct SpaceOops soops,
ListBase lb,
short  flag,
short  curlevel 
)
void outliner_keymap ( struct wmKeyConfig keyconf)
void outliner_operatortypes ( void  )
void OUTLINER_OT_action_set ( struct wmOperatorType ot)
void OUTLINER_OT_animdata_operation ( struct wmOperatorType ot)
void OUTLINER_OT_data_operation ( struct wmOperatorType ot)
void OUTLINER_OT_drivers_add_selected ( struct wmOperatorType ot)
void OUTLINER_OT_drivers_delete_selected ( struct wmOperatorType ot)
void OUTLINER_OT_expanded_toggle ( struct wmOperatorType ot)
void OUTLINER_OT_group_operation ( struct wmOperatorType ot)
void OUTLINER_OT_id_operation ( struct wmOperatorType ot)
void OUTLINER_OT_item_activate ( struct wmOperatorType ot)
void OUTLINER_OT_item_openclose ( struct wmOperatorType ot)
void OUTLINER_OT_item_rename ( struct wmOperatorType ot)
void OUTLINER_OT_keyingset_add_selected ( struct wmOperatorType ot)
void OUTLINER_OT_keyingset_remove_selected ( struct wmOperatorType ot)
void OUTLINER_OT_object_operation ( struct wmOperatorType ot)
void OUTLINER_OT_operation ( struct wmOperatorType ot)
void OUTLINER_OT_renderability_toggle ( struct wmOperatorType ot)
void OUTLINER_OT_scroll_page ( struct wmOperatorType ot)
void OUTLINER_OT_selectability_toggle ( struct wmOperatorType ot)
void OUTLINER_OT_selected_toggle ( struct wmOperatorType ot)
void OUTLINER_OT_show_active ( struct wmOperatorType ot)
void OUTLINER_OT_show_hierarchy ( struct wmOperatorType ot)
void OUTLINER_OT_show_one_level ( struct wmOperatorType ot)
void OUTLINER_OT_visibility_toggle ( struct wmOperatorType ot)
struct ID* outliner_search_back ( SpaceOops soops,
TreeElement te,
short  idcode 
) [read]
void outliner_set_flag ( struct SpaceOops soops,
ListBase lb,
short  flag,
short  set 
)
void restrictbutton_gr_restrict_flag ( void *  poin,
void *  poin2,
int  flag 
)
int tree_element_active ( struct bContext C,
struct Scene scene,
SpaceOops soops,
TreeElement te,
int  set 
)
int tree_element_type_active ( struct bContext C,
struct Scene scene,
struct SpaceOops soops,
TreeElement te,
TreeStoreElem tselem,
int  set 
)