CC-GUI
CC-GUI is a Graphical User Interface library for assisting with making GUIs inside of ComputerCraft. It contains many functions, and other libraries inside of it.
Docs
Available here
Usage
To require
the project, simply do local gui = require("gui")
(gui
being the folder itself)
local gui = require("gui") -- frame gui.frame.frame(x,y,w,h,fcol,bcol) -- shape gui.shape.rectangle(x,y,w,h,col) gui.shape.filledRectangle(x,y,w,h,col)
Install
Run the installer command with the requirements.json
file.
wget run https://skydocs.madefor.cc/scripts/installer.lua https://raw.githubusercontent.com/SkyTheCodeMaster/cc-gui/master/requirements.json
Modules
ext.button | A simple button api with the option of drawing an image on the button. |
---|---|
ext.buttonhelper | Helper button functions. |
ext.pg | progress bar is an api for drawing & updating progress bars. |
frame | Boxes with drawing character frames around them. |
image | Provides image support for the library. |
shape | Draw various shapes on the screen. |
text | Draw various texts on the screen. |
window | Provides functions for window objects |
Extension
Extensions | Various extensions for the GUI library. |
---|