I wanted to create a simple app using OpenComputers. That's all I wanted to do. So here I am...
As I am a complete beginner with Lua, any advice is appreciated!
- Be able to make responsive GUI's with a few simple controls
- Include a main event loop to show the GUI
- Provide events that the users can subscribe to
- Allow databinding by using providers
- Logging support?
- Add support for ComputerCraft?
- Object oriented!
- I'm not adding any canvas like functionality on purpose!
- I should probably be writing code instead of this readme...
Your main class is the App
. You can create it like this:
gui = require("jaoof")
a = App:new()
a.title = "My test application"
a:start()
For more advanced usage check out the demo.
The library gives access to the following controls:
App
- the main application controlContainer
- generic container control for storing other controlsLabel
Button
ProgressBar