Blender
V2.93
source
blender
blenkernel
BKE_blender_user_menu.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
17
#pragma once
18
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
struct
ListBase
;
28
struct
bUserMenu
;
29
struct
bUserMenuItem
;
30
31
struct
bUserMenu
*
BKE_blender_user_menu_find
(
struct
ListBase
*lb,
32
char
space_type
,
33
const
char
*
context
);
34
struct
bUserMenu
*
BKE_blender_user_menu_ensure
(
struct
ListBase
*lb,
35
char
space_type
,
36
const
char
*
context
);
37
38
struct
bUserMenuItem
*
BKE_blender_user_menu_item_add
(
struct
ListBase
*lb,
int
type
);
39
void
BKE_blender_user_menu_item_free
(
struct
bUserMenuItem
*umi);
40
void
BKE_blender_user_menu_item_free_list
(
struct
ListBase
*lb);
41
42
#ifdef __cplusplus
43
}
44
#endif
BKE_blender_user_menu_ensure
struct bUserMenu * BKE_blender_user_menu_ensure(struct ListBase *lb, char space_type, const char *context)
Definition:
blender_user_menu.c:49
BKE_blender_user_menu_item_free_list
void BKE_blender_user_menu_item_free_list(struct ListBase *lb)
Definition:
blender_user_menu.c:105
BKE_blender_user_menu_item_free
void BKE_blender_user_menu_item_free(struct bUserMenuItem *umi)
Definition:
blender_user_menu.c:94
BKE_blender_user_menu_find
struct bUserMenu * BKE_blender_user_menu_find(struct ListBase *lb, char space_type, const char *context)
Definition:
blender_user_menu.c:39
BKE_blender_user_menu_item_add
struct bUserMenuItem * BKE_blender_user_menu_item_add(struct ListBase *lb, int type)
Definition:
blender_user_menu.c:67
type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Definition:
GPU_legacy_stubs.h:167
context
struct SELECTID_Context context
Definition:
select_engine.c:47
ListBase
Definition:
DNA_listBase.h:46
bUserMenuItem
Definition:
DNA_userdef_types.h:538
bUserMenu
Definition:
DNA_userdef_types.h:528
bUserMenu::space_type
char space_type
Definition:
DNA_userdef_types.h:530
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1