I've improved this plugin somewhat. It has a few extra variables, and an analog clock without the seconds hand is added. Also the linedrawing bug has been eliminated, as well as a bug that caused months and days to be swapped.
I've cleaned up the code too, it's much much shorter now... I have to admit, at some point I was like "what the F$#*& was this guy smoking when he wrote this?!". Oh well. All is well now
Well,
here's the source, and
here's the dll. Have fun
Code:
"TimeInfo.Hour" Name:"System Time Hours"
"TimeInfo.Minute" Name:"System Time Minutes"
"TimeInfo.Second" Name:"System Time Seconds"
"TimeInfo.Time" Name:"System Time (hh:mm:ss)"
"TimeInfo.Day" Name:"System Date Day"
"TimeInfo.Month" Name:"System Date Month"
"TimeInfo.Year" Name:"System Date Year (YYYY)"
"TimeInfo.ShortYear" Name:"System Date Year (YY)"
"TimeInfo.Date0" Name:"System Date (dd/mm/yy)"
"TimeInfo.Date1" Name:"System Date (mm/dd/yy)"
"TimeInfo.Weekday" Name:"System Weekday (Monday-Friday)"
"TimeInfo.ShortWeekday" Name:"System Short Weekday (Mon-Fri)"
"TimeInfo.Month_Name" Name:"System Date Month (January - December)"
"TimeInfo.Month_ShortName" Name:"System Date Month (Jan - Dec)"
"TimeInfo.Analog" Name:"System Analog Clock"
"TimeInfo.AnalogWithoutSec" Name:"System Analog Clock w/o Seconds Hand"
-edit-
I noticed there was a rounding error which for example caused the seconds hand to not be completely horizontal when at 15 sec, it's fixed in this dll. The actual problem was in lcdbitmap.h, look in the developers forum if you want the modified version of this header.