SpaiR / imgui-java

JNI based binding for Dear ImGui
MIT License
551 stars 90 forks source link

Missing Bindings: ImNodes selection methods #161

Closed brunopj1 closed 1 year ago

brunopj1 commented 1 year ago

Version

1.86.8

What part of the binding has gaps?

ImNodes

What is missing?

Some ImNodes bindings related to node / link selection are missing:

ImNodes::IsNodeSelected(int); ImNodes::IsLinkSelected(int);

ImNodes::SelectNode(int); ImNodes::SelectLink(int); ImNodes::ClearNodeSelection(int) ImNodes::ClearLinkSelection(int)

The first two functions aren't that important, because the same behavior can be achieved by getting the entire selection. As for the last four functions, there is no way at the moment to manually select or deselect a node or link.

brunopj1 commented 1 year ago

I just found out that there's another binding missing for ImNodes:

ImNodes::PushStyleVar(int, ImVec2)

There is a version available for pushing float variables, but the ImVec2 version is missing.

SpaiR commented 1 year ago

resolved in #167