ImGui API
This commit is contained in:
1 parent
b59aea96d9
commit
fcecffa5fa
45 files changed
+6025
-3583
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package imgui;
|
||||
|
||||
public final class ImInt {
|
||||
public static ImInt TMP = new ImInt();
|
||||
|
||||
int[] data = new int[]{0};
|
||||
|
||||
public ImInt() {
|
||||
}
|
||||
|
||||
public ImInt(int value) {
|
||||
setValue(value);
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return this.data[0];
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
this.data[0] = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.valueOf(getValue());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user