20 float(*getter)(
const void* data,
int idx),
21 const void *
const * datas,
27 const bool* labels = NULL);
34 float(*getter)(
const void* data,
int idx),
35 const void *
const * datas,
48#define IF_IMGUI_SCOPED_TREE_NODE(label) for (ImGui::DtScopedTreeNode scopedNode(label); scopedNode.nodeActive(); scopedNode.setNodeActive(false))
49#define IF_IMGUI_SCOPED_TREE_NODE_EX(label, flags) for (ImGui::DtScopedTreeNodeEx scopedNode(label, flags); scopedNode.nodeActive(); scopedNode.setNodeActive(false))
~DtScopedTreeNodeEx()
destructor
void setNodeActive(bool flag)
set the node active value
DtScopedTreeNodeEx(const char *label, ImGuiTreeNodeFlags flags)
constructor
bool myNodeActiveOriginal
Definition imgui_user.h:94
bool nodeActive()
current node active value
bool myNodeActive
Definition imgui_user.h:93
~DtScopedTreeNode()
destructor
bool nodeActive()
current node active value
bool myNodeActive
Definition imgui_user.h:70
bool myNodeActiveOriginal
Definition imgui_user.h:71
void setNodeActive(bool flag)
set the node active value
DtScopedTreeNode(const char *label)
constructor
int ImGuiTreeNodeFlags
Definition imgui.h:205
#define IMGUI_API
Definition imgui.h:78
IMGUI_API void PlotMultiLines(const char *label, int num_datas, const char **names, const ImColor *colors, float(*getter)(const void *data, int idx), const void *const *datas, int values_count, int values_offset, float scale_min, float scale_max, ImVec2 graph_size, const bool *labels=NULL)
IMGUI_API void PlotMultiHistograms(const char *label, int num_hists, const char **names, const ImColor *colors, float(*getter)(const void *data, int idx), const void *const *datas, int values_count, float scale_min, float scale_max, ImVec2 graph_size)
IMGUI_API void ItemRowsBackground(float lineHeight=-1.0f, const ImColor &color=ImColor(20, 20, 20, 64))