Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Bindings: ImNodes selection methods #161

Closed
brunopj1 opened this issue Mar 1, 2023 · 2 comments
Closed

Missing Bindings: ImNodes selection methods #161

brunopj1 opened this issue Mar 1, 2023 · 2 comments
Labels
missing binding Some of the original library API is missing

Comments

@brunopj1
Copy link
Contributor

brunopj1 commented Mar 1, 2023

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 brunopj1 added the missing binding Some of the original library API is missing label Mar 1, 2023
@brunopj1 brunopj1 changed the title Missing Bindings: Missing Bindings: ImNodes selection methods Mar 2, 2023
@brunopj1
Copy link
Contributor Author

brunopj1 commented Mar 2, 2023

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
Copy link
Owner

SpaiR commented Mar 9, 2023

resolved in #167

@SpaiR SpaiR closed this as completed Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing binding Some of the original library API is missing
Projects
None yet
Development

No branches or pull requests

2 participants