|
Blender V5.3
|
#include <BKE_screen.hh>
Public Attributes | |
| int | region_ofsx = 0 |
| PointerRNA * | custom_data_ptr = nullptr |
| ui::Block * | block = nullptr |
| bContextStore * | context = nullptr |
| LayoutPanels | layout_panels |
| ListBaseT< LayoutPanelState > * | layout_panel_states_storage = nullptr |
Definition at line 580 of file BKE_screen.hh.
Pointer to the panel's block. Useful when changes to panel #ui::Blocks need some context from traversal of the panel "tree".
Definition at line 597 of file BKE_screen.hh.
Referenced by blender::ui::block_draw(), blender::ui::draw_layout_panels_backdrop(), blender::ui::layout_panel_header_under_mouse(), blender::ui::panel_begin(), blender::ui::panel_draw_aligned_backdrop(), blender::ui::panel_draw_border(), blender::ui::panel_header_buttons_begin(), blender::ui::panel_header_buttons_end(), blender::ui::panel_remove_invisible_layouts_recursive(), blender::ui::panels_end(), blender::ui::popup_dummy_panel_set(), and blender::ui::region_panels_remove_invisible_layouts().
| bContextStore* blender::Panel_Runtime::context = nullptr |
Non-owning pointer. The context is stored in the block.
Definition at line 600 of file BKE_screen.hh.
Referenced by blender::ui::panel_context_pointer_set(), and blender::ui::reorder_instanced_panel_list().
| PointerRNA* blender::Panel_Runtime::custom_data_ptr = nullptr |
Pointer for storing which data the panel corresponds to. Useful when there can be multiple instances of the same panel type.
Definition at line 591 of file BKE_screen.hh.
Referenced by blender::ui::panel_add_instanced(), blender::ui::panel_custom_data_get(), blender::ui::panel_custom_data_set(), blender::ui::panel_custom_data_set_recursive(), and blender::ui::paneltype_draw_impl().
| ListBaseT<LayoutPanelState>* blender::Panel_Runtime::layout_panel_states_storage = nullptr |
Custom storage for saving the open-close-state of layout panels created with layout.panel(...). This precedes #Panel::layout_panel_states when storing layout panel state.
Definition at line 610 of file BKE_screen.hh.
Referenced by blender::BKE_panel_layout_panel_state_ensure(), blender::file_panel_operator(), blender::ui::hud_panel_operator_redo_draw(), blender::ui::popup_dummy_panel_set(), and blender::ui::template_collection_exporters().
| LayoutPanels blender::Panel_Runtime::layout_panels |
Information about nested layout panels generated in layout code.
Definition at line 603 of file BKE_screen.hh.
Referenced by blender::ui::draw_layout_panels_backdrop(), blender::ed_panel_draw(), blender::ui::layout_panel_header_under_mouse(), blender::ui::layout_panel_popup_scroll_apply(), blender::ui::offset_panel_block(), blender::ui::panel_drag_collapse(), blender::ui::popup_dummy_panel_set(), blender::ui::LayoutItemPanelBody::resolve_dynamic_height(), blender::ui::LayoutItemPanelHeader::resolve_dynamic_height(), blender::ui::LayoutItemPanelBody::resolve_impl(), and blender::ui::LayoutItemPanelHeader::resolve_impl().
| int blender::Panel_Runtime::region_ofsx = 0 |
Applied to Panel.ofsx, but saved separately so we can track changes between redraws.
Definition at line 582 of file BKE_screen.hh.
Referenced by blender::ui::panel_calculate_size_recursive().