Blender V5.3
ED_space_api.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct ARegion;
14struct ARegionType;
15struct bContext;
16
17/* Only called once on startup. storage is global in BKE kernel listbase. */
20
21/* The plugin-able API for export to editors. */
22
23/* -------------------------------------------------------------------- */
28
31void ED_spacetype_ipo();
38void ED_spacetype_nla();
47
48namespace ed::vse {
50}
51
52namespace ed::spreadsheet {
54}
55
57
58/* -------------------------------------------------------------------- */
62
63void ED_file_init();
64void ED_file_exit();
65
67
68#define REGION_DRAW_POST_VIEW 0
69#define REGION_DRAW_POST_PIXEL 1
70#define REGION_DRAW_PRE_VIEW 2
71#define REGION_DRAW_BACKDROP 3
72
73void *ED_region_draw_cb_activate(ARegionType *art,
74 void (*draw)(const bContext *, ARegion *, void *),
75 void *customdata,
76 int type);
77void ED_region_draw_cb_draw(const bContext *C, ARegion *region, int type);
78void ED_region_surface_draw_cb_draw(const bContext *C, ARegionType *art, int type);
79bool ED_region_draw_cb_exit(ARegionType *art, void *handle);
80void ED_region_draw_cb_remove_by_type(ARegionType *art, void *draw_fn, void (*free)(void *));
81
82} // namespace blender
#define C
Definition RandGen.cpp:29
void free(Subdiv *subdiv)
Definition subdiv.cc:192
BMesh Iterators.
void ED_region_surface_draw_cb_draw(const bContext *C, ARegionType *art, int type)
void ED_region_draw_cb_draw(const bContext *C, ARegion *region, int type)
void ED_spacetypes_init()
Definition spacetypes.cc:63
void ED_spacemacros_init()
void ED_spacetype_image()
void ED_spacetype_project()
void ED_spacetype_console()
void ED_file_exit()
void ED_spacetype_file()
void ED_spacetype_outliner()
void * ED_region_draw_cb_activate(ARegionType *art, void(*draw)(const bContext *, ARegion *, void *), void *customdata, int type)
void ED_spacetype_topbar()
void ED_file_init()
bool ED_region_draw_cb_exit(ARegionType *art, void *handle)
void ED_spacetype_text()
void ED_spacetype_nla()
Definition space_nla.cc:658
void ED_spacetype_action()
void ED_spacetype_buttons()
void ED_spacetype_userpref()
void ED_region_draw_cb_remove_by_type(ARegionType *art, void *draw_fn, void(*free)(void *))
void ED_spacetype_view3d()
void ED_spacetype_statusbar()
void ED_spacetype_info()
void ED_spacetype_clip()
void ED_spacetype_node()
void ED_spacetype_ipo()
void ED_spacetype_script()