Blender V4.3
gpencil_ops.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2009 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#include <cstddef>
10#include <cstdio>
11#include <cstdlib>
12
13#include "BLI_sys_types.h"
14
15#include "BKE_context.hh"
16#include "BKE_paint.hh"
17
18#include "DNA_brush_types.h"
20#include "DNA_object_types.h"
21#include "DNA_screen_types.h"
22#include "DNA_space_types.h"
23
24#include "WM_api.hh"
25#include "WM_toolsystem.hh"
26#include "WM_types.hh"
27
28#include "RNA_access.hh"
29
30#include "ED_gpencil_legacy.hh"
31
32#include "gpencil_intern.hh"
33
35{
36 WM_keymap_ensure(keyconf, "Grease Pencil", SPACE_EMPTY, RGN_TYPE_WINDOW);
37}
38
Object is a sort of wrapper for general info.
@ RGN_TYPE_WINDOW
@ SPACE_EMPTY
void GPENCIL_OT_annotate(wmOperatorType *ot)
void GPENCIL_OT_layer_annotation_move(wmOperatorType *ot)
void GPENCIL_OT_layer_annotation_remove(wmOperatorType *ot)
void GPENCIL_OT_annotation_add(wmOperatorType *ot)
void GPENCIL_OT_data_unlink(wmOperatorType *ot)
void GPENCIL_OT_layer_annotation_add(wmOperatorType *ot)
void GPENCIL_OT_annotation_active_frame_delete(wmOperatorType *ot)
void ED_keymap_gpencil_legacy(wmKeyConfig *keyconf)
void ED_operatortypes_gpencil_legacy()
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
Definition wm_keymap.cc:897
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))