Blender V5.0
wmGizmoMap Struct Reference

#include <wm_gizmo_intern.hh>

Public Attributes

wmGizmoMapTypetype
ListBase groups
char update_flag [WM_GIZMOMAP_DRAWSTEP_MAX]
bool is_init
bool tag_remove_group
bool tag_highlight_pending
struct { 
   wmGizmo *   highlight 
   wmGizmo *   modal 
   wmGizmoMapSelectState   select 
   int   event_xy [2] 
   short   event_grabcursor 
   int   last_cursor 
gzmap_context
 Gizmo map runtime context.

Detailed Description

Definition at line 99 of file wm_gizmo_intern.hh.

Member Data Documentation

◆ event_grabcursor

short wmGizmoMap::event_grabcursor

Definition at line 130 of file wm_gizmo_intern.hh.

Referenced by wm_gizmomap_modal_set().

◆ event_xy

int wmGizmoMap::event_xy[2]

Cursor location at point of entering modal (see: WM_GIZMO_MOVE_CURSOR).

Definition at line 129 of file wm_gizmo_intern.hh.

Referenced by wm_gizmomap_modal_set().

◆ groups

◆ [struct]

◆ highlight

◆ is_init

bool wmGizmoMap::is_init

Private, true when not yet used.

Definition at line 107 of file wm_gizmo_intern.hh.

Referenced by gizmomap_prepare_drawing(), wm_gizmomap_new_from_type_ex(), and WM_reinit_gizmomap_all().

◆ last_cursor

int wmGizmoMap::last_cursor

Until we have nice cursor push/pop API.

Definition at line 132 of file wm_gizmo_intern.hh.

Referenced by wm_gizmomap_highlight_set().

◆ modal

wmGizmo* wmGizmoMap::modal

◆ select

◆ tag_highlight_pending

bool wmGizmoMap::tag_highlight_pending

When set, the event system re-calculates highlight even without cursor motion.

Definition at line 113 of file wm_gizmo_intern.hh.

Referenced by wm_gizmomap_highlight_handled(), wm_gizmomap_highlight_pending(), WM_gizmomap_tag_refresh(), and WM_gizmomap_tag_refresh_drawstep().

◆ tag_remove_group

bool wmGizmoMap::tag_remove_group

When set, one of the items in 'groups' has wmGizmoGroup.tag_remove set.

Definition at line 110 of file wm_gizmo_intern.hh.

Referenced by WM_gizmoconfig_update(), and WM_gizmoconfig_update_tag_group_remove().

◆ type

◆ update_flag


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