Posted 28 July 2013 - 11:38 AM
zUI
zUI is a WIP API to make easy GUIs. Currently there are five functions:
buttonObject = newButton(x, y, color, text) -- This returns a buttonObject
drawButton(buttonObject) -- This draws the actual button
loadingBarObject = newBar(x, y, width, steps, bgcolor, fgcolor) -- This returns a loadingBarObject
drawBar(loadingBarObject) -- This draws a blank loading bar
updateBar(loadingBarObject, state) -- This will increment the loading bar. State is the part of the bar to be incremented, it is useful for two overlapping bars.
To use it type:
pastebin get LJvpG0qc gui
And run os.loadAPI("gui")
Screenshots are attached!