Package foundry.veil.api.client.editor
Class SingleWindowInspector
java.lang.Object
foundry.veil.api.client.editor.SingleWindowInspector
- All Implemented Interfaces:
Inspector
,AutoCloseable
,org.lwjgl.system.NativeResource
- Direct Known Subclasses:
DeviceInfoViewer
,FramebufferInspector
,LightInspector
,OpenCLInspector
,PostInspector
,ResourceManagerInspector
,ShaderInspector
,TextureInspector
Displays a single window as the editor. Automatically handles the close widget in the corner.
-
Field Summary
Fields inherited from interface foundry.veil.api.client.editor.Inspector
DEFAULT_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.client.editor.Inspector
free, getDisplayName, getGroup, isEnabled, isMenuBarEnabled, isOpen, onHide, renderLast, renderMenuBar
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
open
protected final imgui.type.ImBoolean open
-
-
Constructor Details
-
SingleWindowInspector
public SingleWindowInspector()
-
-
Method Details
-
render
public void render()Description copied from interface:Inspector
Renders this editor to the screen. -
onShow
public void onShow()Description copied from interface:Inspector
Called when this editor is first opened. -
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
-