Add rendering implementation for LWJGL
This commit is contained in:
1 parent
b01fe59dbb
commit
dc59810566
59 files changed
+6728
-16
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package imgui.enums;
|
||||
|
||||
/**
|
||||
* Flags for ImGui::IsWindowFocused()
|
||||
*/
|
||||
public class ImGuiFocusedFlags {
|
||||
public static ImGuiFocusedFlags None = new ImGuiFocusedFlags(0);
|
||||
public static ImGuiFocusedFlags ChildWindows = new ImGuiFocusedFlags(1 << 0);
|
||||
public static ImGuiFocusedFlags RootWindow = new ImGuiFocusedFlags(1 << 1);
|
||||
public static ImGuiFocusedFlags AnyWindow = new ImGuiFocusedFlags(1 << 2);
|
||||
public static ImGuiFocusedFlags RootAndChildWindows = new ImGuiFocusedFlags(RootWindow.getValue() | ChildWindows.getValue());
|
||||
private static ImGuiFocusedFlags Custom = new ImGuiFocusedFlags(0);
|
||||
int value;
|
||||
|
||||
private ImGuiFocusedFlags(int code) {
|
||||
value = code;
|
||||
}
|
||||
|
||||
public ImGuiFocusedFlags or(ImGuiFocusedFlags otherEnum) {
|
||||
ImGuiFocusedFlags.Custom.value = value | otherEnum.value;
|
||||
return ImGuiFocusedFlags.Custom;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user