joelwe

Untitled

Nov 10th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local function getTheme(n)
  2.     local theme = { blue = { month = { 0, 255, 255, 255 } } }
  3.     if n == "blue" then
  4.         return theme.blue
  5.     end
  6. end
  7.  
  8. function calBox:setTheme(n)
  9.     self.box:setFillColor( getTheme("blue").month )
  10. end
Advertisement
Add Comment
Please, Sign In to add comment