Blender  V2.93
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 "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 665 of file rna_wm_api.c.

◆ WM_GEN_INVOKE_RETURN

#define WM_GEN_INVOKE_RETURN   (1 << 2)

Definition at line 667 of file rna_wm_api.c.

◆ WM_GEN_INVOKE_SIZE

#define WM_GEN_INVOKE_SIZE   (1 << 1)

Definition at line 666 of file rna_wm_api.c.

Function Documentation

◆ RNA_api_keyconfig()

void RNA_api_keyconfig ( StructRNA UNUSEDsrna)

Definition at line 1077 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", ""},
{0, NULL, 0, NULL, NULL},
}
@ WM_CURSOR_WAIT
Definition: wm_cursors.h:36
@ WM_CURSOR_HAND
Definition: wm_cursors.h:40
@ WM_CURSOR_NSEW_SCROLL
Definition: wm_cursors.h:67
@ WM_CURSOR_DEFAULT
Definition: wm_cursors.h:34
@ WM_CURSOR_PAINT
Definition: wm_cursors.h:43
@ WM_CURSOR_Y_MOVE
Definition: wm_cursors.h:55
@ WM_CURSOR_TEXT_EDIT
Definition: wm_cursors.h:35
@ WM_CURSOR_PAINT_BRUSH
Definition: wm_cursors.h:49
@ WM_CURSOR_NS_SCROLL
Definition: wm_cursors.h:68
@ WM_CURSOR_DOT
Definition: wm_cursors.h:44
@ WM_CURSOR_EDIT
Definition: wm_cursors.h:38
@ WM_CURSOR_KNIFE
Definition: wm_cursors.h:47
@ WM_CURSOR_EYEDROPPER
Definition: wm_cursors.h:51
@ WM_CURSOR_ERASER
Definition: wm_cursors.h:50
@ WM_CURSOR_EW_SCROLL
Definition: wm_cursors.h:69
@ WM_CURSOR_NONE
Definition: wm_cursors.h:74
@ WM_CURSOR_X_MOVE
Definition: wm_cursors.h:54

Definition at line 45 of file rna_wm_api.c.

Referenced by RNA_api_window(), and RNA_api_workspace_tool().