Skip to content

Commit

Permalink
tree push by id
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Dec 10, 2023
1 parent a55ff84 commit eccad2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ class ImGui {
static bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) { return im::TreeNodeExV(str_id, flags, fmt, args); }
static bool TreeNodeExV_2(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) { return im::TreeNodeExV(ptr_id, flags, fmt, args); }
static void TreePush(const char* str_id) { im::TreePush(str_id); }
// static void TreePush_2(const void* ptr_id) { im::TreePush(ptr_id); }
static void TreePush_2(int id) { im::TreePush(&id); }
static void TreePop() { im::TreePop(); }
static float GetTreeNodeToLabelSpacing() { return im::GetTreeNodeToLabelSpacing(); }
static bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0) { return im::CollapsingHeader(label, flags); }
Expand Down
2 changes: 1 addition & 1 deletion imgui/generator/src/main/cpp/imgui.idl
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ interface ImGui {
//// static boolean TreeNodeExV([Const] DOMString str_id, ImGuiTreeNodeFlags flags, [Const] DOMString fmt, DOMString args);
//// static boolean TreeNodeExV_2([Const] any ptr_id, ImGuiTreeNodeFlags flags, [Const] DOMString fmt, DOMString args);
static void TreePush([Const] DOMString str_id);
// static void TreePush_2([Const] any ptr_id);
static void TreePush_2(long id);
static void TreePop();
static float GetTreeNodeToLabelSpacing();
static boolean CollapsingHeader([Const] DOMString label, optional ImGuiTreeNodeFlags flags);
Expand Down

0 comments on commit eccad2b

Please sign in to comment.