OneUIScreen
OneConfig's easy to use, multiplatform GuiScreen alternative
Why?
OneUIScreen is a convenient class that can be used for easy handling of mouse, keyboard, and rendering with NanoVG (see ).
Creating a OneUIScreen
Creating a OneUIScreen is simple - just extend the class, like so:
Displaying Your Screen
You can Display your screen in many ways, for example using a #button implementation, or opening it when a key is pressed using a OneKeyBind. They can be opened easily using GuiUtils.displayScreen(new MyScreen())
.
Last updated