Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhou/bo-luawaxtheme
LuaWaxTheme is a lib to customize iOS application look and feal.
https://github.com/bhou/bo-luawaxtheme
Last synced: about 2 months ago
JSON representation
LuaWaxTheme is a lib to customize iOS application look and feal.
- Host: GitHub
- URL: https://github.com/bhou/bo-luawaxtheme
- Owner: bhou
- Created: 2013-02-25T12:11:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-25T12:22:07.000Z (almost 12 years ago)
- Last Synced: 2024-04-15T00:16:50.839Z (9 months ago)
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bo-LuaWaxTheme
==============
**NOTE: this project is unstable, the api might change frequently**LuaWaxTheme is a lib to customize iOS application's look and feal.
This project is used in Bo-AntibesBus project to support multiple themes.LuaWaxTheme provides a series of util functions to help you easily create iOS components.
for example: a UITableView can be created in the following code:
`````lua
local tableView = TB.table("mytable") -- 'mytable' is the theme resource definition
`````The 'mytable' resource can be defined as:
`````lua
return {
-- other resources
...
mytable={
background={
image="tablebackground.png",
edgeInsects={10, 0, 10, 0},
-- if image is defined color will no be applied
color = {0.3, 0.5, 0.6, 1}
},
},
-- other resources
...
}
`````