XWidgetSoft Forum
https://www.bbs.xwidget.com/

AM/PM with png files
https://www.bbs.xwidget.com/viewtopic.php?f=3&t=2888
Page 1 of 1

Author:  Jimking [ April 8th, 2013, 1:43 am ]
Post subject:  AM/PM with png files

Tony, is possible to edit somehow the dateclock code so the png image files will have the same funzionality when used for 12h clock and am/pm files?
What I mean: Using text for the digits when it changes from 24h to 12h, the am/pm dissapear, but with png files not.. For example
24h clock: 13 : 56
12h clock: 01 : 56 pm

This is not possible using png files.... I hope to be clear.

Author:  qiancang [ April 8th, 2013, 3:37 am ]
Post subject:  Re: AM/PM with png files

3 png files named 12hr.png , 12hr0.png and 12hr1.png , set coredata tag as 12hr%AP01.png

Attachments:
ampm.XWidgetPkg [10.26 KiB]
Downloaded 273 times

Author:  Jimking [ April 8th, 2013, 12:35 pm ]
Post subject:  Re: AM/PM with png files

Thank you qiancang for the info! But at the end it seems more easy to make a text file for am/pm.. :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/