View Single Post
  #1 (permalink)  
Old 12-20-2010, 05:00 PM
lnando84's Avatar
lnando84
I BLEED GREEN!!
Offline
 
Join Date: Apr 2009
Posts: 1,091
Reputation: 9825
lnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the community
Mentioned: 18 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to lnando84
[CHT2.0 WIDGET]Poyensa's Read Clock

Based on Greg's & rat's Read Clock and also on Typoclock xda member "poyensa" has made this CHT2.0 widget read clock, which shows time in words in intervals of 5 minutes:



Poy2readclock comes with 4 layouts: left-right alignment & black-white color

Same as Greg's & rat's Read Clock, the exact time is shown with 4 points at the lowest line of the clock

Poy2readclock has its own font text Poy2readclock.ttf, it can be easily changed just rename your favorite font and copy in windows directory, accept overwrite and restart device.

Poy2readclock should be compatible with any other CHT2.0 widget. Its been have tested on HD2. Feedback is much appreciated.

You can download Poy2readclock kitchen in this link: http://dl.dropbox.com/u/10718996/Poy...ck_kitchen.zip

CREDITS
Poy2readclock is based on the kitchen published by rat_2665 for GregReadClock' English version here
Big thanks to greg17477, to rat_2665, and of course to co0kie monster Master for CHT 2.0.0

TO-DO list:
Add more layouts: display the Poy2readclock in one line; add personalize layout easily editable from the registry
AM-PM
Add precision

Code:
Poy2readclock_sonlas.String = "It's" 
if Poy2min < 5 then
Poy2readclock_Min.String = "clock"
Poy2readclock_colon.String = "o'"
Poy2intervall = 5
Poy2readclock_Min.Position.y = -60 --English Position
Poy2readclock_Hour.Position.y = 0 --English Position
elseif Poy2min < 10 then
Poy2readclock_Min.String = "five"
Poy2readclock_colon.String = "past"
Poy2intervall = 10
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 15 then
Poy2readclock_Min.String = "ten"
Poy2readclock_colon.String = "past"
Poy2intervall = 15
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 20 then
Poy2readclock_Min.String = "a quarter"
Poy2readclock_colon.String = "past"
Poy2intervall = 20
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position 
elseif Poy2min < 25 then
Poy2readclock_Min.String = "twenty"
Poy2readclock_colon.String = "past" 
Poy2intervall = 25
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 30 then
Poy2readclock_Min.String = "twentyfive"
Poy2readclock_colon.String = "past"
Poy2intervall = 30
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position 
elseif Poy2min < 35 then
Poy2readclock_Min.String = "half"
Poy2readclock_colon.String = "past"
Poy2intervall = 35
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 40 then
Poy2readclock_Min.String = "twentyfive"
Poy2readclock_colon.String = "to"
Poy2Hour = Poy2Hour + 1
Poy2intervall = 40
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position 
elseif Poy2min < 45 then
Poy2readclock_Min.String = "twenty"
Poy2readclock_colon.String = "to"
Poy2Hour = Poy2Hour + 1
Poy2intervall = 45
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 50 then
Poy2readclock_Min.String = "a quarter"
Poy2readclock_colon.String = "to"
Poy2Hour = Poy2Hour + 1
Poy2intervall = 50
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
elseif Poy2min < 55 then
Poy2readclock_Min.String = "ten"
Poy2readclock_colon.String = "to"
Poy2Hour = Poy2Hour + 1
Poy2intervall = 55
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
else
Poy2readclock_Min.String = "five"
Poy2readclock_colon.String = "to"
Poy2Hour = Poy2Hour + 1
Poy2intervall = 60
Poy2readclock_Hour.Position.y = -60 --English Position
Poy2readclock_Min.Position.y = 0 --English Position
end

if Poy2Hour == 0 or Poy2Hour == 12 then
Poy2readclock_Hour.String = "twelve"
elseif Poy2Hour == 1 or Poy2Hour == 13 then
Poy2readclock_Hour.String = "one"
elseif Poy2Hour == 2 or Poy2Hour == 14 then
Poy2readclock_Hour.String = "two"
elseif Poy2Hour == 3 or Poy2Hour == 15 then
Poy2readclock_Hour.String = "three"
elseif Poy2Hour == 4 or Poy2Hour == 16 then
Poy2readclock_Hour.String = "four"
elseif Poy2Hour == 5 or Poy2Hour == 17 then
Poy2readclock_Hour.String = "five"
elseif Poy2Hour == 6 or Poy2Hour == 18 then
Poy2readclock_Hour.String = "six"
elseif Poy2Hour == 7 or Poy2Hour == 19 then
Poy2readclock_Hour.String = "seven"
elseif Poy2Hour == 8 or Poy2Hour == 20 then
Poy2readclock_Hour.String = "eight"
elseif Poy2Hour == 9 or Poy2Hour == 21 then
Poy2readclock_Hour.String = "nine"
elseif Poy2Hour == 10 or Poy2Hour == 22 then
Poy2readclock_Hour.String = "ten"
else 
Poy2readclock_Hour.String = "eleven"
end
More info can be found on Application thread HERE
Attached Files
File Type: cab CHTW_Poy2readclockENG.cab (81.9 KB, 12 views) Click for barcode!
__________________
Click if I've helped you!!

Donations accepted not expected!



Last edited by lnando84; 12-20-2010 at 05:02 PM.
Reply With Quote
This post has been thanked 5 times.