πΌοΈ WGUI
Framework to make user interfaces in nanos world
Last updated
Framework to make user interfaces in nanos world
Last updated
WGUI is the most advanced user interface framework on nanos world, designed for creation of complex user interfaces fully in lua.
The package is continually evolving. Bugs and issues may occur.
WGUI uses Unreal Motion Graphics (UMG), the UI system in Unreal Engine (nanos world game engine). This implies that the UIs are native to the engine and do not use any third-party solutions like CEF (Chromium). Bridges are made between Lua and Widget Blueprints to allow the creation of user interfaces entirely in Lua, without the necessity of using any blueprints or installing Unreal Engine.
Components in WGUI are UI elements such as buttons, checkboxes, sliders, textblocks, etc.
Each component has a set of properties that determine its appareance and behavior.
Panels are containers for components.
They can hold many components, including other panels, making it possible to design a complex and nested UI.
Slots are static classes in WGUI that manage how the children of a panel should be displayed within that panel. They essentially provide the rules for layout within the parent panel.
Slot class functions are dynamically added to the content widget when AddChild is called.