Blender
V4.5
source
blender
editors
space_buttons
buttons_intern.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
11
#include "
BLI_bitmap.h
"
12
#include "
DNA_listBase.h
"
13
#include "
RNA_types.hh
"
14
#include "
UI_interface.hh
"
15
16
struct
ARegionType
;
17
struct
ID
;
18
struct
SpaceProperties
;
19
struct
Tex
;
20
struct
bContext
;
21
struct
bContextDataResult
;
22
struct
bNode
;
23
struct
bNodeSocket
;
24
struct
bNodeTree
;
25
struct
wmOperatorType
;
26
27
struct
SpaceProperties_Runtime
{
29
char
search_string
[
UI_MAX_NAME_STR
];
34
BLI_bitmap
*
tab_search_results
;
35
};
36
37
/* context data */
38
39
struct
ButsContextPath
{
40
PointerRNA
ptr
[8];
41
int
len
;
42
int
flag
;
43
int
collection_ctx
;
44
};
45
46
struct
ButsTextureUser
{
47
ButsTextureUser
*
next
, *
prev
;
48
49
ID
*
id
;
50
51
PointerRNA
ptr
;
52
PropertyRNA
*
prop
;
53
54
bNodeTree
*
ntree
;
55
bNode
*
node
;
56
bNodeSocket
*
socket
;
57
58
const
char
*
category
;
59
int
icon
;
60
const
char
*
name
;
61
62
int
index
;
63
};
64
65
struct
ButsContextTexture
{
66
ListBase
users
;
67
68
struct
Tex
*
texture
;
69
70
struct
ButsTextureUser
*
user
;
71
int
index
;
72
};
73
74
/* internal exports only */
75
76
/* `buttons_context.cc` */
77
78
void
buttons_context_compute
(
const
bContext
*
C
,
SpaceProperties
*sbuts);
79
int
buttons_context
(
const
bContext
*
C
,
const
char
*member,
bContextDataResult
*
result
);
80
void
buttons_context_register
(
ARegionType
*art);
81
ID
*
buttons_context_id_path
(
const
bContext
*
C
);
82
83
extern
"C"
const
char
*
buttons_context_dir
[];
/* doc access */
84
85
/* `buttons_texture.cc` */
86
87
void
buttons_texture_context_compute
(
const
bContext
*
C
,
SpaceProperties
*sbuts);
88
89
/* `buttons_ops.cc` */
90
91
void
BUTTONS_OT_start_filter
(
wmOperatorType
*
ot
);
92
void
BUTTONS_OT_clear_filter
(
wmOperatorType
*
ot
);
93
void
BUTTONS_OT_toggle_pin
(
wmOperatorType
*
ot
);
94
void
BUTTONS_OT_file_browse
(
wmOperatorType
*
ot
);
98
void
BUTTONS_OT_directory_browse
(
wmOperatorType
*
ot
);
99
void
BUTTONS_OT_context_menu
(
wmOperatorType
*
ot
);
BLI_bitmap.h
BLI_bitmap
unsigned int BLI_bitmap
Definition
BLI_bitmap.h:13
result
double result
Definition
BLI_expr_pylike_eval_test.cc:351
DNA_listBase.h
These structs are the foundation for all linked lists in the library system.
RNA_types.hh
C
#define C
Definition
RandGen.cpp:29
UI_interface.hh
UI_MAX_NAME_STR
#define UI_MAX_NAME_STR
Definition
UI_interface_types.hh:16
buttons_context_dir
const char * buttons_context_dir[]
Definition
buttons_context.cc:814
buttons_context
int buttons_context(const bContext *C, const char *member, bContextDataResult *result)
Definition
buttons_context.cc:856
buttons_context_compute
void buttons_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_context.cc:694
buttons_context_register
void buttons_context_register(ARegionType *art)
Definition
buttons_context.cc:1260
BUTTONS_OT_toggle_pin
void BUTTONS_OT_toggle_pin(wmOperatorType *ot)
Definition
buttons_ops.cc:127
BUTTONS_OT_context_menu
void BUTTONS_OT_context_menu(wmOperatorType *ot)
Definition
buttons_ops.cc:158
BUTTONS_OT_directory_browse
void BUTTONS_OT_directory_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:483
BUTTONS_OT_clear_filter
void BUTTONS_OT_clear_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:88
buttons_texture_context_compute
void buttons_texture_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_texture.cc:372
BUTTONS_OT_file_browse
void BUTTONS_OT_file_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:451
buttons_context_id_path
ID * buttons_context_id_path(const bContext *C)
Definition
buttons_context.cc:1272
BUTTONS_OT_start_filter
void BUTTONS_OT_start_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:63
ARegionType
Definition
BKE_screen.hh:209
ButsContextPath
Definition
buttons_intern.hh:39
ButsContextPath::flag
int flag
Definition
buttons_intern.hh:42
ButsContextPath::len
int len
Definition
buttons_intern.hh:41
ButsContextPath::collection_ctx
int collection_ctx
Definition
buttons_intern.hh:43
ButsContextPath::ptr
PointerRNA ptr[8]
Definition
buttons_intern.hh:40
ButsContextTexture
Definition
buttons_intern.hh:65
ButsContextTexture::user
struct ButsTextureUser * user
Definition
buttons_intern.hh:70
ButsContextTexture::users
ListBase users
Definition
buttons_intern.hh:66
ButsContextTexture::index
int index
Definition
buttons_intern.hh:71
ButsContextTexture::texture
struct Tex * texture
Definition
buttons_intern.hh:68
ButsTextureUser
Definition
buttons_intern.hh:46
ButsTextureUser::node
bNode * node
Definition
buttons_intern.hh:55
ButsTextureUser::id
ID * id
Definition
buttons_intern.hh:49
ButsTextureUser::category
const char * category
Definition
buttons_intern.hh:58
ButsTextureUser::icon
int icon
Definition
buttons_intern.hh:59
ButsTextureUser::prev
ButsTextureUser * prev
Definition
buttons_intern.hh:47
ButsTextureUser::next
ButsTextureUser * next
Definition
buttons_intern.hh:47
ButsTextureUser::ntree
bNodeTree * ntree
Definition
buttons_intern.hh:54
ButsTextureUser::name
const char * name
Definition
buttons_intern.hh:60
ButsTextureUser::socket
bNodeSocket * socket
Definition
buttons_intern.hh:56
ButsTextureUser::index
int index
Definition
buttons_intern.hh:62
ButsTextureUser::ptr
PointerRNA ptr
Definition
buttons_intern.hh:51
ButsTextureUser::prop
PropertyRNA * prop
Definition
buttons_intern.hh:52
ID
Definition
DNA_ID.h:404
ListBase
Definition
DNA_listBase.h:32
PointerRNA
Definition
RNA_types.hh:50
PropertyRNA
Definition
rna_internal_types.hh:334
SpaceProperties_Runtime
Definition
buttons_intern.hh:27
SpaceProperties_Runtime::tab_search_results
BLI_bitmap * tab_search_results
Definition
buttons_intern.hh:34
SpaceProperties_Runtime::search_string
char search_string[UI_MAX_NAME_STR]
Definition
buttons_intern.hh:29
SpaceProperties
Definition
DNA_space_types.h:141
Tex
Definition
DNA_texture_types.h:130
bContextDataResult
Definition
blenkernel/intern/context.cc:276
bContext
Definition
blenkernel/intern/context.cc:58
bNodeSocket
Definition
DNA_node_types.h:120
bNodeTree
Definition
DNA_node_types.h:752
bNode
Definition
DNA_node_types.h:415
wmOperatorType
Definition
WM_types.hh:1028
ot
wmOperatorType * ot
Definition
wm_files.cc:4226
Generated on
for Blender by
doxygen
1.16.1