Blender
V4.3
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
9
#pragma once
10
11
#include "
BLI_bitmap.h
"
12
#include "
DNA_listBase.h
"
13
#include "
RNA_types.hh
"
14
15
struct
ARegionType
;
16
struct
ID
;
17
struct
SpaceProperties
;
18
struct
Tex
;
19
struct
bContext
;
20
struct
bContextDataResult
;
21
struct
bNode
;
22
struct
bNodeSocket
;
23
struct
bNodeTree
;
24
struct
wmOperatorType
;
25
26
struct
SpaceProperties_Runtime
{
28
char
search_string
[
UI_MAX_NAME_STR
];
33
BLI_bitmap
*
tab_search_results
;
34
};
35
36
/* context data */
37
38
struct
ButsContextPath
{
39
PointerRNA
ptr
[8];
40
int
len
;
41
int
flag
;
42
int
collection_ctx
;
43
};
44
45
struct
ButsTextureUser
{
46
ButsTextureUser
*
next
, *
prev
;
47
48
ID
*
id
;
49
50
PointerRNA
ptr
;
51
PropertyRNA
*
prop
;
52
53
bNodeTree
*
ntree
;
54
bNode
*
node
;
55
bNodeSocket
*
socket
;
56
57
const
char
*
category
;
58
int
icon
;
59
const
char
*
name
;
60
61
int
index
;
62
};
63
64
struct
ButsContextTexture
{
65
ListBase
users
;
66
67
struct
Tex
*
texture
;
68
69
struct
ButsTextureUser
*
user
;
70
int
index
;
71
};
72
73
/* internal exports only */
74
75
/* `buttons_context.cc` */
76
77
void
buttons_context_compute
(
const
bContext
*C,
SpaceProperties
*sbuts);
78
int
buttons_context
(
const
bContext
*C,
const
char
*member,
bContextDataResult
*result);
79
void
buttons_context_register
(
ARegionType
*art);
80
ID
*
buttons_context_id_path
(
const
bContext
*C);
81
82
extern
"C"
const
char
*
buttons_context_dir
[];
/* doc access */
83
84
/* `buttons_texture.cc` */
85
86
void
buttons_texture_context_compute
(
const
bContext
*C,
SpaceProperties
*sbuts);
87
88
/* `buttons_ops.cc` */
89
90
void
BUTTONS_OT_start_filter
(
wmOperatorType
*
ot
);
91
void
BUTTONS_OT_clear_filter
(
wmOperatorType
*
ot
);
92
void
BUTTONS_OT_toggle_pin
(
wmOperatorType
*
ot
);
93
void
BUTTONS_OT_file_browse
(
wmOperatorType
*
ot
);
97
void
BUTTONS_OT_directory_browse
(
wmOperatorType
*
ot
);
98
void
BUTTONS_OT_context_menu
(
wmOperatorType
*
ot
);
BLI_bitmap.h
BLI_bitmap
unsigned int BLI_bitmap
Definition
BLI_bitmap.h:17
DNA_listBase.h
These structs are the foundation for all linked lists in the library system.
RNA_types.hh
UI_MAX_NAME_STR
#define UI_MAX_NAME_STR
Definition
UI_interface_c.hh:110
buttons_context_dir
const char * buttons_context_dir[]
Definition
buttons_intern.hh:82
buttons_context
int buttons_context(const bContext *C, const char *member, bContextDataResult *result)
Definition
buttons_context.cc:855
buttons_context_compute
void buttons_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_context.cc:691
buttons_context_register
void buttons_context_register(ARegionType *art)
Definition
buttons_context.cc:1265
BUTTONS_OT_toggle_pin
void BUTTONS_OT_toggle_pin(wmOperatorType *ot)
Definition
buttons_ops.cc:124
BUTTONS_OT_context_menu
void BUTTONS_OT_context_menu(wmOperatorType *ot)
Definition
buttons_ops.cc:153
BUTTONS_OT_directory_browse
void BUTTONS_OT_directory_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:425
BUTTONS_OT_clear_filter
void BUTTONS_OT_clear_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:85
buttons_texture_context_compute
void buttons_texture_context_compute(const bContext *C, SpaceProperties *sbuts)
Definition
buttons_texture.cc:353
BUTTONS_OT_file_browse
void BUTTONS_OT_file_browse(wmOperatorType *ot)
Definition
buttons_ops.cc:399
buttons_context_id_path
ID * buttons_context_id_path(const bContext *C)
Definition
buttons_context.cc:1278
BUTTONS_OT_start_filter
void BUTTONS_OT_start_filter(wmOperatorType *ot)
Definition
buttons_ops.cc:60
ARegionType
Definition
BKE_screen.hh:189
ButsContextPath
Definition
buttons_intern.hh:38
ButsContextPath::flag
int flag
Definition
buttons_intern.hh:41
ButsContextPath::len
int len
Definition
buttons_intern.hh:40
ButsContextPath::collection_ctx
int collection_ctx
Definition
buttons_intern.hh:42
ButsContextPath::ptr
PointerRNA ptr[8]
Definition
buttons_intern.hh:39
ButsContextTexture
Definition
buttons_intern.hh:64
ButsContextTexture::user
struct ButsTextureUser * user
Definition
buttons_intern.hh:69
ButsContextTexture::users
ListBase users
Definition
buttons_intern.hh:65
ButsContextTexture::index
int index
Definition
buttons_intern.hh:70
ButsContextTexture::texture
struct Tex * texture
Definition
buttons_intern.hh:67
ButsTextureUser
Definition
buttons_intern.hh:45
ButsTextureUser::node
bNode * node
Definition
buttons_intern.hh:54
ButsTextureUser::id
ID * id
Definition
buttons_intern.hh:48
ButsTextureUser::category
const char * category
Definition
buttons_intern.hh:57
ButsTextureUser::icon
int icon
Definition
buttons_intern.hh:58
ButsTextureUser::prev
ButsTextureUser * prev
Definition
buttons_intern.hh:46
ButsTextureUser::next
ButsTextureUser * next
Definition
buttons_intern.hh:46
ButsTextureUser::ntree
bNodeTree * ntree
Definition
buttons_intern.hh:53
ButsTextureUser::name
const char * name
Definition
buttons_intern.hh:59
ButsTextureUser::socket
bNodeSocket * socket
Definition
buttons_intern.hh:55
ButsTextureUser::index
int index
Definition
buttons_intern.hh:61
ButsTextureUser::ptr
PointerRNA ptr
Definition
buttons_intern.hh:50
ButsTextureUser::prop
PropertyRNA * prop
Definition
buttons_intern.hh:51
ID
Definition
DNA_ID.h:413
ListBase
Definition
DNA_listBase.h:32
PointerRNA
Definition
RNA_types.hh:39
PropertyRNA
Definition
rna_internal_types.hh:318
SpaceProperties_Runtime
Definition
buttons_intern.hh:26
SpaceProperties_Runtime::tab_search_results
BLI_bitmap * tab_search_results
Definition
buttons_intern.hh:33
SpaceProperties_Runtime::search_string
char search_string[UI_MAX_NAME_STR]
Definition
buttons_intern.hh:28
SpaceProperties
Definition
DNA_space_types.h:166
Tex
Definition
DNA_texture_types.h:159
bContextDataResult
Definition
blenkernel/intern/context.cc:252
bContext
Definition
blenkernel/intern/context.cc:61
bNodeSocket
Definition
DNA_node_types.h:121
bNodeTree
Definition
DNA_node_types.h:675
bNode
Definition
DNA_node_types.h:357
wmOperatorType
Definition
WM_types.hh:988
ot
wmOperatorType * ot
Definition
wm_files.cc:4125
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0