Skip to content

Commit

Permalink
[API] Add missing ImNodes::EditorContextGetPanning (#152)
Browse files Browse the repository at this point in the history
* Add editorContextGetPanning to ImNodes binding

* make editorContextGetPanning call by reference

* Fix typo
  • Loading branch information
virusbear authored Dec 26, 2022
1 parent cb381e9 commit c71ed6f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,11 @@ public static boolean isLinkDestroyed(final ImInt linkId) {
ImNodes::EditorContextResetPanning(ImVec2(x, y));
*/

public static native void editorContextGetPanning(ImVec2 result); /*
ImVec2 dst = ImNodes::EditorContextGetPanning();
Jni::ImVec2Cpy(env, &dst, result);
*/

public static native void editorMoveToNode(int node); /*
ImNodes::EditorContextMoveToNode(node);
*/
Expand Down

0 comments on commit c71ed6f

Please sign in to comment.