Blender  V3.3
Public Attributes | List of all members
ARegionType Struct Reference

#include <BKE_screen.h>

Public Attributes

struct ARegionTypenext
 
struct ARegionTypeprev
 
int regionid
 
void(* init )(struct wmWindowManager *wm, struct ARegion *region)
 
void(* exit )(struct wmWindowManager *wm, struct ARegion *region)
 
void(* draw )(const struct bContext *C, struct ARegion *region)
 
void(* draw_overlay )(const struct bContext *C, struct ARegion *region)
 
void(* layout )(const struct bContext *C, struct ARegion *region)
 
int(* snap_size )(const struct ARegion *region, int size, int axis)
 
void(* listener )(const wmRegionListenerParams *params)
 
void(* message_subscribe )(const wmRegionMessageSubscribeParams *params)
 
void(* free )(struct ARegion *)
 
void *(* duplicate )(void *poin)
 
void(* operatortypes )(void)
 
void(* keymap )(struct wmKeyConfig *keyconf)
 
void(* cursor )(struct wmWindow *win, struct ScrArea *area, struct ARegion *region)
 
bContextDataCallback context
 
void(* on_view2d_changed )(const struct bContext *C, struct ARegion *region)
 
ListBase drawcalls
 
ListBase paneltypes
 
ListBase headertypes
 
int minsizex
 
int minsizey
 
int prefsizex
 
int prefsizey
 
int keymapflag
 
short do_lock
 
short lock
 
bool clip_gizmo_events_by_ui
 
short event_cursor
 

Detailed Description

Definition at line 141 of file BKE_screen.h.

Member Data Documentation

◆ clip_gizmo_events_by_ui

bool ARegionType::clip_gizmo_events_by_ui

Don't handle gizmos events behind uiBlock's with UI_BLOCK_CLIP_EVENTS flag set.

Definition at line 213 of file BKE_screen.h.

Referenced by ED_spacetype_node(), and wm_handlers_do_gizmo_handler().

◆ context

bContextDataCallback ARegionType::context

Definition at line 182 of file BKE_screen.h.

Referenced by CTX_data_dir_get_ex(), and ctx_data_get().

◆ cursor

void(* ARegionType::cursor) (struct wmWindow *win, struct ScrArea *area, struct ARegion *region)

◆ do_lock

short ARegionType::do_lock

Definition at line 211 of file BKE_screen.h.

Referenced by ED_region_do_draw(), and ED_region_do_layout().

◆ draw

void(* ARegionType::draw) (const struct bContext *C, struct ARegion *region)

◆ draw_overlay

void(* ARegionType::draw_overlay) (const struct bContext *C, struct ARegion *region)

Handler to draw overlays. This handler is called every draw loop.

Note
Some editors should return early if the interface is locked (check with CTX_wm_interface_locked) to avoid accessing scene data that another thread may be modifying

Definition at line 159 of file BKE_screen.h.

Referenced by ED_spacetype_action(), ED_spacetype_ipo(), ED_spacetype_nla(), ED_spacetype_sequencer(), wm_draw_window_onscreen(), and wm_region_draw_overlay().

◆ drawcalls

ListBase ARegionType::drawcalls

◆ duplicate

void*(* ARegionType::duplicate) (void *poin)

Definition at line 172 of file BKE_screen.h.

Referenced by BKE_area_region_copy(), and ED_spacetype_view3d().

◆ event_cursor

short ARegionType::event_cursor

◆ exit

void(* ARegionType::exit) (struct wmWindowManager *wm, struct ARegion *region)

Definition at line 149 of file BKE_screen.h.

Referenced by ED_region_exit(), and ED_spacetype_view3d().

◆ free

void(* ARegionType::free) (struct ARegion *)

◆ headertypes

ListBase ARegionType::headertypes

Definition at line 201 of file BKE_screen.h.

Referenced by ED_region_header_layout().

◆ init

void(* ARegionType::init) (struct wmWindowManager *wm, struct ARegion *region)

◆ keymap

void(* ARegionType::keymap) (struct wmKeyConfig *keyconf)

Definition at line 177 of file BKE_screen.h.

◆ keymapflag

int ARegionType::keymapflag

◆ layout

void(* ARegionType::layout) (const struct bContext *C, struct ARegion *region)

◆ listener

void(* ARegionType::listener) (const wmRegionListenerParams *params)

◆ lock

short ARegionType::lock

Definition at line 211 of file BKE_screen.h.

Referenced by ED_area_type_hud(), and ED_spacetype_view3d().

◆ message_subscribe

void(* ARegionType::message_subscribe) (const wmRegionMessageSubscribeParams *params)

◆ minsizex

int ARegionType::minsizex

Definition at line 204 of file BKE_screen.h.

◆ minsizey

int ARegionType::minsizey

Definition at line 204 of file BKE_screen.h.

◆ next

struct ARegionType* ARegionType::next

Definition at line 142 of file BKE_screen.h.

◆ on_view2d_changed

void(* ARegionType::on_view2d_changed) (const struct bContext *C, struct ARegion *region)

Definition at line 192 of file BKE_screen.h.

Referenced by ED_spacetype_sequencer(), and UI_view2d_curRect_changed().

◆ operatortypes

void(* ARegionType::operatortypes) (void)

Definition at line 175 of file BKE_screen.h.

◆ paneltypes

ListBase ARegionType::paneltypes

◆ prefsizex

int ARegionType::prefsizex

◆ prefsizey

int ARegionType::prefsizey

◆ prev

struct ARegionType * ARegionType::prev

Definition at line 142 of file BKE_screen.h.

◆ regionid

int ARegionType::regionid

◆ snap_size

int(* ARegionType::snap_size) (const struct ARegion *region, int size, int axis)

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