Fix build for windows
This commit is contained in:
1 parent
ed3acd1716
commit
1235a8d478
2 files changed
+6
-6
No files matched your search
@@ -878,11 +878,11 @@ public final class ImGui {
|
||||
*/
|
||||
|
||||
public static native void pushStyleColor(int imGuiCol, float r, float g, float b, float a); /*
|
||||
ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor(r, g, b, a));
|
||||
ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor((float)r, (float)g, (float)b, (float)a));
|
||||
*/
|
||||
|
||||
public static native void pushStyleColor(int imGuiCol, int r, int g, int b, int a); /*
|
||||
ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor(r, g, b, a));
|
||||
ImGui::PushStyleColor(imGuiCol, (ImU32)ImColor((int)r, (int)g, (int)b, (int)a));
|
||||
*/
|
||||
|
||||
public static native void pushStyleColor(int imGuiCol, int col); /*
|
||||
@@ -1335,14 +1335,14 @@ public final class ImGui {
|
||||
* Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
|
||||
*/
|
||||
public static native void textColored(float r, float g, float b, float a, String text); /*
|
||||
ImGui::TextColored(ImColor(r, g, b, a), text, NULL);
|
||||
ImGui::TextColored(ImColor((float)r, (float)g, (float)b, (float)a), text, NULL);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
|
||||
*/
|
||||
public static native void textColored(int r, int g, int b, int a, String text); /*
|
||||
ImGui::TextColored(ImColor(r, g, b, a), text, NULL);
|
||||
ImGui::TextColored(ImColor((int)r, (int)g, (int)b, (int)a), text, NULL);
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -602,11 +602,11 @@ public final class ImGuiStyle implements ImGuiDestroyableStruct {
|
||||
*/
|
||||
|
||||
public native void setColor(int imGuiCol, float r, float g, float b, float a); /*
|
||||
IMGUI_STYLE->Colors[imGuiCol] = ImColor(r, g, b, a);
|
||||
IMGUI_STYLE->Colors[imGuiCol] = ImColor((float)r, (float)g, (float)b, (float)a);
|
||||
*/
|
||||
|
||||
public native void setColor(int imGuiCol, int r, int g, int b, int a); /*
|
||||
IMGUI_STYLE->Colors[imGuiCol] = ImColor(r, g, b, a);
|
||||
IMGUI_STYLE->Colors[imGuiCol] = ImColor((int)r, (int)g, (int)b, (int)a);
|
||||
*/
|
||||
|
||||
public native void setColor(int imGuiCol, int col); /*
|
||||
|
||||
Reference in new issue
Block a user