Skip to content

Instantly share code, notes, and snippets.

@minhnc
Created December 28, 2011 10:54
Show Gist options
  • Save minhnc/1527556 to your computer and use it in GitHub Desktop.
Save minhnc/1527556 to your computer and use it in GitHub Desktop.
Titanium UI Components
var _0xd3fc=["\x70\x72\x6F\x67\x72\x65\x73\x73\x42\x61\x72","\x76\x69\x65\x77","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x56\x69\x65\x77","\x55\x49","\x62\x6F\x72\x64\x65\x72\x52\x61\x64\x69\x75\x73","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65\x56\x69\x65\x77","\x61\x64\x64","\x61\x75\x74\x6F","","\x66\x6F\x6E\x74","\x63\x6F\x6C\x6F\x72","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x69\x6E\x69\x74","\x73\x68\x6F\x77","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x74\x65\x78\x74","\x72\x75\x6E","\x72\x6F\x75\x6E\x64","\x66\x69\x6E\x69\x73\x68","\x68\x69\x64\x65"];var _0x5197=[_0xd3fc[0],_0xd3fc[1],_0xd3fc[2],_0xd3fc[3],_0xd3fc[4],_0xd3fc[5],_0xd3fc[6],_0xd3fc[7],_0xd3fc[8],_0xd3fc[9],_0xd3fc[10],_0xd3fc[11],_0xd3fc[12],_0xd3fc[13],_0xd3fc[14],_0xd3fc[15],_0xd3fc[16],_0xd3fc[17],_0xd3fc[18],_0xd3fc[19],_0xd3fc[20],_0xd3fc[21],_0xd3fc[22]];exports[_0x5197[0]]=function (_0xa442x2,_0xa442x3,_0xa442x4){var _0xa442x5=this;this[_0x5197[1]]=Ti[_0x5197[6]][_0x5197[5]]({visible:false,width:_0xa442x2[_0x5197[2]],height:_0xa442x2[_0x5197[3]],backgroundImage:_0xa442x2[_0x5197[4]]});this[_0x5197[1]][_0x5197[9]](Ti[_0x5197[6]][_0x5197[8]]({width:0,left:0,backgroundImage:_0xa442x3[_0x5197[4]],borderRadius:_0xa442x3[_0x5197[7]]}));this[_0x5197[1]][_0x5197[9]](Ti[_0x5197[6]][_0x5197[14]]({width:_0x5197[10],text:_0x5197[11],font:_0xa442x4[_0x5197[12]],color:_0xa442x4[_0x5197[13]]}));this[_0x5197[15]]=function (_0xa442x6){_0xa442x5[_0x5197[1]][_0x5197[16]]();_0xa442x5[_0x5197[1]][_0x5197[17]][0][_0x5197[2]]=0;_0xa442x5[_0x5197[1]][_0x5197[17]][1][_0x5197[18]]=_0xa442x6;} ;this[_0x5197[19]]=function (_0xa442x6,_0xa442x7){_0xa442x5[_0x5197[1]][_0x5197[17]][0][_0x5197[2]]=Math[_0x5197[20]](_0xa442x5[_0x5197[1]][_0x5197[2]]*_0xa442x7/100);_0xa442x5[_0x5197[1]][_0x5197[17]][1][_0x5197[18]]=_0xa442x6;} ;this[_0x5197[21]]=function (){_0xa442x5[_0x5197[1]][_0x5197[22]]();} ;} ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment