Blender
V4.3
source
blender
nodes
NOD_node_extra_info.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2005 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
BLI_vector.hh
"
8
9
#include "
UI_interface_c.hh
"
10
11
namespace
blender::nodes
{
12
13
struct
NodeExtraInfoRow
{
14
std::string
text
;
15
int
icon
= 0;
16
const
char
*
tooltip
=
nullptr
;
17
18
uiButToolTipFunc
tooltip_fn
=
nullptr
;
19
void
*
tooltip_fn_arg
=
nullptr
;
20
void (*
tooltip_fn_free_arg
)(
void
*) =
nullptr
;
21
};
22
23
struct
NodeExtraInfoParams
{
24
Vector<NodeExtraInfoRow>
&
rows
;
25
const
bNode
&
node
;
26
const
bContext
&
C
;
27
};
28
29
}
// namespace blender::nodes
BLI_vector.hh
UI_interface_c.hh
uiButToolTipFunc
std::string(*)(bContext *C, void *argN, const char *tip) uiButToolTipFunc
Definition
UI_interface_c.hh:615
blender::Vector
Definition
BLI_vector.hh:65
blender::nodes
Definition
BKE_node.hh:63
bContext
Definition
blenkernel/intern/context.cc:61
bNode
Definition
DNA_node_types.h:357
blender::nodes::NodeExtraInfoParams
Definition
NOD_node_extra_info.hh:23
blender::nodes::NodeExtraInfoParams::C
const bContext & C
Definition
NOD_node_extra_info.hh:26
blender::nodes::NodeExtraInfoParams::rows
Vector< NodeExtraInfoRow > & rows
Definition
NOD_node_extra_info.hh:24
blender::nodes::NodeExtraInfoParams::node
const bNode & node
Definition
NOD_node_extra_info.hh:25
blender::nodes::NodeExtraInfoRow
Definition
NOD_node_extra_info.hh:13
blender::nodes::NodeExtraInfoRow::icon
int icon
Definition
NOD_node_extra_info.hh:15
blender::nodes::NodeExtraInfoRow::tooltip_fn_arg
void * tooltip_fn_arg
Definition
NOD_node_extra_info.hh:19
blender::nodes::NodeExtraInfoRow::tooltip_fn
uiButToolTipFunc tooltip_fn
Definition
NOD_node_extra_info.hh:18
blender::nodes::NodeExtraInfoRow::text
std::string text
Definition
NOD_node_extra_info.hh:14
blender::nodes::NodeExtraInfoRow::tooltip
const char * tooltip
Definition
NOD_node_extra_info.hh:16
blender::nodes::NodeExtraInfoRow::tooltip_fn_free_arg
void(* tooltip_fn_free_arg)(void *)
Definition
NOD_node_extra_info.hh:20
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0