|
Blender V5.0
|
#include <wm_gizmo_intern.hh>
Public Attributes | |
| wmGizmoMapType * | type |
| 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. | |
Definition at line 99 of file wm_gizmo_intern.hh.
| short wmGizmoMap::event_grabcursor |
Definition at line 130 of file wm_gizmo_intern.hh.
Referenced by wm_gizmomap_modal_set().
| 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().
| ListBase wmGizmoMap::groups |
Definition at line 101 of file wm_gizmo_intern.hh.
Referenced by gizmo_tweak_finish(), gizmomap_prepare_drawing(), gizmos_draw_list(), gizmotype_unlink(), WM_gizmo_group_remove_by_tool(), WM_gizmo_group_unlink_delayed_ptr_from_space(), WM_gizmoconfig_update(), wm_gizmogroup_find_by_type(), wm_gizmogroup_free(), wm_gizmogroup_new_from_type(), wm_gizmomap_free_data(), WM_gizmomap_gizmo_hash_new(), WM_gizmomap_group_find_ptr(), WM_gizmomap_group_list(), wm_gizmomap_groups_get(), wm_gizmomap_highlight_find(), WM_gizmomap_message_subscribe(), wm_gizmomap_modal_set(), WM_gizmomap_tag_delay_refresh_for_tweak_check(), WM_gizmomaptype_group_init_runtime_with_region(), and WM_gizmomaptype_group_unlink().
| struct { ... } wmGizmoMap::gzmap_context |
Gizmo map runtime context.
Contains information about this gizmo-map. Currently highlighted gizmo, currently selected gizmos, ...
Referenced by gizmo_select_invoke(), gizmo_tweak_invoke(), gizmomap_prepare_drawing(), WM_gizmo_modal_set_while_modal(), WM_gizmo_unlink(), wm_gizmogroup_free(), WM_gizmomap_cursor_set(), wm_gizmomap_deselect_all(), WM_gizmomap_get_modal(), wm_gizmomap_highlight_get(), wm_gizmomap_highlight_set(), WM_gizmomap_is_any_selected(), WM_gizmomap_minmax(), wm_gizmomap_modal_get(), wm_gizmomap_modal_set(), wm_gizmomap_select_all_intern(), wm_gizmomap_select_array_clear(), wm_gizmomap_select_array_ensure_len_alloc(), wm_gizmomap_select_array_push_back(), wm_gizmomap_select_array_remove(), wm_gizmomap_select_array_shrink(), wm_gizmomap_selected_get(), and WM_gizmomap_tooltip_init().
| wmGizmo* wmGizmoMap::highlight |
We redraw the gizmo-map when this changes.
Definition at line 123 of file wm_gizmo_intern.hh.
Referenced by gizmo_select_invoke(), gizmo_tweak_invoke(), WM_gizmo_unlink(), wm_gizmogroup_free(), WM_gizmomap_cursor_set(), wm_gizmomap_highlight_get(), wm_gizmomap_highlight_set(), and WM_gizmomap_tooltip_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().
| 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().
| wmGizmo* wmGizmoMap::modal |
User has clicked this gizmo and it gets all input.
Definition at line 125 of file wm_gizmo_intern.hh.
Referenced by gizmomap_prepare_drawing(), WM_gizmo_modal_set_while_modal(), WM_gizmo_unlink(), wm_gizmogroup_free(), WM_gizmomap_get_modal(), wm_gizmomap_modal_get(), and wm_gizmomap_modal_set().
| wmGizmoMapSelectState wmGizmoMap::select |
Array for all selected gizmos.
Definition at line 127 of file wm_gizmo_intern.hh.
Referenced by gizmo_select_invoke(), wm_gizmogroup_free(), wm_gizmomap_deselect_all(), WM_gizmomap_is_any_selected(), WM_gizmomap_minmax(), wm_gizmomap_select_all_intern(), wm_gizmomap_select_array_clear(), wm_gizmomap_select_array_ensure_len_alloc(), wm_gizmomap_select_array_push_back(), wm_gizmomap_select_array_remove(), wm_gizmomap_select_array_shrink(), and wm_gizmomap_selected_get().
| 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().
| 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().
| wmGizmoMapType* wmGizmoMap::type |
Definition at line 100 of file wm_gizmo_intern.hh.
Referenced by WM_gizmo_group_remove_by_tool(), WM_gizmo_group_unlink_delayed_ptr_from_space(), wm_gizmomap_new_from_type_ex(), WM_gizmomap_reinit(), WM_gizmomaptype_group_init_runtime(), WM_gizmomaptype_group_init_runtime_with_region(), and WM_gizmomaptype_group_unlink().
| char wmGizmoMap::update_flag[WM_GIZMOMAP_DRAWSTEP_MAX] |
Definition at line 104 of file wm_gizmo_intern.hh.
Referenced by gizmo_prepare_drawing(), gizmomap_prepare_drawing(), wm_gizmomap_highlight_find(), wm_gizmomap_modal_set(), WM_gizmomap_tag_refresh(), and WM_gizmomap_tag_refresh_drawstep().