Having seen someone's link to a great picture of sunrise, etc., I'm incorporating it into my skin (the combination of RGB's OSX and Witchel's Hammerskin.
However, when I run any application and then return to the today screen, it's disappeared and I have to reload the skin to get it back.
I could post up the skin file, but has anyone any ideas what causes this?
Thanks
graeme
grayme: I have not seen this issue before. It probably will be helpful if you can post skin file here, if you don't mind.
Quote from: graymeHaving seen someone's link to a great picture of sunrise, etc., I'm incorporating it into my skin (the combination of RGB's OSX and Witchel's Hammerskin.
However, when I run any application and then return to the today screen, it's disappeared and I have to reload the skin to get it back.
I could post up the skin file, but has anyone any ideas what causes this?
Thanks
Graeme
Grayme,
Why do you import a great picture, as you said, in the Hammerskin??? Isn't it better to use that picture as a
.tsk file ??? Then it will be there at any time.
But maybe, this isn't your problem? In that case: follow the advice Uk-skinner gave you! He's a good helper!
Timmy
Thanks, I've attached both the skin and the icons in case they help.
graeme
Timmy, thanks for your kind words.. :oops:
grayme:
I doenloaded your skin, but find out something "unususal".
1) You have a code "updateregions,7" under region,73, but I don't see any region 7 in your skin.
2) What is var14?
Well, what you're using, is an extension of the weather / moon-skin from me.
The Graphik is from CharlyV, the code is from me. I'm using it in my skin as
a subpage, so if you want to use it in an extra-region at the end of the skin,
you have to set the offset.
I couldn't try it right now, but I am attaching a modification of your skin
with offsetadd's. Please try and reply, if it works.
(It is only a txt-file, please remove the .zip)
Greetings Broesel
Quote from: uk_skinner
1) You have a code "updateregions,7" under region,73, but I don't see any region 7 in your skin.
Yes, that is not neccessary.
Quote2) What is var14?
You have to insert
calcvar,var14,moonphase,0
before the command:
if,var,var14,,=,0
Greetings Broesel
Thanks guys, it seems to work and thank also to Broesel (with CharleyV) for the code and graphic. :D
"updateregions,7" was me trying anything whilst out in town today (aren't PPC's wonderful! :) ) I thought it may ensure that it had to reload the region... it didn't!
var14 was from the code, I've put in the line as Broesel advised and it seems to all work fine.
Thanks once again.
:D :D :D :D :D
grayme, here is my fix. I don't know you still need it or not, but I posted here nayway.
Broesel: Thanks for the enlightment. Adding offset code did fix the "disappearing" problem, but it showed up all the way of top. So I made some change.
//////////////////////////////////////////
region,73,200,5
offset,offset_-1,offset_-1 // clearregion,73
// button,0,0,240,45,0,4,0
load,city,1
changefont,tahoma,10,b
// updateregions,7//=================================================
//offsetadd,0,10
image,0,223,hintergrund.png,t
color,font,255_255_255
suntime,1,sunrise,civil,0,244,h:mm tt,,,l
suntime,1,elevation,,30,258,%05.2f,Ele: ,°,l
suntime,1,solarnoon,civil,38,246,h:mm tt,,,l
suntime,1,sunset,civil,80,244,h:mm tt,,,l
//suntime,1,daylength,civil,80,243,h:mm tt,Tageslänge: , Std.,l
//------------------------------
moontime,1,rise,0,120,243,h:mm tt,,,l
moontime,1,set,0,233,243,h:mm tt,,,r
moontime,1,visible,0,203,226,,, %,l
calcvar,var14,moonphase,0
if,var,var14,,=,0
text,180,258,New moon,c
image,168,225,x0.png,t
else
endif
if,var,var14,,=,1
text,180,258,Zunehmend,c
image,168,225,x1.png,t
else
endif
if,var,var14,,=,2
text,180,258,1. Viertel,c
image,168,225,x2.png,t
else
endif
if,var,var14,,=,3
text,180,258,Zunehmend,c
image,168,225,x3.png,t
else
endif
if,var,var14,,=,4
text,180,258,Vollmond,c
image,168,225,x4.png,t
else
endif
if,var,var14,,=,5
text,180,258,Abnehmend,c
image,168,225,x5.png,t
else
endif
if,var,var14,,=,6
text,180,258,Letzt. Viertel,c
image,168,225,x6.png,t
else
endif
if,var,var14,,=,7
text,180,258,Abnehmend,c
image,168,225,x7.png,t
else
endif
//------------------------------
color,font,0_0_0
changefont,tahoma,11,
// offsetadd,0,45
endregion,73,200
@uk-skinner:
If you use
offset,offset_-1,offset_-1
the offset is taken from the last region-offset, so you normally don't have
a need to adjust the x- / y-position.
If it starts at the top, there must be another problem, I haven't seen yet.
Will take a look at the code, when I get time at the weekend.
Greetings Broesel
Quote from: Broesel@uk-skinner:
If you use
offset,offset_-1,offset_-1
the offset is taken from the last region-offset, so you normally don't have
a need to adjust the x- / y-position.
If it starts at the top, there must be another problem, I haven't seen yet.
Will take a look at the code, when I get time at the weekend.
Greetings Broesel
That was what I though too. But for seom reason, the image showed up at the top same as the suntime and moontime. I did not look other region so I just adjust the y... :wink:
I seem to have it working somewhere between the two of you :)
I cut out the offset,offset_-1,offset_-1 and put in the offsetadd,0,-2 and the calcvar,var14,moonphase,0, seems fine.
Thanks once again for your help. :D
Quote from: graymeI seem to have it working somewhere between the two of you :)
I cut out the offset,offset_-1,offset_-1 and put in the offsetadd,0,-2 and the calcvar,var14,moonphase,0, seems fine.
Thanks once again for your help. :D
Well, if it works, it's o.k. , so I don't have to test the skinfile again.
:D Greetings Broesel