Add docs about new functional

This commit is contained in:
SpaiR committed 2020-01-01 13:49:20 +03:00
1 parent fbf1c0d1c2
commit fc74bef009
3 files changed
+14 -10

No files matched your search

@@ -5,14 +5,15 @@ package imgui;
*/
public final class ImGuiInputTextData {
/**
* If not empty, then other chars which are different from provided will be filtered during the {@link ImGui#InputText(String, ImString)}
* If not empty, then other chars which are different from provided will be filtered during the {@link ImGui#InputText}
* and {@link ImGui#InputTextMultiline} methods.
*/
public String allowedChars = "";
/**
* If true, then string will be resized during the the {@link ImGui#InputText(String, ImString)} and {@link ImGui#InputTextMultiline} methods.
* If true, then string will be resized during the the {@link ImGui#InputText} and {@link ImGui#InputTextMultiline} methods.
* Alternatively you can provide {@link imgui.enums.ImGuiInputTextFlags#CallbackResize} flag to the input text widgets to enable string resizing.
* Resize factor of the string could be modified by changing {@link ImString#resizeFactor} field.
*/
public boolean isResizable;
@@ -3,7 +3,7 @@ package imgui;
import java.util.Objects;
/**
* Wrapper for {@link String} to use inside of ImGui input widgets.
* Wrapper for {@link String} to use inside of th Dear ImGui input widgets.
*/
public final class ImString {
private static final short DEFAULT_LENGTH = 100;
@@ -66,7 +66,7 @@ public final class ImString {
}
/**
* Get the size of the data buffer. Buffer size will always have '+1' to its size, since it's used by the Dear ImGui to draw a caret.
* Get the size of the data buffer. Buffer size will always have '+1' to its size, since it's used by the Dear ImGui to draw a caret char.
* @return size of the data buffer
*/
public int getBufferSize() {