Class EditorAutocomplete
java.lang.Object
de.luckymcdev.foundryengine.client.imgui.text.editor.EditorAutocomplete
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleKeyboard(EditorCoordinates cursor, List<List<EditorGlyph>> lines, ImGuiCoreTextEditor editor) voidhide()booleanisMouseOver(float charWidth, float lineHeight, imgui.ImVec2 editorPos, EditorCoordinates cursor, float textStart, float scrollY, float panelHeight) booleanbooleanrender(float charWidth, float lineHeight, imgui.ImVec2 editorPos, EditorCoordinates cursor, float textStart, float scrollY, float panelHeight, List<List<EditorGlyph>> lines, ImGuiCoreTextEditor editor) voidupdate(EditorCoordinates cursor, List<List<EditorGlyph>> lines) voidupdate(EditorCoordinates cursor, List<List<EditorGlyph>> lines, boolean force)
-
Constructor Details
-
EditorAutocomplete
-
-
Method Details
-
isVisible
public boolean isVisible() -
hide
public void hide() -
update
-
update
-
handleKeyboard
public boolean handleKeyboard(EditorCoordinates cursor, List<List<EditorGlyph>> lines, ImGuiCoreTextEditor editor) -
isMouseOver
public boolean isMouseOver(float charWidth, float lineHeight, imgui.ImVec2 editorPos, EditorCoordinates cursor, float textStart, float scrollY, float panelHeight) -
render
public boolean render(float charWidth, float lineHeight, imgui.ImVec2 editorPos, EditorCoordinates cursor, float textStart, float scrollY, float panelHeight, List<List<EditorGlyph>> lines, ImGuiCoreTextEditor editor)
-