https://github.com/skythecodemaster/cc-gui
https://github.com/skythecodemaster/cc-gui
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skythecodemaster/cc-gui
- Owner: SkyTheCodeMaster
- Created: 2021-12-07T12:07:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-19T19:30:29.000Z (over 3 years ago)
- Last Synced: 2025-02-05T18:06:48.512Z (4 months ago)
- Language: Lua
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://skygui.madefor.cc/)# Usage
To `require` the project, simply do `local gui = require("gui")` (`gui` being the folder itself)
```lua
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`