|
Blender V5.3
|
#include "UI_interface_c.hh"#include <algorithm>#include <cctype>#include <cerrno>#include <cfloat>#include <cstddef>#include <cstdio>#include <cstring>#include <sstream>#include <fmt/format.h>#include "MEM_guardedalloc.h"#include "CLG_log.h"#include "DNA_ID.h"#include "DNA_armature_types.h"#include "DNA_brush_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_userdef_types.h"#include "DNA_windowmanager_types.h"#include "BLT_translation.hh"#include "BLI_dial_2d.hh"#include "BLI_listbase.hh"#include "BLI_math_rotation_c.hh"#include "BLI_math_vector_c.hh"#include "BLI_math_vector_types.hh"#include "BLI_path_utils.hh"#include "BLI_string.hh"#include "BLI_string_utf8.hh"#include "BLI_time.hh"#include "BLI_utildefines.hh"#include "BKE_anim_data.hh"#include "BKE_brush.hh"#include "BKE_colortools.hh"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_idprop.hh"#include "BKE_image.hh"#include "BKE_image_format.hh"#include "BKE_lib_id.hh"#include "BKE_lib_query.hh"#include "BKE_library.hh"#include "BKE_main.hh"#include "BKE_material.hh"#include "BKE_paint.hh"#include "BKE_preview_image.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "BKE_screen.hh"#include "BKE_wm_runtime.hh"#include "BKE_idtype.hh"#include "BLF_api.hh"#include "GPU_immediate.hh"#include "GPU_immediate_util.hh"#include "GPU_matrix.hh"#include "GPU_state.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "ED_fileselect.hh"#include "ED_gpencil_legacy.hh"#include "ED_grease_pencil.hh"#include "ED_numinput.hh"#include "ED_screen.hh"#include "ED_undo.hh"#include "ED_view3d.hh"#include "DEG_depsgraph_query.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_path.hh"#include "RNA_prototypes.hh"#include "UI_interface.hh"#include "UI_interface_icons.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "WM_api.hh"#include "WM_keymap.hh"#include "WM_types.hh"#include "wm.hh"#include "wm_draw.hh"#include "wm_event_system.hh"#include "wm_event_types.hh"#include "wm_files.hh"#include "wm_window.hh"Go to the source code of this file.
Classes | |
| struct | blender::EnumSearchMenu |
| struct | blender::wmOpPopUp |
| struct | blender::SearchPopupInit_Data |
| struct | blender::RadialControl |
| struct | blender::PreviewsIDEnsureData |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | UNDOCUMENTED_OPERATOR_TIP N_("(undocumented operator)") |
| #define | CTX_TEST_PTR_ID(C, member, idptr) |
| #define | CTX_TEST_PTR_ID_CAST(C, member, member_full, cast, idptr) |
| #define | TEST_PTR_DATA_TYPE(member, rna_type, rna_ptr, dataptr_cmp) |
| #define | TEST_PTR_DATA_TYPE_FROM_CONTEXT(member, rna_type, rna_ptr) |
| #define | ID_CAST_OBDATA(id_pt) |
| #define | ID_CAST_OBMATACT(id_pt) |
| #define | ID_CAST_SCENEWORLD(id_pt) |
Redraw Timer Operator | |
Use for simple benchmarks. | |
| enum | { blender::eRTDrawRegion = 0 , blender::eRTDrawRegionSwap = 1 , blender::eRTDrawWindow = 2 , blender::eRTDrawWindowSwap = 3 , blender::eRTAnimationStep = 4 , blender::eRTAnimationPlay = 5 , blender::eRTUndo = 6 } |
| static const EnumPropertyItem | blender::redraw_timer_type_items [] |
| static void | blender::redraw_timer_window_swap (bContext *C) |
| static void | blender::redraw_timer_step (bContext *C, Scene *scene, Depsgraph *depsgraph, wmWindow *win, ScrArea *area, ARegion *region, const int type, const int cfra, const int steps_done, const int steps_total) |
| static bool | blender::redraw_timer_poll (bContext *C) |
| static wmOperatorStatus | blender::redraw_timer_exec (bContext *C, wmOperator *op) |
| static void | blender::WM_OT_redraw_timer (wmOperatorType *ot) |
Data-Block Preview Clear Operator | |
| enum | blender::PreviewFilterID { blender::PREVIEW_FILTER_ALL , blender::PREVIEW_FILTER_GEOMETRY , blender::PREVIEW_FILTER_SHADING , blender::PREVIEW_FILTER_SCENE , blender::PREVIEW_FILTER_COLLECTION , blender::PREVIEW_FILTER_OBJECT , blender::PREVIEW_FILTER_MATERIAL , blender::PREVIEW_FILTER_LIGHT , blender::PREVIEW_FILTER_WORLD , blender::PREVIEW_FILTER_TEXTURE , blender::PREVIEW_FILTER_IMAGE } |
| static const EnumPropertyItem | blender::preview_id_type_items [] |
| static uint | blender::preview_filter_to_idfilter (enum PreviewFilterID filter) |
| static wmOperatorStatus | blender::previews_clear_exec (bContext *C, wmOperator *op) |
| static void | blender::WM_OT_previews_clear (wmOperatorType *ot) |
Functions for dealing with wmOperator, adding, removing, calling as well as some generic operators and shared operator properties.
Definition in file wm_operators.cc.
| #define CTX_TEST_PTR_ID | ( | C, | |
| member, | |||
| idptr ) |
Referenced by blender::wm_context_member_from_ptr().
Referenced by blender::wm_context_member_from_ptr().
| #define ID_CAST_OBDATA | ( | id_pt | ) |
Referenced by blender::wm_context_member_from_ptr().
| #define ID_CAST_OBMATACT | ( | id_pt | ) |
Referenced by blender::wm_context_member_from_ptr().
| #define ID_CAST_SCENEWORLD | ( | id_pt | ) |
Referenced by blender::wm_context_member_from_ptr().
| #define OP_BL_SEP_LEN 4 |
Definition at line 131 of file wm_operators.cc.
Referenced by blender::WM_operator_bl_idname(), blender::WM_operator_bl_idname_is_valid(), and blender::WM_operator_py_idname().
| #define OP_BL_SEP_STRING "_OT_" |
Definition at line 130 of file wm_operators.cc.
Referenced by blender::WM_operator_bl_idname(), blender::WM_operator_bl_idname_is_valid(), and blender::WM_operator_py_idname().
| #define OP_MAX_PY_IDNAME (OP_MAX_TYPENAME - OP_BL_SEP_LEN + OP_PY_SEP_LEN - 1) |
Definition at line 138 of file wm_operators.cc.
Referenced by blender::operator_idname_ok_or_report_impl(), and blender::WM_operator_bl_idname().
| #define OP_PY_SEP_CHAR '.' |
Definition at line 133 of file wm_operators.cc.
Referenced by blender::WM_operator_bl_idname(), and blender::WM_operator_py_idname().
| #define OP_PY_SEP_LEN 1 |
Definition at line 134 of file wm_operators.cc.
Referenced by blender::WM_operator_bl_idname(), and blender::WM_operator_py_idname().
| #define TEST_PTR_DATA_TYPE | ( | member, | |
| rna_type, | |||
| rna_ptr, | |||
| dataptr_cmp ) |
Referenced by blender::wm_context_member_from_ptr().
| #define TEST_PTR_DATA_TYPE_FROM_CONTEXT | ( | member, | |
| rna_type, | |||
| rna_ptr ) |
Referenced by blender::wm_context_member_from_ptr().
| #define UNDOCUMENTED_OPERATOR_TIP N_("(undocumented operator)") |
Definition at line 124 of file wm_operators.cc.
| #define WM_RADIAL_CONTROL_DISPLAY_MIN_SIZE (35 * UI_SCALE_FAC) |
Definition at line 2629 of file wm_operators.cc.
Referenced by blender::radial_control_modal(), blender::radial_control_paint_cursor(), and blender::radial_control_set_initial_mouse().
| #define WM_RADIAL_CONTROL_DISPLAY_SIZE (200 * UI_SCALE_FAC) |
Definition at line 2628 of file wm_operators.cc.
Referenced by blender::radial_control_modal(), blender::radial_control_paint_cursor(), and blender::radial_control_set_initial_mouse().
| #define WM_RADIAL_CONTROL_DISPLAY_WIDTH (WM_RADIAL_CONTROL_DISPLAY_SIZE - WM_RADIAL_CONTROL_DISPLAY_MIN_SIZE) |
Definition at line 2630 of file wm_operators.cc.
Referenced by blender::radial_control_modal(), blender::radial_control_paint_cursor(), and blender::radial_control_set_initial_mouse().
| #define WM_RADIAL_MAX_STR 10 |
Definition at line 2632 of file wm_operators.cc.
Referenced by blender::radial_control_paint_cursor().