-Changed: Downgraded from LWJGL 3 Version 3.3.0 to 3.2.4 because of Incompats with Submodules -Changed: Reworked Asset Providers to use Java-NIO. -Added: IAsset supports now SubFiles that are related to the main file. -Fixed: Axises would trigger with Keyboard keys even if the keys were consumed. -Added: GuiComponents can now be customized by adding custom renderers. -Changed: TextField now only trigger user action if it can lose focus xD
11 lines
295 B
Java
11 lines
295 B
Java
package speiger.src.coreengine.rendering.gui.renderer;
|
|
|
|
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
|
|
|
public interface IComponentRenderer<T extends GuiComponent>
|
|
{
|
|
public void onPreRender(T component);
|
|
public boolean render(T component);
|
|
public void onPostRender(T component);
|
|
}
|