Support and General Use > Theming and Appearance Customization
Is the Clock in 12H Mode? If so, then if it's PM and not AM display this Bitmap.
(1/1)
KiwiCam:
This %?cc<%?cf<|%cp)>> works (along with about 20 other ways I've worked out) but I can't get it to work properly with a bitmap.
Characters are fine along with %cp, also %x() & %xd() work, but also display in the 24H format.
The attached bitmap show the look I'm wanting.
These are some of the many combo's I've tried. (Does it only work in 24H format? AM only? Yadda yadda.)
The comments may or may not be correct as I've tried some many combo's I can't remember what half of them did, just that they didn't work correctly:
The pm.bmp is a 2 x 4 bitmap.
%Vl(a,52,24,12,10,6)
%?cc<%?cf<|%cp>>
Yes, but also in 24H format %?cc<%?cf<|%x(,pm.bmp,0,0)>>
%?St(time format)<|%?if(%cH,>,12)<%x(,pm.bmp,0,0)>>
%?cf<|%?if(%cH,>=,13)<%x(,pm.bmp,0,0)>> - Yes, but also in 24h format
%?cc<%?cf<|%?if(%cH,>,12)<%xd(K)>>>
%?St(time format)<|%if(%cH,<,12)<%cp>
%?St(time format)<|%if(%cH,<,12)<%x(,pm.bmp,0,0)>>
#%?cc<%?St(time format)<|%if(%cH,>,12)<%x(,pm.bmp,0,0)>>>
%?cc<%?St(time format)<|%if(%cH,>,12)<%xd(K)>>>
%?if(%cH,>,12)<%x(,pm.bmp,0,0)>
%?if(%cP,=,PM)<%?if(%cH,>,12)<%x(,pm.bmp,0,0)>>
%?cc<%?if(%cP,=,PM)<%?if(%cH,>,12)<%xd(K)>>> - No.
%?if(%cp,=,pm)<%xd(K)> - No.
%?if(%cH,>=,13)<%x(,pm.bmp,0,0)>
%?if(%cH,<,13)<%?cf<|%x(,pm.bmp,0,0)>>
%?if(%cH,>,12)<%?cf<%xd(K)|>> - No
%?if(%cH,>=,13)<%x(,pm.bmp,0,0)>
JdGordon:
All your %x() lines are wrong.
use %xl(label, filename, x, y)
then
%?St(time format)<|%?if(%cH,>,12)<%xd(label)>>
KiwiCam:
I must still be doing something wrong. ???
--- Code: ---%xl(K,pm.bmp,52,24)
%Vl(a,52,24,12,10,6)
%?St(time format)<|%?if(%cH,>,12)<%xd(K)>>
--- End code ---
That won't work for me.
This does though :-\, but it also works in 24H format, which is what I don't want.
--- Code: ---%?St(time format)<|%?if(%cH,>,12)<%x(,pm.bmp,0,0)>>
--- End code ---
JdGordon:
that doesnt work because 52,24 in the %xl line are relative to the viewport they are displayed in, change them to 0,0
KiwiCam:
--- Quote from: JdGordon on October 09, 2011, 07:47:10 PM ---that doesnt work because 52,24 in the %xl line are relative to the viewport they are displayed in, change them to 0,0
--- End quote ---
[FACEPALM] That's been the problem the whole darned time, I'm sure. I KNEW it was something so simple. I knew I had the principle right. [DOUBLEFACEPALM!!] I'll go and try it now...jeez Louise!
Post Merge: October 09, 2011, 08:01:06 PM :-[ Err...I'm still not getting the result I'm wanting. No Bitmap being drawn. Code:
%xl(K,pm.bmp,0,0)
%Vl(a,52,24,12,10,6)
%?St(time format)<|%?if(%cH,>,12)<%xd(K)>>
I'm having a real brain fart here.
[EDIT] STRIKE THAT LAST COMMENT. It IS working now. I need a break from this addictive stuff...Thanks JdGordon for your help.
Navigation
[0] Message Index
Go to full version