|
Blender
V2.59
|
#include <stdlib.h>#include <string.h>#include "DNA_object_types.h"#include "DNA_armature_types.h"#include "DNA_sequence_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_object.h"#include "BKE_action.h"#include "BKE_armature.h"#include "BKE_sequencer.h"#include "RNA_access.h"#include "ED_object.h"#include "ED_armature.h"#include "screen_intern.h"Go to the source code of this file.
Functions | |
| int | ed_screen_context (const bContext *C, const char *member, bContextDataResult *result) |
Variables | |
| const char * | screen_context_dir [] |
Definition in file screen_context.c.
| int ed_screen_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result | ||
| ) |
Definition at line 69 of file screen_context.c.
References bArmature::act_bone, bArmature::act_edbone, ARM_MIRROR_EDIT, BASACT, Scene::base, BONE_SELECTED, bPose::chanbase, CTX_data_active_base(), CTX_data_active_object(), CTX_data_dir(), CTX_data_dir_set(), CTX_data_edit_object(), CTX_data_equals(), CTX_data_id_list_add(), CTX_data_id_pointer_set(), CTX_data_list_add(), CTX_data_pointer_set(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_wm_screen(), Object::data, EBONE_EDITABLE, EBONE_VISIBLE, ED_armature_bone_get_mirrored(), ED_object_pose_armature(), bArmature::edbo, FALSE, ListBase::first, Base::flag, bArmature::flag, Sequence::flag, get_active_posechannel(), bArmature::id, Object::id, Scene::id, if(), Base::lay, Scene::lay, Object::mode, Base::next, Sequence::next, NULL, OB_ARMATURE, OB_MODE_PARTICLE_EDIT, OB_MODE_SCULPT, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, OB_RESTRICT_SELECT, OB_RESTRICT_VIEW, OBACT, Scene::obedit, Base::object, object_is_libdata(), PBONE_VISIBLE, Object::pose, Object::restrictflag, RNA_Bone, RNA_EditBone, RNA_ObjectBase, RNA_PoseBone, RNA_Sequence, bScreen::scene, screen_context_dir, SELECT, seq_give_editing(), SEQ_LOCK, Editing::seqbasep, and Object::type.
Referenced by ED_screen_refresh().
| const char* screen_context_dir[] |
{
"scene", "visible_objects", "visible_bases", "selectable_objects", "selectable_bases",
"selected_objects", "selected_bases",
"selected_editable_objects", "selected_editable_bases",
"visible_bones", "editable_bones", "selected_bones", "selected_editable_bones",
"visible_pose_bones", "selected_pose_bones", "active_bone", "active_pose_bone",
"active_base", "active_object", "object", "edit_object",
"sculpt_object", "vertex_paint_object", "weight_paint_object",
"image_paint_object", "particle_edit_object",
"sequences", "selected_sequences", "selected_editable_sequences",
NULL}
Definition at line 57 of file screen_context.c.
Referenced by ed_screen_context().