|
Blender V4.3
|
#include <DNA_screen_types.h>
Public Attributes | |
| struct ARegion * | next |
| struct ARegion * | prev |
| View2D | v2d |
| rcti | winrct |
| rcti | drawrct |
| short | winx |
| short | winy |
| int | category_scroll |
| char | _pad0 [4] |
| short | visible |
| short | regiontype |
| short | alignment |
| short | flag |
| short | sizex |
| short | sizey |
| short | do_draw |
| short | do_draw_paintcursor |
| short | overlap |
| short | flagfullscreen |
| struct ARegionType * | type |
| ListBase | uiblocks |
| ListBase | panels |
| ListBase | panels_category_active |
| ListBase | ui_lists |
| ListBase | ui_previews |
| ListBase | handlers |
| ListBase | panels_category |
| struct wmGizmoMap * | gizmo_map |
| struct wmTimer * | regiontimer |
| struct wmDrawBuffer * | draw_buffer |
| char * | headerstr |
| void * | regiondata |
| ARegion_Runtime | runtime |
Definition at line 474 of file DNA_screen_types.h.
| char ARegion::_pad0[4] |
Definition at line 490 of file DNA_screen_types.h.
| short ARegion::alignment |
How it should split.
Definition at line 497 of file DNA_screen_types.h.
Referenced by area_max_regionsize(), blo_do_versions_260(), blo_do_versions_280(), blo_do_versions_290(), blo_do_versions_300(), do_version_action_editor_properties_region(), ED_area_tag_region_size_update(), region_align_info_to_area_for_headers(), region_overlap_fix(), region_rect_recursive(), region_scale_invoke(), region_visible_rect_calc(), sequencer_refresh(), text_has_properties_region(), ui_but_align_opposite_to_area_align_get(), ui_item_menu_hold(), and wm_handler_fileselect_do().
| int ARegion::category_scroll |
This is a Y offset on the panel tabs that represents pixels, where zero represents no scroll - the first category always shows first at the top.
Definition at line 489 of file DNA_screen_types.h.
Referenced by view_pan_apply_ex().
| short ARegion::do_draw |
Private, cached notifier events.
Definition at line 508 of file DNA_screen_types.h.
Referenced by ui_block_region_refresh().
| short ARegion::do_draw_paintcursor |
Private, cached notifier events.
Definition at line 510 of file DNA_screen_types.h.
| struct wmDrawBuffer* ARegion::draw_buffer |
Definition at line 538 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy().
| rcti ARegion::drawrct |
Runtime for partial redraw, same or smaller than winrct.
Definition at line 482 of file DNA_screen_types.h.
| short ARegion::flag |
Hide, ....
Definition at line 499 of file DNA_screen_types.h.
Referenced by blender::ed::asset::shelf::active_shelf_from_area(), animchannels_select_filter_invoke(), blo_do_versions_260(), blo_do_versions_280(), blo_do_versions_300(), do_version_action_editor_properties_region(), do_version_area_change_space_to_space_action(), ED_drivers_editor_init(), ED_region_visibility_change_update_animated(), ED_screens_header_tools_menu_create(), file_refresh(), region_blend_end(), region_overlap_fix(), region_scale_modal(), region_scale_toggle_hidden(), region_scale_validate_size(), text_has_properties_region(), and wm_handler_fileselect_do().
| short ARegion::flagfullscreen |
Temporary copy of flag settings for clean full-screen.
Definition at line 514 of file DNA_screen_types.h.
| struct wmGizmoMap* ARegion::gizmo_map |
Gizmo-map of this region.
Definition at line 535 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy(), draw_timeline_gizmos(), ED_screen_set_active_region(), gizmogroup_xform_find(), transform_gizmo_3d_model_from_constraint_and_mode_init(), transform_gizmo_3d_model_from_constraint_and_mode_set(), transform_mode_snap_source_init(), and wm_gizmomaps_handled_modal_update().
| ListBase ARegion::handlers |
Definition at line 530 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy().
| char* ARegion::headerstr |
Use this string to draw info.
Definition at line 541 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy(), and ED_area_status_text().
| struct ARegion* ARegion::next |
Definition at line 475 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy(), blo_do_versions_280(), ED_area_tag_region_size_update(), ED_region_visibility_change_update_animated(), region_rect_recursive(), region_visible_rect_calc(), and ui_mouse_motion_towards_check().
| short ARegion::overlap |
Private, set for indicate drawing overlapped.
Definition at line 512 of file DNA_screen_types.h.
Referenced by ED_area_tag_region_size_update(), region_overlap_fix(), and region_visible_rect_calc().
| ListBase ARegion::panels |
| ListBase ARegion::panels_category |
Panel categories runtime.
Definition at line 532 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy().
| ListBase ARegion::panels_category_active |
Stack of panel categories.
Definition at line 524 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy().
| struct ARegion * ARegion::prev |
Definition at line 475 of file DNA_screen_types.h.
Referenced by area_max_regionsize(), BKE_area_region_copy(), region_overlap_fix(), region_scale_invoke(), region_visible_rect_calc(), and ui_but_align_opposite_to_area_align_get().
| void* ARegion::regiondata |
XXX 2.50, need spacedata equivalent?
Definition at line 543 of file DNA_screen_types.h.
Referenced by annotation_paint_initstroke(), annotation_stroke_convertcoords(), annotation_stroke_eraser_is_occluded(), BKE_area_region_copy(), calculateZfac(), create_trans_data(), draw_primitive_view(), draw_primitive_view_impl(), drawPropCircle(), drawSnapping(), ED_area_type_hud_redo_region_find(), ED_view3d_draw_offscreen_simple(), ED_view3d_smooth_view_undo_end(), initCurveShrinkFatten(), knife_constrain_axis(), knifetool_draw_angle(), region_quadview_exec(), screen_opengl_render_init(), set_prop_dist(), setTransformViewMatrices(), transform_gizmo_3d_model_from_constraint_and_mode_set(), transform_modal(), transform_mode_default_modal_orientation_set(), transform_orientation_matrix_get(), transform_snap_grid_init(), transformEvent(), view3d_interactive_add_begin(), view3d_ruler_item_mousemove(), vieworbit_exec(), viewroll_exec(), WIDGETGROUP_light_point_draw_prepare(), WIDGETGROUP_light_spot_draw_prepare(), and wm_searchbox_tooltip_init().
| struct wmTimer* ARegion::regiontimer |
Blend in/out.
Definition at line 537 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy(), ED_region_visibility_change_update_animated(), and region_blend_invoke().
| short ARegion::regiontype |
Window, header, etc. identifier for drawing.
Definition at line 495 of file DNA_screen_types.h.
Referenced by annotation_draw_modal(), ApplySnapTranslation(), blo_do_versions_260(), blo_do_versions_280(), calculateCenter(), calculateZfac(), convert_type_get(), convertViewVec(), create_trans_data(), CTX_wm_region_popup_set(), do_version_action_editor_properties_region(), do_versions_add_region(), do_versions_add_region_if_not_found(), do_versions_ensure_region(), drawPropCircle(), ED_area_type_hud_ensure(), ED_area_type_hud_redo_region_find(), ED_undo_operator_repeat(), ED_view3d_draw_offscreen_simple(), initCurveShrinkFatten(), initTransInfo(), projectFloatViewEx(), projectIntViewEx(), recalcData_actedit(), recalcData_graphedit(), region_align_info_to_area(), region_scale_toggle_hidden(), set_prop_dist(), setTransformViewMatrices(), t_around_get(), text_has_properties_region(), text_text_search_exec(), transform_mode_default_modal_orientation_set(), transform_orientation_matrix_get(), transformViewUpdate(), WM_event_add_modal_handler_ex(), and WM_event_modal_handler_region_replace().
| ARegion_Runtime ARegion::runtime |
Definition at line 545 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy().
| short ARegion::sizex |
Current split size in unscaled pixels (if zero it uses regiontype). To convert to pixels use: UI_SCALE_FAC * region->sizex + 0.5f. However to get the current region size, you should usually use winx/winy from above, not this!
Definition at line 505 of file DNA_screen_types.h.
Referenced by region_scale_invoke(), region_scale_modal(), and region_scale_validate_size().
| short ARegion::sizey |
Definition at line 505 of file DNA_screen_types.h.
Referenced by region_scale_invoke(), region_scale_modal(), region_scale_validate_size(), and sequencer_refresh().
| struct ARegionType* ARegion::type |
Callbacks for this region type.
Definition at line 517 of file DNA_screen_types.h.
Referenced by blender::ed::curves::curve_draw_exit(), curve_draw_exit(), curve_draw_invoke(), blender::ed::curves::curves_draw_invoke(), ED_screen_set_active_region(), ED_slider_destroy(), flyEnd(), blender::ed::greasepencil::grease_pencil_primitive_exit(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), initFlyInfo(), initTransform(), initWalkInfo(), knifetool_exit_ex(), knifetool_init(), postTrans(), region_scale_modal(), ringsel_exit(), ringsel_init(), view3d_interactive_add_begin(), view3d_interactive_add_exit(), and walkEnd().
| ListBase ARegion::ui_lists |
| ListBase ARegion::ui_previews |
| ListBase ARegion::uiblocks |
Definition at line 520 of file DNA_screen_types.h.
Referenced by BKE_area_region_copy(), button_activate_init(), UI_context_active_operator_get(), ui_handle_menus_recursive(), ui_mouse_motion_towards_init_ex(), and ui_popup_handler().
| View2D ARegion::v2d |
2D-View scrolling/zoom info (most regions are 2d anyways).
Definition at line 478 of file DNA_screen_types.h.
Referenced by acf_generic_channel_backdrop(), acf_generic_dataexpand_backdrop(), acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_nlaaction_backdrop(), acf_summary_backdrop(), actkeys_channels_get_selected_extents(), actkeys_find_key_in_list_element(), actkeys_find_list_element_at_position(), actkeys_list_element_to_keylist(), actkeys_viewall(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIM_frame_channel_y_extents(), area_actionzone_get_rect(), area_actionzone_refresh_xy(), blo_do_versions_300(), box_select_action(), box_select_anim_channels(), box_select_nla_strips(), calculateCenterCursor2D(), calculateZfac(), channel_draw_context_init(), clip_refresh(), convertViewVec(), createTransActionData(), createTransSeqData(), do_versions_after_linking_300(), drawPropRange(), drawSnapping(), ED_area_type_hud_ensure(), ED_drivers_editor_init(), file_refresh(), blender::ed::transform::flushTransNodes(), get_nearest_fcurve_verts_list(), graph_draw_driver_debug(), graphkeys_channel_view_pick_invoke(), graphkeys_create_ghostcurves_exec(), graphkeys_view_selected_channels_exec(), graphkeys_viewall(), initialize_box_select_coords(), nlaedit_strip_at_region_position(), nlaedit_viewall(), OVERLAY_grid_init(), paint_2d_bucket_fill(), paint_2d_new_stroke(), region_azone_scrollbar_init(), region_scale_modal(), region_scale_toggle_hidden(), region_select_action_keys(), seq_snap_threshold_get_view_distance(), sequencer_refresh(), snap_increment_apply(), snap_target_uv_fn(), t_view_get(), transform_snap_grid_init(), transform_snap_sequencer_data_alloc_preview(), ui_searchbox_region_layout_fn(), UI_view2d_edge_pan_init(), UI_view2d_edge_pan_reset(), UI_view2d_fromcontext_rwin(), view2d_edge_pan_loc_compensate(), view_pan_init(), and view_zoomdrag_init().
| short ARegion::visible |
Region is currently visible on screen.
Definition at line 493 of file DNA_screen_types.h.
Referenced by area_actionzone_refresh_xy(), BKE_area_region_copy(), property_search_all_tabs(), and userpref_execute_region_poll().
| rcti ARegion::winrct |
Coordinates of region.
Definition at line 480 of file DNA_screen_types.h.
Referenced by area_actionzone_get_rect(), area_actionzone_refresh_xy(), blender::ed::transform::flushTransNodes(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), initFlyInfo(), initWalkInfo(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), blender::ed::sculpt_paint::paint_cursor_sculpt_session_update_and_init(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_draw_alpha_overlay(), blender::ed::sculpt_paint::paint_draw_curve_cursor(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), region_overlap_fix(), region_visible_rect_calc(), time_top_left_3dwindow(), transform_draw_cursor_draw(), ui_searchbox_region_layout_fn(), UI_tooltip_create_from_search_item_generic(), UI_view2d_edge_pan_init(), view2d_edge_pan_loc_compensate(), view_pan_init(), view_zoomdrag_modal(), viewdolly_apply(), viewroll_invoke(), viewrotate_apply(), viewzoom_apply_3d(), viewzoom_apply_camera(), and wpaint_stroke_update_step().
| short ARegion::winx |
Size.
Definition at line 484 of file DNA_screen_types.h.
Referenced by ANIM_channel_draw_widgets(), annotation_stroke_convertcoords(), area_max_regionsize(), armature_foreachScreenBone(), calculateCenterCursor(), draw_seq_waveform_overlay(), drawWalkPixel(), initFlyInfo(), InputHorizontalRatio(), interactive_value_update(), blender::ed::sculpt_paint::load_tex_task_cb_ex(), blender::ed::sculpt_paint::make_tex_snap(), mesh_foreachScreenEdge(), mesh_foreachScreenEdge_clip_bb_segment(), pose_foreachScreenBone(), proj_paint_state_viewport_init(), projectFloatViewEx(), region_overlap_fix(), region_scale_invoke(), blender::ed::sculpt_paint::same_tex_snap(), setCustomPointsFromDirection(), setNearestAxis3d(), and viewmove_apply().
| short ARegion::winy |
Definition at line 484 of file DNA_screen_types.h.
Referenced by annotation_stroke_convertcoords(), area_max_regionsize(), armature_foreachScreenBone(), calculateCenterCursor(), drawWalkPixel(), graphkeys_viewall(), initFlyInfo(), InputVerticalRatio(), blender::ed::sculpt_paint::load_tex_task_cb_ex(), blender::ed::sculpt_paint::make_tex_snap(), mesh_foreachScreenEdge(), mesh_foreachScreenEdge_clip_bb_segment(), pose_foreachScreenBone(), proj_paint_state_viewport_init(), projectFloatViewEx(), region_scale_invoke(), blender::ed::sculpt_paint::same_tex_snap(), setCustomPointsFromDirection(), slider_draw(), and viewmove_apply().