Blender V4.3
ARegion Struct Reference

#include <DNA_screen_types.h>

Public Attributes

struct ARegionnext
 
struct ARegionprev
 
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 ARegionTypetype
 
ListBase uiblocks
 
ListBase panels
 
ListBase panels_category_active
 
ListBase ui_lists
 
ListBase ui_previews
 
ListBase handlers
 
ListBase panels_category
 
struct wmGizmoMapgizmo_map
 
struct wmTimerregiontimer
 
struct wmDrawBufferdraw_buffer
 
char * headerstr
 
void * regiondata
 
ARegion_Runtime runtime
 

Detailed Description

Definition at line 474 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad0

char ARegion::_pad0[4]

Definition at line 490 of file DNA_screen_types.h.

◆ alignment

◆ category_scroll

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().

◆ do_draw

short ARegion::do_draw

Private, cached notifier events.

Definition at line 508 of file DNA_screen_types.h.

Referenced by ui_block_region_refresh().

◆ do_draw_paintcursor

short ARegion::do_draw_paintcursor

Private, cached notifier events.

Definition at line 510 of file DNA_screen_types.h.

◆ draw_buffer

struct wmDrawBuffer* ARegion::draw_buffer

Definition at line 538 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ drawrct

rcti ARegion::drawrct

Runtime for partial redraw, same or smaller than winrct.

Definition at line 482 of file DNA_screen_types.h.

◆ flag

◆ flagfullscreen

short ARegion::flagfullscreen

Temporary copy of flag settings for clean full-screen.

Definition at line 514 of file DNA_screen_types.h.

◆ gizmo_map

◆ handlers

ListBase ARegion::handlers

wmEventHandler.

Definition at line 530 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ headerstr

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().

◆ next

◆ overlap

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().

◆ panels

ListBase ARegion::panels

Panel.

Definition at line 522 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ panels_category

ListBase ARegion::panels_category

Panel categories runtime.

Definition at line 532 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ panels_category_active

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().

◆ prev

◆ regiondata

◆ regiontimer

struct wmTimer* ARegion::regiontimer

◆ regiontype

◆ runtime

ARegion_Runtime ARegion::runtime

Definition at line 545 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ sizex

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().

◆ sizey

short ARegion::sizey

◆ type

◆ ui_lists

ListBase ARegion::ui_lists

uiList.

Definition at line 526 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ ui_previews

ListBase ARegion::ui_previews

uiPreview.

Definition at line 528 of file DNA_screen_types.h.

Referenced by BKE_area_region_copy().

◆ uiblocks

◆ v2d

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().

◆ visible

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().

◆ winrct

◆ winx

◆ winy


The documentation for this struct was generated from the following file: