Blender
V5.0
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
13
#include "
DNA_listBase.h
"
14
15
#include "
RNA_types.hh
"
16
17
struct
ARegionType
;
18
struct
ID
;
19
struct
SpaceProperties
;
20
struct
Tex
;
21
struct
bContext
;
22
struct
bContextDataResult
;
23
struct
bNode
;
24
struct
bNodeSocket
;
25
struct
bNodeTree
;
26
struct
wmOperatorType
;
27
28
struct
SpaceProperties_Runtime
{
30
char
search_string
[
UI_MAX_NAME_STR
];
35
BLI_bitmap
*
tab_search_results
;
36
};
37
38
/* context data */
39
40
struct
ButsContextPath
{
41
PointerRNA
ptr
[8];
42
int
len
;
43
int
flag
;
44
int
collection_ctx
;
45
};
46
47
struct
ButsTextureUser
{
48
ButsTextureUser
*
next
, *
prev
;
49
50
ID
*
id
;
51
52
PointerRNA
ptr
;
53
PropertyRNA
*
prop
;
54
55
bNodeTree
*
ntree
;
56
bNode
*
node
;
57
bNodeSocket
*
socket
;
58
59
const
char
*
category
;
60
int
icon
;
61
const
char
*
name
;
62
63
int
index
;
64
};
65
66
struct
ButsContextTexture
{
67
ListBase
users
;
68
69
struct
Tex
*
texture
;
70
71
struct
ButsTextureUser
*
user
;
72
int
index
;
73
};
74
75
/* internal exports only */
76
77
/* `buttons_context.cc` */
78
79
void
buttons_context_compute
(
const
bContext
*
C
,
SpaceProperties
*sbuts);
80
int
buttons_context
(
const
bContext
*
C
,
const
char
*member,
bContextDataResult
*
result
);
81
void
buttons_context_register
(
ARegionType
*art);
82
ID
*
buttons_context_id_path
(
const
bContext
*
C
);
83
84
extern
"C"
const
char
*
buttons_context_dir
[];
/* doc access */
85
86
/* `buttons_texture.cc` */
87
88
void
buttons_texture_context_compute
(
const
bContext
*
C
,
SpaceProperties
*sbuts);
89
90
/* `buttons_ops.cc` */
91
92
void
BUTTONS_OT_start_filter
(
wmOperatorType
*
ot
);
93
void
BUTTONS_OT_clear_filter
(
wmOperatorType
*
ot
);
94
void
BUTTONS_OT_toggle_pin
(
wmOperatorType
*
ot
);
95
void
BUTTONS_OT_file_browse
(
wmOperatorType
*
ot
);
99
void
BUTTONS_OT_directory_browse
(
wmOperatorType
*
ot
);
100
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_MAX_NAME_STR
#define UI_MAX_NAME_STR
Definition
UI_interface_types.hh:18
buttons_context_dir
const char * buttons_context_dir[]
Definition
buttons_context.cc:878
buttons_context
int buttons_context(const bContext *C, const char *member, bContextDataResult *result)
Definition
buttons_context.cc:922
buttons_context_compute
void buttons_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_context.cc:758
buttons_context_register
void buttons_context_register(ARegionType *art)
Definition
buttons_context.cc:1336
BUTTONS_OT_toggle_pin
void BUTTONS_OT_toggle_pin(wmOperatorType *ot)
Definition
buttons_ops.cc:128
BUTTONS_OT_context_menu
void BUTTONS_OT_context_menu(wmOperatorType *ot)
Definition
buttons_ops.cc:159
BUTTONS_OT_directory_browse
void BUTTONS_OT_directory_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:484
BUTTONS_OT_clear_filter
void BUTTONS_OT_clear_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:89
buttons_texture_context_compute
void buttons_texture_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_texture.cc:367
BUTTONS_OT_file_browse
void BUTTONS_OT_file_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:452
buttons_context_id_path
ID * buttons_context_id_path(const bContext *C)
Definition
buttons_context.cc:1348
BUTTONS_OT_start_filter
void BUTTONS_OT_start_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:64
ARegionType
Definition
BKE_screen.hh:209
ButsContextPath
Definition
buttons_intern.hh:40
ButsContextPath::flag
int flag
Definition
buttons_intern.hh:43
ButsContextPath::len
int len
Definition
buttons_intern.hh:42
ButsContextPath::collection_ctx
int collection_ctx
Definition
buttons_intern.hh:44
ButsContextPath::ptr
PointerRNA ptr[8]
Definition
buttons_intern.hh:41
ButsContextTexture
Definition
buttons_intern.hh:66
ButsContextTexture::user
struct ButsTextureUser * user
Definition
buttons_intern.hh:71
ButsContextTexture::users
ListBase users
Definition
buttons_intern.hh:67
ButsContextTexture::index
int index
Definition
buttons_intern.hh:72
ButsContextTexture::texture
struct Tex * texture
Definition
buttons_intern.hh:69
ButsTextureUser
Definition
buttons_intern.hh:47
ButsTextureUser::node
bNode * node
Definition
buttons_intern.hh:56
ButsTextureUser::id
ID * id
Definition
buttons_intern.hh:50
ButsTextureUser::category
const char * category
Definition
buttons_intern.hh:59
ButsTextureUser::icon
int icon
Definition
buttons_intern.hh:60
ButsTextureUser::prev
ButsTextureUser * prev
Definition
buttons_intern.hh:48
ButsTextureUser::next
ButsTextureUser * next
Definition
buttons_intern.hh:48
ButsTextureUser::ntree
bNodeTree * ntree
Definition
buttons_intern.hh:55
ButsTextureUser::name
const char * name
Definition
buttons_intern.hh:61
ButsTextureUser::socket
bNodeSocket * socket
Definition
buttons_intern.hh:57
ButsTextureUser::index
int index
Definition
buttons_intern.hh:63
ButsTextureUser::ptr
PointerRNA ptr
Definition
buttons_intern.hh:52
ButsTextureUser::prop
PropertyRNA * prop
Definition
buttons_intern.hh:53
ID
Definition
DNA_ID.h:414
ListBase
Definition
DNA_listBase.h:32
PointerRNA
Definition
RNA_types.hh:50
PropertyRNA
Definition
rna_internal_types.hh:363
SpaceProperties_Runtime
Definition
buttons_intern.hh:28
SpaceProperties_Runtime::tab_search_results
BLI_bitmap * tab_search_results
Definition
buttons_intern.hh:35
SpaceProperties_Runtime::search_string
char search_string[UI_MAX_NAME_STR]
Definition
buttons_intern.hh:30
SpaceProperties
Definition
DNA_space_types.h:141
Tex
Definition
DNA_texture_types.h:73
bContextDataResult
Definition
blenkernel/intern/context.cc:283
bContext
Definition
blenkernel/intern/context.cc:63
bNodeSocket
Definition
DNA_node_types.h:121
bNodeTree
Definition
DNA_node_types.h:759
bNode
Definition
DNA_node_types.h:422
wmOperatorType
Definition
WM_types.hh:1031
ot
wmOperatorType * ot
Definition
wm_files.cc:4237
Generated on
for Blender by
doxygen
1.16.1