Blender V4.3
grease_pencil_modes.cc File Reference
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_gpencil_legacy.h"
#include "BKE_paint.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "ED_grease_pencil.hh"
#include "ED_image.hh"
#include "ED_object.hh"
#include "DEG_depsgraph_query.hh"
#include "WM_api.hh"
#include "WM_message.hh"
#include "WM_toolsystem.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::greasepencil
 

Functions

void ED_operatortypes_grease_pencil_modes ()
 
Toggle Stroke Paint Mode Operator
static bool blender::ed::greasepencil::brush_cursor_poll (bContext *C)
 
static bool blender::ed::greasepencil::paintmode_toggle_poll (bContext *C)
 
static int blender::ed::greasepencil::paintmode_toggle_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_paintmode_toggle (wmOperatorType *ot)
 
Toggle Stroke Sculpt Mode Operator
static bool blender::ed::greasepencil::sculptmode_toggle_poll (bContext *C)
 
static bool blender::ed::greasepencil::sculpt_poll_view3d (bContext *C)
 
static int blender::ed::greasepencil::sculptmode_toggle_exec (bContext *C, wmOperator *op)
 
Toggle Weight Paint Mode Operator
static void blender::ed::greasepencil::GREASE_PENCIL_OT_sculptmode_toggle (wmOperatorType *ot)
 
static bool blender::ed::greasepencil::grease_pencil_poll_weight_cursor (bContext *C)
 
static bool blender::ed::greasepencil::weightmode_toggle_poll (bContext *C)
 
static int blender::ed::greasepencil::weightmode_toggle_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_weightmode_toggle (wmOperatorType *ot)
 
Toggle Vertex Paint Mode Operator
static bool blender::ed::greasepencil::grease_pencil_poll_vertex_cursor (bContext *C)
 
static bool blender::ed::greasepencil::vertexmode_toggle_poll (bContext *C)
 
static int blender::ed::greasepencil::vertexmode_toggle_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_vertexmode_toggle (wmOperatorType *ot)
 

Function Documentation

◆ ED_operatortypes_grease_pencil_modes()

void ED_operatortypes_grease_pencil_modes ( )

Definition at line 429 of file grease_pencil_modes.cc.

References WM_operatortype_append().

Referenced by ED_operatortypes_grease_pencil().