@@ -878,11 +878,11 @@ public static void pushFont(ImFont font) {
878
878
*/
879
879
880
880
public static native void pushStyleColor (int imGuiCol , float r , float g , float b , float a ); /*
881
- ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor(r, g, b, a));
881
+ ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor((float) r, (float) g, (float) b, (float) a));
882
882
*/
883
883
884
884
public static native void pushStyleColor (int imGuiCol , int r , int g , int b , int a ); /*
885
- ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor(r, g, b, a));
885
+ ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor((int) r, (int) g, (int) b, (int) a));
886
886
*/
887
887
888
888
public static native void pushStyleColor (int imGuiCol , int col ); /*
@@ -1335,14 +1335,14 @@ public static ImFont getFont() {
1335
1335
* Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
1336
1336
*/
1337
1337
public static native void textColored (float r , float g , float b , float a , String text ); /*
1338
- ImGui::TextColored(ImColor(r, g, b, a), text, NULL);
1338
+ ImGui::TextColored(ImColor((float) r, (float) g, (float) b, (float) a), text, NULL);
1339
1339
*/
1340
1340
1341
1341
/**
1342
1342
* Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
1343
1343
*/
1344
1344
public static native void textColored (int r , int g , int b , int a , String text ); /*
1345
- ImGui::TextColored(ImColor(r, g, b, a), text, NULL);
1345
+ ImGui::TextColored(ImColor((int) r, (int) g, (int) b, (int) a), text, NULL);
1346
1346
*/
1347
1347
1348
1348
/**
0 commit comments