Jump to content

Recommended Posts

Posted (edited)

Whether the question such supports WM 2003 SE property "bgimage" tag "State"? I has taken a theme from WM 5.0 and to alter has solved so that in any this property at me to work does not want, if it works that how to specify a way to a picture, I specified absolute, and what format of a picture, and whether it is possible to position this picture. In advance thanks

Edited by -Tex-
Guest Pr0sper
Posted
Whether the question such supports WM 2003 SE property "bgimage" tag "State"? I has taken a theme from WM 5.0 and to alter has solved so that in any this property at me to work does not want, if it works that how to specify a way to a picture, I specified absolute, and what format of a picture, and whether it is possible to position this picture. In advance thanks

The path string is different from the WM5 ones. It must be

bgimage="Storage\Application ..." and so on. The WM5 strings don't need the Storage.

Formats ... hm ... i know that png, jpg and gif work ..

Position ? Maybe with x="" and y="" in the tag.

Posted

I insert such code

<!-- Calendar Plugin -->


<plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="Calendar" height="25">

<background b-border-width="0">

<format state="selected" font-weight="normal" bgcolor="transparent" fgcolor="#000000" />

</background>

<label font-size="13" x="17" y="0" w="156" height="0" fgcolor="#FFFFFF">

<format state="unselected" halign="left" bgcolor="transparent" font-size="13" font-weight="normal" fgcolor="#FFFFFF" />

<format state="selected" halign="left" bgimage="\Storage\Application Data\Home\1.jpg" font-size="13" font-weight="bold" fgcolor="#FFFFFF" />

<text>

<time /> <subject />

</text>

</label>

</plugin>

Image doesen't appear under calendar plugin when I select it. What I did wrong in that code ?

Guest Pr0sper
Posted (edited)

Don't set the background image in the tag. Define it in the tag.

<!-- Calendar Plugin -->


<plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="Calendar" height="25">

<background b-border-width="0">

<format state="selected" bgimage="\Storage\Application Data\Home\1.jpg" font-weight="normal" bgcolor="transparent" fgcolor="#000000" />

</background>

<label font-size="13" x="17" y="0" w="156" height="0" fgcolor="#FFFFFF">

<format state="unselected" halign="left" bgcolor="transparent" font-size="13" font-weight="normal" fgcolor="#FFFFFF" />

<format state="selected" halign="left" bgimage="\Storage\Application Data\Home\1.jpg" font-size="13" font-weight="bold" fgcolor="#FFFFFF" />

<text>

<time /> <subject />

</text>

</label>

</plugin>

Oh, and one weird thing. There are so many fgcolor, bgcolor and font-weight definitions, they all make no sense :)

Edited by Pr0sper
Posted (edited)

Thanks it really works and you do not know about property button-image of MRU plugin. What picture should be put and I put that 34 on 34 and all buttons have approached against each other. Before me there was one more problem when I have tried to use bgimage in a nonnative plug-in - Alarm Plugin, its code generated in RSHD is overloaded various paddings and I have got confused where to insert bgimage. Here a code:

<!-- Alarm Plugin -->


<plugin clsid="{21800C38-E156-4423-B95D-EB0D75DB95D2}" name="alarmPlugin" height="25">

<background

bgcolor = "transparent"

halign="center" valign = "center"

l-border-width="0" t-border-width="0" r-border-width="0" b-border-width="0"

l-border-color="transparent" t-border-color="transparent" r-border-color="transparent" b-border-color="transparent"

		  />

<format state="unselected"

fgcolor = "#FFFFFF"

bgcolor = "transparent"

padding-left="24" padding-right="0" padding-top="3" padding-bottom="0"

font-face="nina" font-size="13" font-style="normal" font-weight="normal"

x="24" y="-10" h="25"

halign="left" valign="left" />

<format state="selected"

fgcolor = "#FFFFFF"

bgcolor = "transparent"

bgtext = "#FFFFFF"

padding-left="24" padding-right="0" padding-top="3" padding-bottom="0"

font-face="nina" font-size="13" font-style="normal" font-weight="bold"

x="24" y="-10" h="25"

halign="left" valign="left" />

<text>Будильник:</text>

</plugin>

Edited by -Tex-

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.