JanSharp's Gui Library deprecated


A Gui Helper/Handler library. It's goal is to simplify management of LuaGuiElements. Which includes creation, deletion, element specific data handling with save-load support and event handling. It uses a class system and provides "basic class" implementations for all types of LuaGuiElements - they simplify the definition of children and handling events of said children. Read the wiki for full documentation (see homepage).

3 years ago
0.17 - 0.18
6
Owner:
JanSharp
Source:
https://github.com/JanSharp/JanSharps...
Homepage:
https://github.com/JanSharp/JanSharps...
License:
MIT
Created:
4 years ago
Latest Version:
0.18.3 (3 years ago)
Factorio version:
0.17 - 0.18
Downloaded by:
6 users

Deprecated

Instead of just unsupporting this mod I've decided to deprecate it because of all of it's fundamental flaws. Use flib - or any other gui library - instead.

Important

This mod has been unsupported every since flib (a univeral lib) came out.
See changelog (for 0.18.3) for more details.
If you are a modder using this lib, read it!

JanSharpsGuiLibrary

This library is control stage only, it provides:
- A gui-handler
- Implementations for all basic types (such as "button" or "choose-elem-button")

The gui-handler uses a kind of class system. One can register classes, which one can then later create or
add as children to other instances.

Classes define how the LuaGuiElement will look, and which children and what style it should have.

The classes can very easily handle gui events. The basic class implementations even simplify handling events of nested children.

Read the wiki for more information