Home - JanSharp/JanSharpsGuiLibrary GitHub Wiki

Welcome to JanSharp's Gui Library!

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.

Pages in this wiki

These pages go into detail about specific parts of the library. if you wish to have a full understanding about the library I would suggest going through all pages in order.

  • Terms: Common library specific terms used throughout this wiki
  • Library Setup: How to initially setup the library for use
  • Data Structures: Data Structures needed to use the library
  • Gui Handler: Documentation of functions in the gui-handler.lua
  • Basic Classes: Documentation of the implementations of basic-classes.lua
  • Examples: Examples of the library in use