This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function PassCode(_params){ | |
| _params = _params || {}; | |
| // @PARAMS:{ | |
| // boxSize: (Number) size of the passcode character boxes | |
| // backgroundColor: (String) background color of the mainview | |
| // backgroundImage: (String) background image of the mainview | |
| // panicColor: (String) background color of the view when panic() is called - when wrong password | |
| // titleText: (String) the text of the title view, above the pass code boxes by default, | |
| // mainView: (Object) params for the main view that hold the passcode boxes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| The MIT License | |
| Copyright (c) 2010 Roger Chapman | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //"THE BEER-WARE LICENSE": As long as you retain this notice you can do whatever you want with this stuff. | |
| //If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Jamie Buckley | |
| var win = Ti.UI.createWindow({ | |
| backgroundColor: 'black', | |
| fullscreen: true, | |
| width: Ti.Platform.displayCaps.platformWidth, | |
| height: Ti.Platform.displayCaps.platformHeight | |
| }); |