Blender V5.0
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
11namespace blender::nodes {
12
14 std::string text;
15 int icon = 0;
17
19 void *tooltip_fn_arg = nullptr;
20 void (*tooltip_fn_free_arg)(void *) = nullptr;
21 void *(*tooltip_fn_copy_arg)(void *) = nullptr;
22
23 std::function<void(uiBut &)> set_execute_fn;
24};
25
32
33} // namespace blender::nodes
std::string(*)(bContext *C, void *argN, blender::StringRef tip) uiButToolTipFunc
Vector< NodeExtraInfoRow > & rows
std::function< void(uiBut &)> set_execute_fn