created wiki

This commit is contained in:
Samkist
2022-05-30 02:06:50 -04:00
parent 3c821a48d4
commit d638920e3e
31 changed files with 1956 additions and 0 deletions

16
docs/Pane.md Normal file
View File

@@ -0,0 +1,16 @@
Panes are very simple sizeable background objects.
The following list is only available to panes: <br>
Remember pane also inherits from [object](https://github.com/NoryiE/basalt/wiki/Object):
Pane doesn't have any custom functionallity. If you want to change the color/position or size, just check out the [object](https://github.com/NoryiE/basalt/wiki/Object) wikipage.
## Example:
````lua
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aPane = mainFrame:addPane("myFirstBackground")
aPane:setSize(30, 10)
aPane:setBackground(colors.yellow)
aPane:show()
````