|
Blender V4.3
|
#include "DNA_listBase.h"#include "DNA_screen_types.h"#include "DNA_xr_types.h"#include "DNA_ID.h"Go to the source code of this file.
Classes | |
| struct | Report |
| struct | ReportList |
| struct | ReportTimerInfo |
| struct | wmXrData |
| struct | wmWindowManager |
| struct | wmWindow |
| struct | wmOperatorTypeMacro |
| struct | wmKeyMapItem |
| struct | wmKeyMapDiffItem |
| struct | wmKeyMap |
| struct | wmKeyConfigPref |
| struct | wmKeyConfig |
| struct | wmOperator |
Macros | |
| #define | std_mutex_type void |
| #define | OP_MAX_TYPENAME 64 |
| #define | KMAP_MAX_NAME 64 |
| #define | RPT_DEBUG_ALL (RPT_DEBUG) |
| #define | RPT_INFO_ALL (RPT_INFO) |
| #define | RPT_OPERATOR_ALL (RPT_OPERATOR) |
| #define | RPT_PROPERTY_ALL (RPT_PROPERTY) |
| #define | RPT_WARNING_ALL (RPT_WARNING) |
| #define | RPT_ERROR_ALL (RPT_ERROR | RPT_ERROR_INVALID_INPUT | RPT_ERROR_INVALID_CONTEXT | RPT_ERROR_OUT_OF_MEMORY) |
| #define | WM_KEYCONFIG_ARRAY_P(wm) &(wm)->defaultconf, &(wm)->addonconf, &(wm)->userconf |
| #define | WM_OUTLINER_SYNC_SELECT_FROM_ALL |
| #define | WM_KEYCONFIG_STR_DEFAULT "Blender" |
| #define | OPERATOR_FLAGS_ALL |
| #define | OPERATOR_RETVAL_CHECK(ret) (void)ret, BLI_assert(ret != 0 && (ret & OPERATOR_FLAGS_ALL) == ret) |
Typedefs | |
| typedef struct WindowManagerRuntimeHandle | WindowManagerRuntimeHandle |
| typedef enum eReportType | eReportType |
| typedef struct Report | Report |
| typedef struct ReportList | ReportList |
| typedef struct ReportTimerInfo | ReportTimerInfo |
| typedef struct wmXrData | wmXrData |
| typedef struct wmWindowManager | wmWindowManager |
| typedef struct wmWindow | wmWindow |
| typedef struct wmOperatorTypeMacro | wmOperatorTypeMacro |
| typedef struct wmKeyMapItem | wmKeyMapItem |
| typedef struct wmKeyMapDiffItem | wmKeyMapDiffItem |
| typedef struct wmKeyMap | wmKeyMap |
| typedef struct wmKeyConfigPref | wmKeyConfigPref |
| typedef struct wmKeyConfig | wmKeyConfig |
| typedef struct wmOperator | wmOperator |
| #define KMAP_MAX_NAME 64 |
Definition at line 60 of file DNA_windowmanager_types.h.
Referenced by RNA_api_workspace_tool(), WM_dropboxmap_find(), wm_gizmogroup_tweak_modal_keymap(), WM_keymap_list_find(), WM_keymap_list_find_spaceid_or_empty(), and WM_modalkeymap_find().
| #define OP_MAX_TYPENAME 64 |
Definition at line 59 of file DNA_windowmanager_types.h.
Referenced by menu_items_from_all_operators(), PYOP_wrap_macro_define(), rna_def_operator_common(), rna_def_xr_actionmap(), UI_but_online_manual_id(), WM_operator_bl_idname(), WM_operator_py_idname(), WM_operator_pystring_ex(), WM_operatortype_find(), and WM_operatortype_idname_visit_for_search().
| #define OPERATOR_FLAGS_ALL |
Definition at line 672 of file DNA_windowmanager_types.h.
| #define OPERATOR_RETVAL_CHECK | ( | ret | ) | (void)ret, BLI_assert(ret != 0 && (ret & OPERATOR_FLAGS_ALL) == ret) |
Definition at line 677 of file DNA_windowmanager_types.h.
Referenced by gesture_box_apply(), gesture_circle_apply(), gesture_lasso_apply(), gesture_polyline_apply(), gesture_straightline_apply(), op_generic_value_modal(), blender::ed::sculpt_paint::image::ops::paint::paint_invoke(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), vpaint_invoke(), WM_generic_select_modal(), wm_handler_operator_call(), wm_handlers_do_intern(), wm_macro_exec(), wm_macro_invoke_internal(), wm_macro_modal(), WM_menu_invoke_ex(), wm_operator_exec(), wm_operator_exec_notest(), wm_operator_invoke(), and wpaint_invoke().
Definition at line 76 of file DNA_windowmanager_types.h.
Referenced by info_report_mask(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), and UI_text_colorid_from_report_type().
| #define RPT_ERROR_ALL (RPT_ERROR | RPT_ERROR_INVALID_INPUT | RPT_ERROR_INVALID_CONTEXT | RPT_ERROR_OUT_OF_MEMORY) |
Definition at line 81 of file DNA_windowmanager_types.h.
Referenced by bpy_lib_write(), info_report_mask(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), UI_text_colorid_from_report_type(), and update_reports_display_invoke().
Definition at line 77 of file DNA_windowmanager_types.h.
Referenced by info_report_mask(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), and UI_text_colorid_from_report_type().
| #define RPT_OPERATOR_ALL (RPT_OPERATOR) |
Definition at line 78 of file DNA_windowmanager_types.h.
Referenced by info_report_mask(), and report_replay_exec().
| #define RPT_PROPERTY_ALL (RPT_PROPERTY) |
Definition at line 79 of file DNA_windowmanager_types.h.
Referenced by info_report_mask(), and report_replay_exec().
| #define RPT_WARNING_ALL (RPT_WARNING) |
Definition at line 80 of file DNA_windowmanager_types.h.
Referenced by info_report_mask(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), and UI_text_colorid_from_report_type().
| #define std_mutex_type void |
Definition at line 21 of file DNA_windowmanager_types.h.
| #define WM_KEYCONFIG_ARRAY_P | ( | wm | ) | &(wm)->defaultconf, &(wm)->addonconf, &(wm)->userconf |
Definition at line 237 of file DNA_windowmanager_types.h.
Referenced by WM_keyconfig_remove().
| #define WM_KEYCONFIG_STR_DEFAULT "Blender" |
Definition at line 263 of file DNA_windowmanager_types.h.
Referenced by BKE_keyconfig_pref_set_select_mouse(), and WM_keyconfig_init().
| #define WM_OUTLINER_SYNC_SELECT_FROM_ALL |
Definition at line 259 of file DNA_windowmanager_types.h.
Referenced by blo_do_versions_280(), ED_outliner_select_sync_from_all_tag(), ED_outliner_select_sync_is_dirty(), blender::ed::outliner::outliner_create(), and blender::ed::outliner::outliner_duplicate().
| typedef enum eReportType eReportType |
Keep in sync with 'rna_enum_wm_report_items' in wm_rna.c.
| typedef struct Report Report |
| typedef struct ReportList ReportList |
| typedef struct ReportTimerInfo ReportTimerInfo |
| typedef struct WindowManagerRuntimeHandle WindowManagerRuntimeHandle |
Workaround to forward-declare C++ type in C header.
Definition at line 31 of file DNA_windowmanager_types.h.
| typedef struct wmKeyConfig wmKeyConfig |
| typedef struct wmKeyConfigPref wmKeyConfigPref |
This is similar to addon-preferences, however unlike add-ons key-configurations aren't saved to disk.
wmKeyConfigPref is written to DNA, wmKeyConfigPrefType_Runtime has the RNA type.
| typedef struct wmKeyMap wmKeyMap |
Stored in WM, the actively used key-maps.
| typedef struct wmKeyMapDiffItem wmKeyMapDiffItem |
Used instead of wmKeyMapItem for diff keymaps.
| typedef struct wmKeyMapItem wmKeyMapItem |
Partial copy of the event, for matching by event handler.
| typedef struct wmOperator wmOperator |
This one is the operator itself, stored in files for macros etc. operator + operator-type should be able to redo entirely, but for different context's.
| typedef struct wmOperatorTypeMacro wmOperatorTypeMacro |
| typedef struct wmWindow wmWindow |
The saveable part, the rest of the data is local in GHOST.
| typedef struct wmWindowManager wmWindowManager |
Window-manager is saved, tag WMAN.
| typedef struct wmXrData wmXrData |
| anonymous enum |
wmWindowManager.extensions_updates
| Enumerator | |
|---|---|
| WM_EXTENSIONS_UPDATE_UNSET | |
| WM_EXTENSIONS_UPDATE_CHECKING | |
Definition at line 240 of file DNA_windowmanager_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| WM_INIT_FLAG_WINDOW | |
| WM_INIT_FLAG_KEYCONFIG | |
Definition at line 246 of file DNA_windowmanager_types.h.
| anonymous enum |
wmWindowManager.outliner_sync_select_dirty
| Enumerator | |
|---|---|
| WM_OUTLINER_SYNC_SELECT_FROM_OBJECT | |
| WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE | |
| WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE | |
| WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE | |
Definition at line 252 of file DNA_windowmanager_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| KMI_INACTIVE | |
| KMI_EXPANDED | |
| KMI_USER_MODIFIED | |
| KMI_UPDATE | |
| KMI_REPEAT_IGNORE | When set, ignore events with
Knowing if an event may repeat is something set at the operating-systems event handling level so rely on WM_EVENT_IS_REPEAT being false non keyboard events instead of checking if this flag makes sense. Only used when: |
Definition at line 505 of file DNA_windowmanager_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| KMI_TYPE_KEYBOARD | |
| KMI_TYPE_MOUSE | |
| KMI_TYPE_TEXTINPUT | |
| KMI_TYPE_TIMER | |
| KMI_TYPE_NDOF | |
Definition at line 527 of file DNA_windowmanager_types.h.
| anonymous enum |
Definition at line 569 of file DNA_windowmanager_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| KEYCONF_USER | |
| KEYCONF_INIT_DEFAULT | |
Definition at line 614 of file DNA_windowmanager_types.h.
| anonymous enum |
Operator type return flags: exec(), invoke() modal(), return values.
Definition at line 658 of file DNA_windowmanager_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| OP_IS_INVOKE | Low level flag so exec() operators can tell if they were invoked, use with care. Typically this shouldn't make any difference, but it rare cases its needed (see smooth-view). |
| OP_IS_REPEAT | So we can detect if an operators exec() call is activated by adjusting the last action. |
| OP_IS_REPEAT_LAST | So we can detect if an operators exec() call is activated from SCREEN_OT_repeat_last. This difference can be important because previous settings may be used, even with PROP_SKIP_SAVE the repeat last operator will use the previous settings. Unlike OP_IS_REPEAT the selection (and context generally) may be different each time. See #60777 for an example of when this is needed. |
| OP_IS_MODAL_GRAB_CURSOR | When the cursor is grabbed |
| OP_IS_MODAL_CURSOR_REGION | Allow modal operators to have the region under the cursor for their context (the region-type is maintained to prevent errors). |
Definition at line 681 of file DNA_windowmanager_types.h.
| enum eReportType |
Keep in sync with 'rna_enum_wm_report_items' in wm_rna.c.
| Enumerator | |
|---|---|
| RPT_DEBUG | |
| RPT_INFO | |
| RPT_OPERATOR | |
| RPT_PROPERTY | |
| RPT_WARNING | |
| RPT_ERROR | |
| RPT_ERROR_INVALID_INPUT | |
| RPT_ERROR_INVALID_CONTEXT | |
| RPT_ERROR_OUT_OF_MEMORY | |
Definition at line 63 of file DNA_windowmanager_types.h.
| enum ReportListFlags |
| Enumerator | |
|---|---|
| RPT_PRINT | |
| RPT_STORE | |
| RPT_FREE | |
| RPT_OP_HOLD | |
| RPT_PRINT_HANDLED_BY_OWNER | Don't print (the owner of the ReportList will handle printing to the |
Definition at line 84 of file DNA_windowmanager_types.h.