Blender  V3.3
blank3d_gizmo.c File Reference
#include "BKE_context.h"
#include "ED_gizmo_library.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

Blank Gizmo

Gizmo to use as a fallback (catch events).

static void gizmo_blank_draw (const bContext *UNUSED(C), wmGizmo *UNUSED(gz))
 
static int gizmo_blank_invoke (bContext *UNUSED(C), wmGizmo *UNUSED(gz), const wmEvent *UNUSED(event))
 
static int gizmo_blank_test_select (bContext *UNUSED(C), wmGizmo *UNUSED(gz), const int UNUSED(mval[2]))
 
Blank Gizmo API
static void GIZMO_GT_blank_3d (wmGizmoType *gzt)
 
void ED_gizmotypes_blank_3d (void)
 

Function Documentation

◆ ED_gizmotypes_blank_3d()

void ED_gizmotypes_blank_3d ( void  )

Definition at line 57 of file blank3d_gizmo.c.

References GIZMO_GT_blank_3d(), and WM_gizmotype_append().

Referenced by ED_spacetypes_init().

◆ gizmo_blank_draw()

static void gizmo_blank_draw ( const bContext UNUSEDC,
wmGizmo UNUSEDgz 
)
static

Definition at line 21 of file blank3d_gizmo.c.

Referenced by GIZMO_GT_blank_3d().

◆ gizmo_blank_invoke()

static int gizmo_blank_invoke ( bContext UNUSEDC,
wmGizmo UNUSEDgz,
const wmEvent UNUSEDevent 
)
static

Definition at line 26 of file blank3d_gizmo.c.

References OPERATOR_RUNNING_MODAL.

Referenced by GIZMO_GT_blank_3d().

◆ gizmo_blank_test_select()

static int gizmo_blank_test_select ( bContext UNUSEDC,
wmGizmo UNUSEDgz,
const int   UNUSEDmval[2] 
)
static

Definition at line 33 of file blank3d_gizmo.c.

Referenced by GIZMO_GT_blank_3d().

◆ GIZMO_GT_blank_3d()

static void GIZMO_GT_blank_3d ( wmGizmoType gzt)
static