Blender V5.3
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
8
9#pragma once
10
11#include "BLI_vector.hh"
12
13#include "UI_interface_c.hh"
14
15namespace blender::nodes {
16
18 std::string text;
19 int icon = 0;
21
23 void *tooltip_fn_arg = nullptr;
24 void (*tooltip_fn_free_arg)(void *) = nullptr;
25 void *(*tooltip_fn_copy_arg)(void *) = nullptr;
26
27 std::function<void(ui::Button &)> set_execute_fn;
28};
29
36
37} // namespace blender::nodes
std::string(*)(bContext *C, void *argN, StringRef tip) ButtonToolTipFunc
Vector< NodeExtraInfoRow > & rows
std::function< void(ui::Button &)> set_execute_fn