Class SingleWindowEditor

java.lang.Object
foundry.veil.api.client.editor.SingleWindowEditor
All Implemented Interfaces:
Editor, AutoCloseable, org.lwjgl.system.NativeResource
Direct Known Subclasses:
DeviceInfoViewer, FramebufferEditor, LightEditor, OpenCLEditor, PostEditor, ResourceManagerEditor, ShaderEditor, TextureEditor

public abstract class SingleWindowEditor extends Object implements Editor
Displays a single window as the editor. Automatically handles the close widget in the corner.
  • Field Details

    • open

      protected final imgui.type.ImBoolean open
  • Constructor Details

    • SingleWindowEditor

      public SingleWindowEditor()
  • Method Details

    • render

      public void render()
      Description copied from interface: Editor
      Renders this editor to the screen.
      Specified by:
      render in interface Editor
    • onShow

      public void onShow()
      Description copied from interface: Editor
      Called when this editor is first opened.
      Specified by:
      onShow in interface Editor
    • renderComponents

      protected abstract void renderComponents()
      Adds all components inside the window.
    • getWindowTitle

      protected net.minecraft.network.chat.Component getWindowTitle()
      Returns:
      The title of the window