Blender V5.0
blender::bke::ARegionRuntime Struct Reference

#include <BKE_screen.hh>

Public Attributes

struct ARegionTypetype
rcti drawrct = {}
rcti visible_rect = {}
int offset_x = 0
int offset_y = 0
const char * category = nullptr
Map< std::string, uiBlock * > block_name_map
ListBase uiblocks = {}
ListBase handlers = {}
char * headerstr = nullptr
wmGizmoMapgizmo_map = nullptr
wmTimerregiontimer = nullptr
wmDrawBufferdraw_buffer = nullptr
ListBase panels_category = {}
short visible = 0
short do_draw = 0
short do_draw_paintcursor
Panelpopup_block_panel = nullptr

Detailed Description

Definition at line 458 of file BKE_screen.hh.

Member Data Documentation

◆ block_name_map

Map<std::string, uiBlock *> blender::bke::ARegionRuntime::block_name_map

Maps uiBlock::name to uiBlock for faster lookups.

Definition at line 484 of file BKE_screen.hh.

◆ category

const char* blender::bke::ARegionRuntime::category = nullptr

Panel category to use between 'layout' and 'draw'.

Definition at line 481 of file BKE_screen.hh.

◆ do_draw

short blender::bke::ARegionRuntime::do_draw = 0

Private, cached notifier events.

Definition at line 509 of file BKE_screen.hh.

◆ do_draw_paintcursor

short blender::bke::ARegionRuntime::do_draw_paintcursor

Private, cached notifier events.

Definition at line 512 of file BKE_screen.hh.

◆ draw_buffer

wmDrawBuffer* blender::bke::ARegionRuntime::draw_buffer = nullptr

Definition at line 500 of file BKE_screen.hh.

◆ drawrct

rcti blender::bke::ARegionRuntime::drawrct = {}

Runtime for partial redraw, same or smaller than ARegion::winrct.

Definition at line 463 of file BKE_screen.hh.

◆ gizmo_map

wmGizmoMap* blender::bke::ARegionRuntime::gizmo_map = nullptr

Gizmo-map of this region.

Definition at line 495 of file BKE_screen.hh.

◆ handlers

ListBase blender::bke::ARegionRuntime::handlers = {}

wmEventHandler.

Definition at line 489 of file BKE_screen.hh.

◆ headerstr

char* blender::bke::ARegionRuntime::headerstr = nullptr

Use this string to draw info.

Definition at line 492 of file BKE_screen.hh.

◆ offset_x

int blender::bke::ARegionRuntime::offset_x = 0

The offset needed to not overlap with window scroll-bars. Only used by HUD regions for now.

Definition at line 477 of file BKE_screen.hh.

◆ offset_y

int blender::bke::ARegionRuntime::offset_y = 0

Definition at line 478 of file BKE_screen.hh.

◆ panels_category

ListBase blender::bke::ARegionRuntime::panels_category = {}

Panel categories runtime.

Definition at line 503 of file BKE_screen.hh.

◆ popup_block_panel

Panel* blender::bke::ARegionRuntime::popup_block_panel = nullptr

Dummy panel used in popups so they can support layout panels.

Definition at line 515 of file BKE_screen.hh.

◆ regiontimer

wmTimer* blender::bke::ARegionRuntime::regiontimer = nullptr

Blend in/out.

Definition at line 498 of file BKE_screen.hh.

◆ type

struct ARegionType* blender::bke::ARegionRuntime::type

Callbacks for this region type.

Definition at line 460 of file BKE_screen.hh.

◆ uiblocks

ListBase blender::bke::ARegionRuntime::uiblocks = {}

uiBlock.

Definition at line 486 of file BKE_screen.hh.

◆ visible

short blender::bke::ARegionRuntime::visible = 0

Region is currently visible on screen.

Definition at line 506 of file BKE_screen.hh.

◆ visible_rect

rcti blender::bke::ARegionRuntime::visible_rect = {}

The visible part of the region, use with region overlap not to draw on top of the overlapping regions.

Lazy initialize, zeroed when unset, relative to ARegion.winrct x/y min.

Definition at line 471 of file BKE_screen.hh.


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