Skinning HELP!!
Started by Hooligan Polygon, Jun 02 2011 01:11 AM
17 replies to this topic
#6
Posted 02 June 2011 - 05:06 PM
Hooligan Polygon, on 02 June 2011 - 02:10 PM, said:
I'd be grateful if you ask over at SI. I edited few XMLs to remove that background colour last night but all I could have was a plain black background. Obviously, I'm a knob when it comes to FM skinning. 
I'm banned from SI
Erm... post up the XML file as text so we can see it?
#8
Posted 02 June 2011 - 09:32 PM
Yeah, but what's the coding look like? Is there a set code defining the background colour?
If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.
If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.
#9
Posted 05 June 2011 - 09:30 PM
Game, on 02 June 2011 - 09:32 PM, said:
Yeah, but what's the coding look like? Is there a set code defining the background colour?
If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.
If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.
It was very late when I did those edits so I can't remember all of them. Though, I'll try to post them tomorrow.
#11
Posted 05 June 2011 - 11:22 PM
Jad, on 05 June 2011 - 10:01 PM, said:
If you already know how to set an image as the background, then you could try the simplest, and possibly incorrect, solution of using an image that is completely blank and transparent, which would have to be a png file (I think).
Already tried. All you can see is a plain black background.
#14
Posted 06 June 2011 - 07:00 PM
Jad, on 06 June 2011 - 03:42 PM, said:
Yeah, knowing what file you've been editing could be helpful. Have you made all the images in boxes/plain transparent?
Yup.
Game, on 06 June 2011 - 09:24 AM, said:
If you posted up the xml we could see which line of code dictates the background colour. Maybe then you can set it to trqnsparent.
steklo_x1\panels\bgsmod11\backgrounds.xml
<widget class="background" file="backgrounds/1" alpha="0">
<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
<attachment class="test_global_attachment" get_property="bgnd" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
</widget>fm2011 dark-widgets\settings\colours.xml
<properties version="1.0"> <!-- standard colours used throughout the game --> <!-- misc "special" colours --> <colour name="selection" red="178" green="215" blue="238"/> <colour name="hilight" red="124" green="192" blue="235"/> <colour name="background" red="255" green="255" blue="255" alpha="0"/>
skins\fm2011-widgets\settings\fm2011-widgets settings.xml
<!-- misc properties --> <real id="background_opacity" value="1.0" /> <integer id="dcht" value="22" comment="default control height"/> <!-- misc "special" colours --> <colour name="selection" red="55" green="102" blue="154"/> <colour name="hilight" red="164" green="194" blue="216"/> <colour name="background" red="255" green="255" blue="255" alpha="0"/>
skins\fm2011\panels\global panels.xml
<!-- background picture - covers entire screen -->
<widget class="background" file="backgrounds/default" alpha="0">
<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
<attachment class="get_global_attachment" get_property="bgnd" set_property="file" skip_if_null="true"/>
</widget> I might have done few more edits but I can't remember any other at the moment. These are pretty silly attempts TBH. I just added alpha settings at the end of the code.
#15
Posted 07 June 2011 - 11:51 AM
Is the alpha value not the transparency value? If that's correct (I'm not too sure), then you could surely set the settings xml to:
<!-- misc properties -->
<real id="background_opacity" value="1.0" />
<integer id="dcht" value="22" comment="default control height"/>
<!-- misc "special" colours -->
<colour name="selection" red="55" green="102" blue="154"/>
<colour name="hilight" red="164" green="194" blue="216"/>
<colour name="background" red="255" green="255" blue="255" alpha="255"/>
<!-- misc properties -->
<real id="background_opacity" value="1.0" />
<integer id="dcht" value="22" comment="default control height"/>
<!-- misc "special" colours -->
<colour name="selection" red="55" green="102" blue="154"/>
<colour name="hilight" red="164" green="194" blue="216"/>
<colour name="background" red="255" green="255" blue="255" alpha="255"/>
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





















