Remove redundant "textEnd" argument from text methods
This commit is contained in:
1 parent
dd94f21207
commit
f555f84d2e
2 files changed
+20
-41
No files matched your search
@@ -1326,15 +1326,6 @@ public final class ImGui {
|
||||
ImGui::TextUnformatted(text);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Raw text without formatting. Roughly equivalent to Text("%s", text) but:
|
||||
* A) doesn't require null terminated string if 'textEnd' is specified,
|
||||
* B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
|
||||
*/
|
||||
public static native void textUnformatted(String text, String textEnd); /*
|
||||
ImGui::TextUnformatted(text, textEnd);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Formatted text
|
||||
* <p>
|
||||
@@ -4851,18 +4842,18 @@ public final class ImGui {
|
||||
Jni::ImVec2Cpy(env, src, dstImVec2);
|
||||
*/
|
||||
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, String textEnd); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, textEnd);
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, boolean hideTextAfterDoubleHash); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, NULL, hideTextAfterDoubleHash);
|
||||
Jni::ImVec2Cpy(env, src, dstImVec2);
|
||||
*/
|
||||
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, String textEnd, boolean hideTextAfterDoubleHas); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, textEnd, hideTextAfterDoubleHas);
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, float wrapWidth); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, NULL, false, wrapWidth);
|
||||
Jni::ImVec2Cpy(env, src, dstImVec2);
|
||||
*/
|
||||
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, String textEnd, boolean hideTextAfterDoubleHas, float wrapWidth); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, textEnd, hideTextAfterDoubleHas, wrapWidth);
|
||||
public static native void calcTextSize(ImVec2 dstImVec2, String text, boolean hideTextAfterDoubleHash, float wrapWidth); /*
|
||||
ImVec2 src = ImGui::CalcTextSize(text, NULL, hideTextAfterDoubleHash, wrapWidth);
|
||||
Jni::ImVec2Cpy(env, src, dstImVec2);
|
||||
*/
|
||||
|
||||
|
||||
Reference in new issue
Block a user