Package foundry.veil.editor
Class TextureEditor
java.lang.Object
foundry.veil.editor.SingleWindowEditor
foundry.veil.editor.TextureEditor
- All Implemented Interfaces:
Editor,AutoCloseable,org.lwjgl.system.NativeResource
-
Field Summary
Fields inherited from class foundry.veil.editor.SingleWindowEditor
open -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonHide()Called when this editor is no longer open.voidrender()Renders this editor to the screen.protected voidAdds all components inside the window.voidCalled just before the imgui state is drawn to the screenvoidRenders elements into the menu bar.Methods inherited from class foundry.veil.editor.SingleWindowEditor
getWindowTitle, onShowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
TextureEditor
public TextureEditor()
-
-
Method Details
-
getDisplayName
- Returns:
- The visible display name of this editor
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowEditorAdds all components inside the window.- Specified by:
renderComponentsin classSingleWindowEditor
-
render
public void render()Description copied from interface:EditorRenders this editor to the screen.- Specified by:
renderin interfaceEditor- Overrides:
renderin classSingleWindowEditor
-
renderLast
public void renderLast()Description copied from interface:EditorCalled just before the imgui state is drawn to the screen -
renderMenuBar
public void renderMenuBar()Description copied from interface:EditorRenders elements into the menu bar. Only called ifEditor.isMenuBarEnabled()istrue. -
isMenuBarEnabled
public boolean isMenuBarEnabled()- Returns:
- Whether this editor should draw into the menu bar
-
onHide
public void onHide()Description copied from interface:EditorCalled when this editor is no longer open.
-