Blender  V3.3
Functions
transform_draw_cursors.h File Reference

Go to the source code of this file.

Functions

bool transform_draw_cursor_poll (struct bContext *C)
 
void transform_draw_cursor_draw (struct bContext *C, int x, int y, void *customdata)
 

Function Documentation

◆ transform_draw_cursor_draw()

void transform_draw_cursor_draw ( struct bContext C,
int  x,
int  y,
void customdata 
)

Cursor and help-line drawing, callback for: WM_paint_cursor_activate

◆ transform_draw_cursor_poll()

bool transform_draw_cursor_poll ( struct bContext C)

Poll callback for cursor drawing: WM_paint_cursor_activate

Definition at line 75 of file transform_draw_cursors.c.

References C, CTX_wm_region(), ELEM, ARegion::regiontype, RGN_TYPE_PREVIEW, and RGN_TYPE_WINDOW.

Referenced by initTransform().