|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | SpaceProperties_Runtime |
| struct | ButsContextPath |
| struct | ButsTextureUser |
| struct | ButsContextTexture |
Functions | |
| void | buttons_context_compute (const bContext *C, SpaceProperties *sbuts) |
| int | buttons_context (const bContext *C, const char *member, bContextDataResult *result) |
| void | buttons_context_register (ARegionType *art) |
| ID * | buttons_context_id_path (const bContext *C) |
| void | buttons_texture_context_compute (const bContext *C, SpaceProperties *sbuts) |
| void | BUTTONS_OT_start_filter (wmOperatorType *ot) |
| void | BUTTONS_OT_clear_filter (wmOperatorType *ot) |
| void | BUTTONS_OT_toggle_pin (wmOperatorType *ot) |
| void | BUTTONS_OT_file_browse (wmOperatorType *ot) |
| void | BUTTONS_OT_directory_browse (wmOperatorType *ot) |
| void | BUTTONS_OT_context_menu (wmOperatorType *ot) |
Variables | |
| const char * | buttons_context_dir [] |
| int buttons_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result ) |
Definition at line 855 of file buttons_context.cc.
References Object::actcol, BCONTEXT_TOOL, BKE_modifiers_findby_type(), buttons_context_compute(), buttons_context_dir, CTX_data_dir(), CTX_data_dir_set(), CTX_data_equals(), CTX_data_pointer_set(), CTX_data_pointer_set_ptr(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_properties(), PointerRNA::data, eModifierType_Cloth, eModifierType_Collision, eModifierType_DynamicPaint, eModifierType_Fluid, eModifierType_Softbody, get_pointer_type(), bNodeTree::id, FreestyleLineStyle::id, Object::id, Tex::id, SpaceProperties::mainb, FreestyleLineStyle::mtex, ButsTextureUser::node, ButsTextureUser::ntree, OB_TYPE_SUPPORT_MATERIAL, PointerRNA::owner_id, SpaceProperties::path, PE_poll(), ButsTextureUser::prop, ButsTextureUser::ptr, ptr, set_pointer_type(), FreestyleLineStyle::texact, ButsContextTexture::texture, SpaceProperties::texuser, Object::totcol, Object::type, and ButsContextTexture::user.
Referenced by ED_spacetype_buttons().
| void buttons_context_compute | ( | const bContext * | C, |
| SpaceProperties * | sbuts ) |
Definition at line 691 of file buttons_context.cc.
References BCONTEXT_DATA, BCONTEXT_OBJECT, BCONTEXT_SCENE, BCONTEXT_TOT, buttons_context_path(), buttons_shading_context(), buttons_shading_new_context(), buttons_texture_context_compute(), SpaceProperties::dataicon, flag, SpaceProperties::flag, ButsContextPath::len, SpaceProperties::mainb, SpaceProperties::mainbuser, SpaceProperties::path, SpaceProperties::pathflag, ButsContextPath::ptr, ptr, RNA_struct_is_a(), RNA_struct_ui_icon(), SB_SHADING_CONTEXT, and PointerRNA::type.
Referenced by buttons_context(), buttons_header_region_draw(), buttons_main_region_layout_properties(), buttons_navigation_bar_region_draw(), and property_search_for_context().
Definition at line 1278 of file buttons_context.cc.
References BCONTEXT_DATA, BCONTEXT_PARTICLE, CTX_wm_space_properties(), PointerRNA::data, SpaceProperties::flag, ParticleSettings::id, ButsContextPath::len, SpaceProperties::mainb, PointerRNA::owner_id, ParticleSystem::part, SpaceProperties::path, ButsContextPath::ptr, ptr, SB_PIN_CONTEXT, and PointerRNA::type.
Referenced by toggle_pin_exec().
| void buttons_context_register | ( | ARegionType * | art | ) |
Definition at line 1265 of file buttons_context.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, buttons_panel_context_draw(), buttons_panel_context_poll(), PanelType::draw, PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN, N_, PANEL_TYPE_NO_HEADER, PANEL_TYPE_NO_SEARCH, ARegionType::paneltypes, PanelType::poll, STRNCPY, and PanelType::translation_context.
Referenced by ED_spacetype_buttons().
| void BUTTONS_OT_clear_filter | ( | wmOperatorType * | ot | ) |
Definition at line 85 of file buttons_ops.cc.
References buttons_clear_filter_exec(), wmOperatorType::description, ED_operator_buttons_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by buttons_operatortypes().
| void BUTTONS_OT_context_menu | ( | wmOperatorType * | ot | ) |
Definition at line 153 of file buttons_ops.cc.
References context_menu_invoke(), wmOperatorType::description, ED_operator_buttons_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by buttons_operatortypes().
| void BUTTONS_OT_directory_browse | ( | wmOperatorType * | ot | ) |
Second operator, only difference from BUTTONS_OT_file_browse is WM_FILESEL_DIRECTORY.
Definition at line 425 of file buttons_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, file_browse_cancel(), file_browse_exec(), file_browse_invoke(), FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, WM_FILESEL_DIRECTORY, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by buttons_operatortypes().
| void BUTTONS_OT_file_browse | ( | wmOperatorType * | ot | ) |
Definition at line 399 of file buttons_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, file_browse_cancel(), file_browse_exec(), file_browse_invoke(), FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by buttons_operatortypes().
| void BUTTONS_OT_start_filter | ( | wmOperatorType * | ot | ) |
Definition at line 60 of file buttons_ops.cc.
References buttons_start_filter_exec(), wmOperatorType::description, ED_operator_buttons_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by buttons_operatortypes().
| void BUTTONS_OT_toggle_pin | ( | wmOperatorType * | ot | ) |
Definition at line 124 of file buttons_ops.cc.
References wmOperatorType::description, ED_operator_buttons_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and toggle_pin_exec().
Referenced by buttons_operatortypes().
| void buttons_texture_context_compute | ( | const bContext * | C, |
| SpaceProperties * | sbuts ) |
Definition at line 353 of file buttons_texture.cc.
References BLI_findindex(), BLI_findlink(), BLI_listbase_clear(), BLI_listbase_count_at_most(), buttons_texture_users_from_context(), PointerRNA::data, bNode::flag, GS, ID_TE, ButsContextTexture::index, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, ID::name, ButsTextureUser::node, NODE_ACTIVE_TEXTURE, ButsTextureUser::ntree, SpaceProperties::pinid, ButsTextureUser::prop, ButsTextureUser::ptr, RNA_property_pointer_get(), RNA_struct_is_a(), tex, ButsContextTexture::texture, SpaceProperties::texuser, PointerRNA::type, ButsContextTexture::user, and ButsContextTexture::users.
Referenced by buttons_context_compute().
| const char* buttons_context_dir[] |
Definition at line 82 of file buttons_intern.hh.