Blender  V3.3
Macros | Functions | Variables
rna_wm_api.c File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include "BLI_utildefines.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "UI_interface.h"
#include "wm_cursors.h"
#include "wm_event_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "rna_internal.h"

Go to the source code of this file.

Macros

#define WM_GEN_INVOKE_EVENT   (1 << 0)
 
#define WM_GEN_INVOKE_SIZE   (1 << 1)
 
#define WM_GEN_INVOKE_RETURN   (1 << 2)
 

Functions

static void rna_generic_op_invoke (FunctionRNA *func, int flag)
 
void RNA_api_window (StructRNA *srna)
 
void RNA_api_wm (StructRNA *srna)
 
void RNA_api_operator (StructRNA *srna)
 
void RNA_api_macro (StructRNA *srna)
 
void RNA_api_keyconfig (StructRNA *UNUSED(srna))
 
void RNA_api_keymap (StructRNA *srna)
 
void RNA_api_keymapitem (StructRNA *srna)
 
void RNA_api_keymapitems (StructRNA *srna)
 
void RNA_api_keymaps (StructRNA *srna)
 
void RNA_api_keyconfigs (StructRNA *srna)
 

Variables

const EnumPropertyItem rna_enum_window_cursor_items []
 

Macro Definition Documentation

◆ WM_GEN_INVOKE_EVENT

#define WM_GEN_INVOKE_EVENT   (1 << 0)

Definition at line 684 of file rna_wm_api.c.

◆ WM_GEN_INVOKE_RETURN

#define WM_GEN_INVOKE_RETURN   (1 << 2)

Definition at line 686 of file rna_wm_api.c.

◆ WM_GEN_INVOKE_SIZE

#define WM_GEN_INVOKE_SIZE   (1 << 1)

Definition at line 685 of file rna_wm_api.c.

Function Documentation

◆ RNA_api_keyconfig()

void RNA_api_keyconfig ( StructRNA UNUSEDsrna)

Definition at line 1096 of file rna_wm_api.c.

◆ RNA_api_keyconfigs()

void RNA_api_keyconfigs ( StructRNA srna)

◆ RNA_api_keymap()

void RNA_api_keymap ( StructRNA srna)

◆ RNA_api_keymapitem()

void RNA_api_keymapitem ( StructRNA srna)

◆ RNA_api_keymapitems()

void RNA_api_keymapitems ( StructRNA srna)

◆ RNA_api_keymaps()

void RNA_api_keymaps ( StructRNA srna)

◆ RNA_api_macro()

void RNA_api_macro ( StructRNA srna)

◆ RNA_api_operator()

void RNA_api_operator ( StructRNA srna)

◆ RNA_api_window()

void RNA_api_window ( StructRNA srna)

◆ RNA_api_wm()

void RNA_api_wm ( StructRNA srna)

◆ rna_generic_op_invoke()

static void rna_generic_op_invoke ( FunctionRNA func,
int  flag 
)
static

Variable Documentation

◆ rna_enum_window_cursor_items

const EnumPropertyItem rna_enum_window_cursor_items[]
Initial value:
= {
{WM_CURSOR_DEFAULT, "DEFAULT", 0, "Default", ""},
{WM_CURSOR_NONE, "NONE", 0, "None", ""},
{WM_CURSOR_WAIT, "WAIT", 0, "Wait", ""},
{WM_CURSOR_EDIT, "CROSSHAIR", 0, "Crosshair", ""},
{WM_CURSOR_X_MOVE, "MOVE_X", 0, "Move-X", ""},
{WM_CURSOR_Y_MOVE, "MOVE_Y", 0, "Move-Y", ""},
{WM_CURSOR_KNIFE, "KNIFE", 0, "Knife", ""},
{WM_CURSOR_TEXT_EDIT, "TEXT", 0, "Text", ""},
{WM_CURSOR_PAINT_BRUSH, "PAINT_BRUSH", 0, "Paint Brush", ""},
{WM_CURSOR_PAINT, "PAINT_CROSS", 0, "Paint Cross", ""},
{WM_CURSOR_DOT, "DOT", 0, "Dot Cursor", ""},
{WM_CURSOR_ERASER, "ERASER", 0, "Eraser", ""},
{WM_CURSOR_HAND, "HAND", 0, "Hand", ""},
{WM_CURSOR_EW_SCROLL, "SCROLL_X", 0, "Scroll-X", ""},
{WM_CURSOR_NS_SCROLL, "SCROLL_Y", 0, "Scroll-Y", ""},
{WM_CURSOR_NSEW_SCROLL, "SCROLL_XY", 0, "Scroll-XY", ""},
{WM_CURSOR_EYEDROPPER, "EYEDROPPER", 0, "Eyedropper", ""},
{WM_CURSOR_PICK_AREA, "PICK_AREA", 0, "Pick Area", ""},
{WM_CURSOR_STOP, "STOP", 0, "Stop", ""},
{WM_CURSOR_COPY, "COPY", 0, "Copy", ""},
{WM_CURSOR_CROSS, "CROSS", 0, "Cross", ""},
{WM_CURSOR_MUTE, "MUTE", 0, "Mute", ""},
{WM_CURSOR_ZOOM_IN, "ZOOM_IN", 0, "Zoom In", ""},
{WM_CURSOR_ZOOM_OUT, "ZOOM_OUT", 0, "Zoom Out", ""},
{0, NULL, 0, NULL, NULL},
}
@ WM_CURSOR_WAIT
Definition: wm_cursors.h:20
@ WM_CURSOR_COPY
Definition: wm_cursors.h:23
@ WM_CURSOR_HAND
Definition: wm_cursors.h:24
@ WM_CURSOR_NSEW_SCROLL
Definition: wm_cursors.h:51
@ WM_CURSOR_CROSS
Definition: wm_cursors.h:26
@ WM_CURSOR_DEFAULT
Definition: wm_cursors.h:18
@ WM_CURSOR_PAINT
Definition: wm_cursors.h:27
@ WM_CURSOR_Y_MOVE
Definition: wm_cursors.h:39
@ WM_CURSOR_PICK_AREA
Definition: wm_cursors.h:61
@ WM_CURSOR_TEXT_EDIT
Definition: wm_cursors.h:19
@ WM_CURSOR_PAINT_BRUSH
Definition: wm_cursors.h:33
@ WM_CURSOR_NS_SCROLL
Definition: wm_cursors.h:52
@ WM_CURSOR_DOT
Definition: wm_cursors.h:28
@ WM_CURSOR_ZOOM_OUT
Definition: wm_cursors.h:56
@ WM_CURSOR_EDIT
Definition: wm_cursors.h:22
@ WM_CURSOR_ZOOM_IN
Definition: wm_cursors.h:55
@ WM_CURSOR_KNIFE
Definition: wm_cursors.h:31
@ WM_CURSOR_STOP
Definition: wm_cursors.h:21
@ WM_CURSOR_EYEDROPPER
Definition: wm_cursors.h:35
@ WM_CURSOR_ERASER
Definition: wm_cursors.h:34
@ WM_CURSOR_EW_SCROLL
Definition: wm_cursors.h:53
@ WM_CURSOR_MUTE
Definition: wm_cursors.h:59
@ WM_CURSOR_NONE
Definition: wm_cursors.h:58
@ WM_CURSOR_X_MOVE
Definition: wm_cursors.h:38

Definition at line 32 of file rna_wm_api.c.

Referenced by RNA_api_window(), RNA_api_workspace_tool(), and rna_def_operator_common().