Blender V4.3
ScrArea Struct Reference

#include <DNA_screen_types.h>

Public Attributes

struct ScrAreanext
 
struct ScrAreaprev
 
ScrVertv1
 
ScrVertv2
 
ScrVertv3
 
ScrVertv4
 
bScreenfull
 
rcti totrct
 
char spacetype
 
char butspacetype
 
short butspacetype_subtype
 
short winx
 
short winy
 
char headertype DNA_DEPRECATED
 
char do_refresh
 
short flag
 
short region_active_win
 
char _pad [2]
 
struct SpaceTypetype
 
ScrGlobalAreaDataglobal
 
ListBase spacedata
 
ListBase regionbase
 
ListBase handlers
 
ListBase actionzones
 
ScrArea_Runtime runtime
 

Detailed Description

Definition at line 385 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char ScrArea::_pad[2]

Definition at line 423 of file DNA_screen_types.h.

◆ actionzones

ListBase ScrArea::actionzones

AZone.

Definition at line 448 of file DNA_screen_types.h.

◆ butspacetype

char ScrArea::butspacetype

eSpace_Type (SPACE_FOO).

Definition at line 407 of file DNA_screen_types.h.

◆ butspacetype_subtype

short ScrArea::butspacetype_subtype

Definition at line 408 of file DNA_screen_types.h.

◆ DNA_DEPRECATED

char headertype ScrArea::DNA_DEPRECATED

OLD! 0=no header, 1= down, 2= up.

Definition at line 414 of file DNA_screen_types.h.

◆ do_refresh

char ScrArea::do_refresh

Private, for spacetype refresh callback.

Definition at line 416 of file DNA_screen_types.h.

◆ flag

short ScrArea::flag

Definition at line 417 of file DNA_screen_types.h.

Referenced by ED_area_data_copy(), and screen_state_to_nonnormal().

◆ full

◆ global

ScrGlobalAreaData* ScrArea::global

Non-NULL if this area is global.

Definition at line 429 of file DNA_screen_types.h.

Referenced by ED_screen_areas_iter_first(), and ED_screen_state_toggle().

◆ handlers

ListBase ScrArea::handlers

wmEventHandler.

Definition at line 445 of file DNA_screen_types.h.

◆ next

struct ScrArea* ScrArea::next

Definition at line 388 of file DNA_screen_types.h.

Referenced by ED_screen_areas_iter_next(), and screen_data_copy().

◆ prev

struct ScrArea * ScrArea::prev

Definition at line 388 of file DNA_screen_types.h.

◆ region_active_win

short ScrArea::region_active_win

Index of last used region of 'RGN_TYPE_WINDOW' runtime variable, updated by executing operators.

Definition at line 422 of file DNA_screen_types.h.

◆ regionbase

ListBase ScrArea::regionbase

ARegion.

Note
This region list is the one from the active/visible editor (first item in spacedata list). Use SpaceLink.regionbase if it's inactive (but only then)!

Definition at line 443 of file DNA_screen_types.h.

Referenced by ED_area_data_copy(), ED_area_data_swap(), ED_slider_create(), and screen_state_to_nonnormal().

◆ runtime

ScrArea_Runtime ScrArea::runtime

◆ spacedata

ListBase ScrArea::spacedata

SpaceLink. A list of space links (editors) that were open in this area before. When changing the editor type, we try to reuse old editor data from this list. The first item is the active/visible one.

Definition at line 437 of file DNA_screen_types.h.

Referenced by annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_doeraser(), applyAspectRatio(), applyTimeSlideValue(), calcEdgeSlide_mval_range(), calculateCenterCursor2D(), calculateCenterCursorGraph2D(), calculateZfac(), clip_uv_transform_resize(), clip_uv_transform_translation(), createTransCursor_image(), createTransCursor_sequencer(), createTransGraphEditData(), blender::ed::transform::createTransNodeData(), createTransSeqImageData(), ED_area_data_copy(), ED_area_data_swap(), ED_screen_full_newspace(), blender::ed::transform::flushTransNodes(), flushTransUVs(), freeSeqData(), freeSeqData(), graph_bezt_get_transform_selection(), headerTranslation(), initBend(), initTimeSlide(), pose_slide_exit(), pose_slide_invoke_common(), pose_slide_modal(), postTrans(), projectIntViewEx(), property_search_all_tabs(), recalcData_actedit(), recalcData_graphedit(), recalcData_nla(), recalcData_tracking(), recalcData_tracking_curves(), recalcData_uv(), remake_graph_transdata(), removeAspectRatio(), setSnappingCallback(), setTransformViewAspect(), snap_increment_apply(), snapNodesTransform(), special_aftertrans_update__actedit(), special_aftertrans_update__graph(), special_aftertrans_update__mask(), special_aftertrans_update__movieclip(), special_aftertrans_update__movieclip_for_curves(), blender::ed::transform::special_aftertrans_update__node(), special_aftertrans_update__sequencer(), t_view_get(), transform_snap_grid_init(), transformEvent(), view3d_ruler_item_mousemove(), view3d_ruler_item_project(), viewRedrawForce(), wm_handler_fileselect_do(), and wm_xr_session_actions_update().

◆ spacetype

char ScrArea::spacetype

eSpace_Type (SPACE_FOO).

Temporarily used while switching area type, otherwise this should be SPACE_EMPTY. Also, versioning uses it to nicely replace deprecated * editors. It's been there for ages, name doesn't fit any more.

Definition at line 405 of file DNA_screen_types.h.

Referenced by annotation_paint_initstroke(), annotation_session_initdata(), annotation_stroke_doeraser(), annotation_stroke_eraser_is_occluded(), blender::ui::bonedropper_set_draw_callback_region(), datadropper_set_draw_callback_region(), ED_area_data_copy(), ED_area_data_swap(), ED_area_offscreen_create(), ED_screen_full_newspace(), gpencil_point_to_xy(), menu_items_from_ui_create(), recalcData_actedit(), recalcData_graphedit(), transformEvent(), and wm_handler_fileselect_do().

◆ totrct

◆ type

struct SpaceType* ScrArea::type

Callbacks for this space type.

Definition at line 426 of file DNA_screen_types.h.

Referenced by ED_area_data_copy(), ED_area_data_swap(), and property_search_all_tabs().

◆ v1

◆ v2

◆ v3

◆ v4

◆ winx

◆ winy


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