Update binding API to Dear ImGui v1.75
This commit is contained in:
1 parent
14bb10f595
commit
eed23dbd39
7 files changed
+102
-51
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package imgui.enums;
|
||||
|
||||
/**
|
||||
* Identify a mouse button.
|
||||
* Those values are guaranteed to be stable and we frequently use 0/1 directly. Named enums provided for convenience.
|
||||
*/
|
||||
public final class ImGuiMouseButton {
|
||||
private ImGuiMouseButton() {
|
||||
}
|
||||
|
||||
public static final int Left = 0;
|
||||
public static final int Right = 1;
|
||||
public static final int Middle = 2;
|
||||
public static final int COUNT = 5;
|
||||
}
|
||||
@@ -17,5 +17,6 @@ public final class ImGuiMouseCursor {
|
||||
public static final int ResizeNESW = 5; // When hovering over the bottom-left corner of a window
|
||||
public static final int ResizeNWSE = 6; // When hovering over the bottom-right corner of a window
|
||||
public static final int Hand = 7; // (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
|
||||
public static final int COUNT = 8;
|
||||
public static final int NotAllowed = 8; // When hovering something with disallowed interaction. Usually a crossed circle.
|
||||
public static final int COUNT = 9;
|
||||
}
|
||||
Reference in new issue
Block a user