File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
imgui-binding/src/main/java/imgui Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1284,15 +1284,21 @@ public static ImFont getFont() {
1284
1284
/**
1285
1285
* Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
1286
1286
*/
1287
- public static native long getID (String strId ); /*
1287
+ public static native int getID (String strId ); /*
1288
1288
return ImGui::GetID(strId);
1289
1289
*/
1290
1290
1291
- public static native long getID (String strIdBegin , String strIdEnd ); /*
1291
+ /**
1292
+ * Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
1293
+ */
1294
+ public static native int getID (String strIdBegin , String strIdEnd ); /*
1292
1295
return ImGui::GetID(strIdBegin, strIdEnd);
1293
1296
*/
1294
1297
1295
- public static native long getID (long ptrId ); /*
1298
+ /**
1299
+ * Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
1300
+ */
1301
+ public static native int getID (long ptrId ); /*
1296
1302
return ImGui::GetID((void*)ptrId);
1297
1303
*/
1298
1304
@@ -4657,7 +4663,7 @@ public static ImDrawList getForegroundDrawListNew() {
4657
4663
4658
4664
// Color Utilities
4659
4665
4660
- public static native void colorConvertU32ToFloat4 (long in , ImVec4 dstImVec4 ); /*
4666
+ public static native void colorConvertU32ToFloat4 (int in , ImVec4 dstImVec4 ); /*
4661
4667
Jni::ImVec4Cpy(env, ImGui::ColorConvertU32ToFloat4(in), dstImVec4);
4662
4668
*/
4663
4669
You can’t perform that action at this time.
0 commit comments