216 #define OP_PROP_TAG_ADVANCED ((eOperatorPropTags)OP_PROP_TAG_ADVANCED)
229 #define KM_OSKEY2 128
233 #define KM_MOD_FIRST 1
234 #define KM_MOD_SECOND 2
237 #define KM_TEXTINPUT -2
245 #define KM_DBL_CLICK 4
246 #define KM_CLICK_DRAG 5
250 #define WM_UI_HANDLER_CONTINUE 0
251 #define WM_UI_HANDLER_BREAK 1
275 #define NOTE_CATEGORY 0xFF000000
276 #define NC_WM (1 << 24)
277 #define NC_WINDOW (2 << 24)
278 #define NC_SCREEN (3 << 24)
279 #define NC_SCENE (4 << 24)
280 #define NC_OBJECT (5 << 24)
281 #define NC_MATERIAL (6 << 24)
282 #define NC_TEXTURE (7 << 24)
283 #define NC_LAMP (8 << 24)
284 #define NC_GROUP (9 << 24)
285 #define NC_IMAGE (10 << 24)
286 #define NC_BRUSH (11 << 24)
287 #define NC_TEXT (12 << 24)
288 #define NC_WORLD (13 << 24)
289 #define NC_ANIMATION (14 << 24)
293 #define NC_SPACE (15 << 24)
294 #define NC_GEOM (16 << 24)
295 #define NC_NODE (17 << 24)
296 #define NC_ID (18 << 24)
297 #define NC_PAINTCURVE (19 << 24)
298 #define NC_MOVIECLIP (20 << 24)
299 #define NC_MASK (21 << 24)
300 #define NC_GPENCIL (22 << 24)
301 #define NC_LINESTYLE (23 << 24)
302 #define NC_CAMERA (24 << 24)
303 #define NC_LIGHTPROBE (25 << 24)
305 #define NC_ASSET (26 << 24)
308 #define NOTE_DATA 0x00FF0000
311 #define ND_FILEREAD (1 << 16)
312 #define ND_FILESAVE (2 << 16)
313 #define ND_DATACHANGED (3 << 16)
314 #define ND_HISTORY (4 << 16)
315 #define ND_JOB (5 << 16)
316 #define ND_UNDO (6 << 16)
317 #define ND_XR_DATA_CHANGED (7 << 16)
318 #define ND_LIB_OVERRIDE_CHANGED (8 << 16)
321 #define ND_LAYOUTBROWSE (1 << 16)
322 #define ND_LAYOUTDELETE (2 << 16)
323 #define ND_ANIMPLAY (4 << 16)
324 #define ND_GPENCIL (5 << 16)
325 #define ND_EDITOR_CHANGED (6 << 16)
326 #define ND_LAYOUTSET (7 << 16)
327 #define ND_SKETCH (8 << 16)
328 #define ND_WORKSPACE_SET (9 << 16)
329 #define ND_WORKSPACE_DELETE (10 << 16)
332 #define ND_SCENEBROWSE (1 << 16)
333 #define ND_MARKERS (2 << 16)
334 #define ND_FRAME (3 << 16)
335 #define ND_RENDER_OPTIONS (4 << 16)
336 #define ND_NODES (5 << 16)
337 #define ND_SEQUENCER (6 << 16)
340 #define ND_OB_ACTIVE (7 << 16)
342 #define ND_OB_SELECT (8 << 16)
343 #define ND_OB_VISIBLE (9 << 16)
344 #define ND_OB_RENDER (10 << 16)
345 #define ND_MODE (11 << 16)
346 #define ND_RENDER_RESULT (12 << 16)
347 #define ND_COMPO_RESULT (13 << 16)
348 #define ND_KEYINGSET (14 << 16)
349 #define ND_TOOLSETTINGS (15 << 16)
350 #define ND_LAYER (16 << 16)
351 #define ND_FRAME_RANGE (17 << 16)
352 #define ND_TRANSFORM_DONE (18 << 16)
353 #define ND_WORLD (92 << 16)
354 #define ND_LAYER_CONTENT (101 << 16)
357 #define ND_TRANSFORM (18 << 16)
358 #define ND_OB_SHADING (19 << 16)
359 #define ND_POSE (20 << 16)
360 #define ND_BONE_ACTIVE (21 << 16)
361 #define ND_BONE_SELECT (22 << 16)
362 #define ND_DRAW (23 << 16)
363 #define ND_MODIFIER (24 << 16)
364 #define ND_KEYS (25 << 16)
365 #define ND_CONSTRAINT (26 << 16)
366 #define ND_PARTICLE (27 << 16)
367 #define ND_POINTCACHE (28 << 16)
368 #define ND_PARENT (29 << 16)
369 #define ND_LOD (30 << 16)
370 #define ND_DRAW_RENDER_VIEWPORT \
372 #define ND_SHADERFX (32 << 16)
374 #define ND_DRAW_ANIMVIZ (33 << 16)
377 #define ND_SHADING (30 << 16)
378 #define ND_SHADING_DRAW (31 << 16)
379 #define ND_SHADING_LINKS (32 << 16)
380 #define ND_SHADING_PREVIEW (33 << 16)
383 #define ND_LIGHTING (40 << 16)
384 #define ND_LIGHTING_DRAW (41 << 16)
387 #define ND_WORLD_DRAW (45 << 16)
390 #define ND_CURSOR (50 << 16)
391 #define ND_DISPLAY (51 << 16)
394 #define ND_KEYFRAME (70 << 16)
395 #define ND_KEYFRAME_PROP (71 << 16)
396 #define ND_ANIMCHAN (72 << 16)
397 #define ND_NLA (73 << 16)
398 #define ND_NLA_ACTCHANGE (74 << 16)
399 #define ND_FCURVES_ORDER (75 << 16)
400 #define ND_NLA_ORDER (76 << 16)
403 #define ND_GPENCIL_EDITMODE (85 << 16)
407 #define ND_SELECT (90 << 16)
408 #define ND_DATA (91 << 16)
409 #define ND_VERTEX_GROUP (92 << 16)
414 #define ND_SPACE_CONSOLE (1 << 16)
415 #define ND_SPACE_INFO_REPORT (2 << 16)
416 #define ND_SPACE_INFO (3 << 16)
417 #define ND_SPACE_IMAGE (4 << 16)
418 #define ND_SPACE_FILE_PARAMS (5 << 16)
419 #define ND_SPACE_FILE_LIST (6 << 16)
420 #define ND_SPACE_ASSET_PARAMS (7 << 16)
421 #define ND_SPACE_NODE (8 << 16)
422 #define ND_SPACE_OUTLINER (9 << 16)
423 #define ND_SPACE_VIEW3D (10 << 16)
424 #define ND_SPACE_PROPERTIES (11 << 16)
425 #define ND_SPACE_TEXT (12 << 16)
426 #define ND_SPACE_TIME (13 << 16)
427 #define ND_SPACE_GRAPH (14 << 16)
428 #define ND_SPACE_DOPESHEET (15 << 16)
429 #define ND_SPACE_NLA (16 << 16)
430 #define ND_SPACE_SEQUENCER (17 << 16)
431 #define ND_SPACE_NODE_VIEW (18 << 16)
432 #define ND_SPACE_CHANGED (19 << 16)
433 #define ND_SPACE_CLIP (20 << 16)
434 #define ND_SPACE_FILE_PREVIEW (21 << 16)
435 #define ND_SPACE_SPREADSHEET (22 << 16)
438 #define NOTE_SUBTYPE 0x0000FF00
441 #define NS_MODE_OBJECT (1 << 8)
443 #define NS_EDITMODE_MESH (2 << 8)
444 #define NS_EDITMODE_CURVE (3 << 8)
445 #define NS_EDITMODE_SURFACE (4 << 8)
446 #define NS_EDITMODE_TEXT (5 << 8)
447 #define NS_EDITMODE_MBALL (6 << 8)
448 #define NS_EDITMODE_LATTICE (7 << 8)
449 #define NS_EDITMODE_ARMATURE (8 << 8)
450 #define NS_MODE_POSE (9 << 8)
451 #define NS_MODE_PARTICLE (10 << 8)
454 #define NS_VIEW3D_GPU (16 << 8)
455 #define NS_VIEW3D_SHADING (17 << 8)
458 #define NS_LAYER_COLLECTION (24 << 8)
461 #define NOTE_ACTION (0x000000FF)
463 #define NA_EVALUATED 2
467 #define NA_SELECTED 6
468 #define NA_ACTIVATED 7
469 #define NA_PAINTING 8
470 #define NA_JOB_FINISHED 9
475 #define WM_GESTURE_TWEAK 0
476 #define WM_GESTURE_LINES 1
477 #define WM_GESTURE_RECT 2
478 #define WM_GESTURE_CROSS_RECT 3
479 #define WM_GESTURE_LASSO 4
480 #define WM_GESTURE_CIRCLE 5
481 #define WM_GESTURE_STRAIGHTLINE 6
648 #define WM_EVENT_CURSOR_MOTION_THRESHOLD ((float)U.move_threshold * U.dpi_fac)
659 #ifdef WITH_INPUT_NDOF
660 typedef struct wmNDOFMotionData {
843 #ifdef WITH_INPUT_IME
848 typedef struct wmIMEData {
849 size_t result_len, composite_len;
863 bool is_ime_composing;
874 #define WM_DRAG_ASSET 1
875 #define WM_DRAG_RNA 2
876 #define WM_DRAG_PATH 3
877 #define WM_DRAG_NAME 4
878 #define WM_DRAG_VALUE 5
879 #define WM_DRAG_COLOR 6
880 #define WM_DRAG_DATASTACK 7
978 bool *r_exit_on_event);
void BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() ATTR_WARN_UNUSED_RESULT
These structs are the foundation for all linked lists in the library system.
struct CLG_LogRef * WM_LOG_TOOLS
struct CLG_LogRef * WM_LOG_MSGBUS_SUB
struct wmTabletData wmTabletData
struct CLG_LogRef * WM_LOG_EVENTS
struct CLG_LogRef * WM_LOG_HANDLERS
struct wmOperatorType wmOperatorType
void(* wmPaintCursorDraw)(struct bContext *C, int, int, void *customdata)
struct wmOperatorCallParams wmOperatorCallParams
struct RecentFile RecentFile
struct wmGesture wmGesture
@ WM_OP_INVOKE_REGION_WIN
@ WM_OP_EXEC_REGION_PREVIEW
@ WM_OP_INVOKE_REGION_PREVIEW
@ WM_OP_EXEC_REGION_CHANNELS
@ WM_OP_INVOKE_REGION_CHANNELS
struct wmNotifier wmNotifier
struct CLG_LogRef * WM_LOG_KEYMAPS
struct wmGenericCallback wmGenericCallback
struct wmTooltipState wmTooltipState
#define OP_PROP_TAG_ADVANCED
struct wmGenericUserData wmGenericUserData
struct CLG_LogRef * WM_LOG_MSGBUS_PUB
struct wmDragAsset wmDragAsset
@ WM_TIMER_NO_FREE_CUSTOM_DATA
struct CLG_LogRef * WM_LOG_OPERATORS
struct wmDropBox wmDropBox
bool(* poll)(struct bContext *, struct wmDrag *, const wmEvent *, const char **)
void(* copy)(struct wmDrag *, struct wmDropBox *)
void(* cancel)(struct Main *, struct wmDrag *, struct wmDropBox *)
struct IDProperty * properties
char is_direction_inverted
void(* exec)(struct bContext *C, void *user_data)
void(* free_user_data)(void *user_data)
void(* free_fn)(void *data)
wmGenericUserData user_data
const struct wmWindow * window
struct wmOperatorType * optype
struct PointerRNA * opptr
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
struct wmKeyMap * modalkeymap
int(* modal)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
struct IDProperty * last_properties
bool(* poll)(struct bContext *) ATTR_WARN_UNUSED_RESULT
bool(* poll_property)(const struct bContext *C, struct wmOperator *op, const PropertyRNA *prop) ATTR_WARN_UNUSED_RESULT
void(* cancel)(struct bContext *, struct wmOperator *)
const char * translation_context
void(* ui)(struct bContext *, struct wmOperator *)
bool(* check)(struct bContext *, struct wmOperator *)
bool(* pyop_poll)(struct bContext *, struct wmOperatorType *ot) ATTR_WARN_UNUSED_RESULT
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT