<!-- This file is provided under the Open Game License version 1.0a
  -- For more information on OGL and related issues, see 
  --   http://www.wizards.com/d20
  --
  -- For information on the Fantasy Grounds d20 Ruleset licensing and
  -- the OGL license text, see the d20 ruleset license in the program
  -- options.
  --
  -- All producers of work derived from this definition are adviced to
  -- familiarize themselves with the above licenses, and to take special
  -- care in providing the definition of Product Identity (as specified
  -- by the OGL) in their products.
  --
  -- Copyright 2007 SmiteWorks Ltd.
  -->

<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.0">
	<windowclass name="charsheet_weaponlistitem">
		<sizelimits>
			<minimum>
				<height>30</height>
			</minimum>
		</sizelimits>
		<sheetdata>
			<stringfield name="name">
				<anchored>
					<left>
						<anchor>left</anchor>
						<offset>0</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>150</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>weapondie</next>
					<prev>ammo</prev>
				</tabtarget>
			</stringfield>
            
			
            <numberfield name="weapondie">
				<anchored>
					<left>
						<parent>name</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>5</offset>
					</top>
					<size>
						<width>30</width>
						<height>20</height>
					</size>
				</anchored>
				<frame>
					<name>modifier</name>
					<offset>5,5,5,5</offset>
				</frame>
				<font>sheetnumbersmall</font>
				<hideonvalue>0</hideonvalue>
                <script>
                    function onDoubleClick(x,y)
                        ChatManager.diceCheck(getValue(), "d6", getDatabaseNode().getParent().getChild("weaponmod").getValue(), getDatabaseNode().getParent().getChild("name").getValue() .. " damage");
                        return true;
                    end
                </script>
				<tabtarget>
					<next>weaponmod</next>
					<prev>name</prev>
				</tabtarget>
			</numberfield>
            
            <stringcontrol name="weaponlabel">
				<anchored>
					<left>
						<parent>weapondie</parent>
						<anchor>right</anchor>
						<offset>3</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>10</width>
						<height>20</height>
					</size>
				</anchored>
				<center />
				<font>sheetlabelsmall</font>
				<static>D</static>
			</stringcontrol>
			
            <numberfield name="weaponmod">
				<anchored>
					<left>
						<parent>weaponlabel</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>5</offset>
					</top>
					<size>
						<width>30</width>
						<height>20</height>
					</size>
				</anchored>
				<frame>
					<name>modifier</name>
					<offset>5,5,5,5</offset>
				</frame>
				<font>sheetnumbersmall</font>
				<hideonvalue>0</hideonvalue>
                <displaysign />
				<tabtarget>
					<next>courte</next>
					<prev>weapondie</prev>
				</tabtarget>
			</numberfield>
            			
            <stringfield name="courte">
				<anchored>
					<left>
						<parent>weaponmod</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>40</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>moyenne</next>
					<prev>weaponmod</prev>
				</tabtarget>
			</stringfield>
 
            <stringfield name="moyenne">
				<anchored>
					<left>
						<parent>courte</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>40</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>longue</next>
					<prev>courte</prev>
				</tabtarget>
			</stringfield>

            <stringfield name="longue">
				<anchored>
					<left>
						<parent>moyenne</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>40</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>ammo</next>
					<prev>moyenne</prev>
				</tabtarget>
			</stringfield>
			
            <stringfield name="ammo">
				<anchored>
					<left>
						<parent>longue</parent>
						<anchor>right</anchor>
						<offset>5</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>80</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>name</next>
					<prev>longue</prev>
				</tabtarget>
			</stringfield>
            
		</sheetdata>
	</windowclass>
    
	<windowclass name="charsheet_armourlistitem">
		<sizelimits>
			<minimum>
				<height>30</height>
			</minimum>
		</sizelimits>
		<sheetdata>
			<stringfield name="name">
				<anchored>
					<left>
						<anchor>left</anchor>
						<offset>0</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>180</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>location</next>
					<prev>ammo</prev>
				</tabtarget>
			</stringfield>
            
            <stringfield name="location">
				<anchored>
					<left>
						<parent>name</parent>
						<anchor>right</anchor>
						<offset>3</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>138</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>physical</next>
					<prev>name</prev>
				</tabtarget>
            </stringfield>
            
            <stringfield name="physical">
				<anchored>
					<left>
						<parent>location</parent>
						<anchor>right</anchor>
						<offset>3</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>70</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>energy</next>
					<prev>location</prev>
				</tabtarget>
            </stringfield>
            
            
            <stringfield name="dexpenalty">
				<anchored>
					<left>
						<parent>physical</parent>
						<anchor>right</anchor>
						<offset>3</offset>
					</left>
					<top>
						<anchor>top</anchor>
						<offset>10</offset>
					</top>
					<size>
						<width>60</width>
					</size>
				</anchored>
				<font>sheettext</font>
				<frame>
					<name>textline</name>
					<offset>0,0,0,0</offset>
				</frame>
				<tabtarget>
					<next>name</next>
					<prev>physical</prev>
				</tabtarget>
            </stringfield>
 
            
        </sheetdata>
    </windowclass>
    
	<windowclass name="charsheet_combat">
		<placement>
			<size>
				<width>252</width>
				<height>611</height>
			</size>
		</placement>
		<nodelete />
		<sheetdata>
            <!-- Toadwart/Kenshin - Add portrait for Combat Tracker etc. -->
            <genericcontrol name="PortraitFrame">
                <bounds>450,45,25,25</bounds>
                <icon>button_dragtarget</icon>
                <script file="scripts\charsheet_portrait.lua" />
            </genericcontrol> 
            <!-- end - Add portrait for Combat Tracker etc. -->
            
			<!-- OVERVIEW -->
			<genericcontrol name="overviewframe">
				<bounds>15,20,415,70</bounds>
				<frame>
					<name>sheetgroup</name>
				</frame>
			</genericcontrol>

			<labeledstring name="name">
				<anchored>
					<to>overviewframe</to>
					<position>insidetopleft</position>
					<offset>15,10</offset>
					<size>
						<width>250</width>
						<height>20</height>
					</size>
				</anchored>
				<anchorto>overviewframe</anchorto>
				<height>20</height>
				<label>Nom / Pseudo</label>
				<tabtarget>
					<next>sexe</next>
					<prev>appearance</prev>
				</tabtarget>
			</labeledstring>

			<labeledstring name="sexe">
				<anchored>
					<to>overviewframe</to>
					<position>insidetopleft</position>
					<offset>275,10</offset>
					<size>
						<width>125</width>
						<height>20</height>
					</size>
				</anchored>
				<label>sexe</label>
				<tabtarget>
					<next>Sexe</next>
					<prev>name</prev>
				</tabtarget>
			</labeledstring>

			<labeledstring name="archetype">
				<anchored>
					<to>overviewframe</to>
					<position>insidetopleft</position>
					<offset>15,32</offset>
					<size>
						<width>317</width>
						<height>20</height>
					</size>
				</anchored>
				<label>Archétype</label>
				<tabtarget>
					<next>age</next>
					<prev>sexe</prev>
				</tabtarget>
			</labeledstring>

			<labeledstring name="age">
				<anchored>
					<to>overviewframe</to>
					<position>insidetopleft</position>
					<offset>340,32</offset>
					<size>
						<width>60</width>
						<height>20</height>
					</size>
				</anchored>
				<label>Âge</label>
				<tabtarget>
					<next>strength</next>
					<prev>archetype</prev>
				</tabtarget>
			</labeledstring>

			<!-- ABILITIES -->
			<genericcontrol name="abilityframe">
				<bounds>15,90,365,120</bounds>
				<frame>
					<name>sheetgroup</name>
				</frame>
			</genericcontrol>

			<abilityscore name="dexterity" source="abilities.dexterity.score">
				<anchored>
					<to>abilityframe</to>
					<position>insidetopleft</position>
					<offset>90,23</offset>
				</anchored>
				<description>
					<text>Agilité</text>
				</description>
				<tabtarget>
					<next>dexteritybonus</next>
					<prev>size</prev>
				</tabtarget>
			</abilityscore>
			<abilityscore name="mechanical" source="abilities.mechanical.score">
				<anchored>
					<to>dexterity</to>
				</anchored>
				<description>
					<text>Adresse</text>
				</description>
				<tabtarget>
					<next>mechanicalbonus</next>
					<prev>dexteritybonus</prev>
				</tabtarget>
			</abilityscore>
			<abilityscore name="knowledge" source="abilities.knowledge.score">
				<anchored>
					<to>mechanical</to>
				</anchored>
				<description>
					<text>Connaiss.</text>
				</description>
				<tabtarget>
					<next>knowledgebonus</next>
					<prev>mechanicalbonus</prev>
				</tabtarget>
			</abilityscore>
			<abilityscore name="perception" source="abilities.perception.score">
				<anchored>
					<to>abilityframe</to>
					<position>insidetopleft</position>
					<offset>260,23</offset>
				</anchored>
				<description>
					<text>Perception</text>
				</description>
				<tabtarget>
					<next>perceptionbonus</next>
					<prev>knowledgebonus</prev>
				</tabtarget>
			</abilityscore>
			<abilityscore name="strength" source="abilities.strength.score">
				<anchored>
					<to>perception</to>
				</anchored>
				<description>
					<text>Puissance</text>
				</description>
				<tabtarget>
					<next>strengthbonus</next>
					<prev>perceptionbonus</prev>
				</tabtarget>
			</abilityscore>
			<abilityscore name="technical" source="abilities.technical.score">
				<anchored>
					<to>strength</to>
				</anchored>
				<description>
					<text>Présence</text>
				</description>
				<tabtarget>
					<next>technicalbonus</next>
					<prev>strengthbonus</prev>
				</tabtarget>
			</abilityscore>
			
			<abilitylabel>
				<anchored>
					<to>dexterity</to>
				</anchored>
				<static>Agilité</static>
			</abilitylabel>
			<abilitylabel>
				<anchored>
					<to>mechanical</to>
				</anchored>
				<static>Adresse</static>
			</abilitylabel>
			<abilitylabel>
				<anchored>
					<to>knowledge</to>
				</anchored>
				<static>Connaiss.</static>
			</abilitylabel>
			<abilitylabel>
				<anchored>
					<to>perception</to>
				</anchored>
				<static>Perception</static>
			</abilitylabel>
			<abilitylabel>
				<anchored>
					<to>strength</to>
				</anchored>
				<static>Puissance</static>
			</abilitylabel>
			<abilitylabel>
				<anchored>
					<to>technical</to>
				</anchored>
				<static>Présence</static>
			</abilitylabel>
			
			<abilitydielabel>
				<anchored>
					<to>dexterity</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
			<abilitydielabel>
				<anchored>
					<to>mechanical</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
			<abilitydielabel>
				<anchored>
					<to>knowledge</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
			<abilitydielabel>
				<anchored>
					<to>perception</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
			<abilitydielabel>
				<anchored>
					<to>strength</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
			<abilitydielabel>
				<anchored>
					<to>technical</to>
				</anchored>
				<static>D</static>
			</abilitydielabel>
            
			<abilitybonus name="dexteritybonus" source="abilities.dexterity.bonus">
				<anchored>
					<to>dexterity</to>
				</anchored>
				<description>
					<text>Bonus d'Agilité</text>
				</description>
				<tabtarget>
					<next>mechanical</next>
					<prev>dexterity</prev>
				</tabtarget>
			</abilitybonus>
			<abilitybonus name="mechanicalbonus" source="abilities.mechanical.bonus">
				<anchored>
					<to>mechanical</to>
				</anchored>
				<description>
					<text>Bonus d'Adresse</text>
				</description>
				<tabtarget>
					<next>knowledge</next>
					<prev>mechanical</prev>
				</tabtarget>
			</abilitybonus>
			<abilitybonus name="knowledgebonus" source="abilities.knowledge.bonus">
				<anchored>
					<to>knowledge</to>
				</anchored>
				<description>
					<text>Bonus de Connaissances</text>
				</description>
				<tabtarget>
					<next>perception</next>
					<prev>knowledge</prev>
				</tabtarget>
			</abilitybonus>
            <abilitybonus name="perceptionbonus" source="abilities.perception.bonus">
				<anchored>
					<to>perception</to>
				</anchored>
				<description>
					<text>Bonus de Perception</text>
				</description>
				<tabtarget>
					<next>perception</next>
					<prev>strength</prev>
				</tabtarget>
			</abilitybonus>
            <abilitybonus name="strengthbonus" source="abilities.strength.bonus">
				<anchored>
					<to>strength</to>
				</anchored>
				<description>
					<text>Bonus de Puissance</text>
				</description>
				<tabtarget>
					<next>technical</next>
					<prev>strength</prev>
				</tabtarget>
			</abilitybonus>
            <abilitybonus name="technicalbonus" source="abilities.technical.bonus">
				<anchored>
					<to>technical</to>
				</anchored>
				<description>
					<text>Bonus de Présence</text>
				</description>
				<tabtarget>
					<next>name</next>
					<prev>technical</prev>
				</tabtarget>
			</abilitybonus>
            
			<stringcontrol>
				<anchored>
					<to>dexterity</to>
					<position>above</position>
					<offset>5,2</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Dés</static>
				<center />
			</stringcontrol>
            <stringcontrol>
				<anchored>
					<to>dexteritybonus</to>
					<position>above</position>
					<offset>5,2</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Bonus</static>
				<center />
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>perception</to>
					<position>above</position>
					<offset>5,2</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Dés</static>
				<center />
			</stringcontrol>
            <stringcontrol>
				<anchored>
					<to>perceptionbonus</to>
					<position>above</position>
					<offset>5,2</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Bonus</static>
				<center />
			</stringcontrol>
            
			<!-- WOUND STATUS -->
			<genericcontrol name="damageframe">
				<bounds>375,90,125,120</bounds>
				<frame>
					<name>sheetgroup</name>
				</frame>
			</genericcontrol>
            
            <checkbox name="healthstun">
				<anchored>
					<to>damageframe</to>
					<position>insidetopleft</position>
					<offset>100,30</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            <checkbox name="healthwound">
				<anchored>
                    <to>healthstun</to>
                    <position>belowleft</position>
                    <offset>0,2</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            <checkbox name="healthverywound">
				<anchored>
                    <to>healthwound</to>
                    <position>belowleft</position>
                    <offset>0,2</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            <checkbox name="healthincapacity">
				<anchored>
                    <to>healthverywound</to>
                    <position>belowleft</position>
                    <offset>0,2</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            <checkbox name="healthmortalincapacity">
				<anchored>
                    <to>healthincapacity</to>
                    <position>belowleft</position>
                    <offset>0,2</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            <checkbox name="healthmortal">
				<anchored>
                    <to>healthmortalincapacity</to>
                    <position>belowleft</position>
                    <offset>0,2</offset>
					<size>
						<width>12</width>
						<height>12</height>
					</size>
				</anchored>
            </checkbox>
            
			<stringcontrol>
				<anchored>
					<to>healthstun</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Sonné (1 à 3)</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>healthwound</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Blessé (4 à 8)</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>healthverywound</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Grav. blessé (4 à 8)</static>
			</stringcontrol>
            <stringcontrol>
				<anchored>
					<to>healthincapacity</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Handicapé (9 à 12)</static>
			</stringcontrol>
            <stringcontrol>
				<anchored>
					<to>healthmortalincapacity</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>M. blessé (13 à 15)</static>
			</stringcontrol>
            <stringcontrol>
				<anchored>
					<to>healthmortal</to>
					<position>left</position>
					<offset>2,0</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Mort (16+)</static>
			</stringcontrol>
            
            <stringcontrol>
				<anchored>
					<to>damageframe</to>
					<position>insidetopleft</position>
					<offset>32,12</offset>
				</anchored>
				<font>sheetlabel</font>
				<static>Blessures</static>
                <center />
			</stringcontrol>
            
			<!-- WEAPONS -->
			<genericcontrol name="weaponframe">
				<bounds>15,210,485,215</bounds>
				<frame>
					<name>sheetgroup</name>
				</frame>
			</genericcontrol>
            
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetop</position>
					<offset>0,11</offset>
				</anchored>
				<center />
				<font>sheetlabel</font>
				<static>Armes</static>
			</stringcontrol>
			
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>13,25</offset>
				</anchored>
				<center />
				<font>sheetlabelsmall</font>
				<static>Nom</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>190,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Dégâts</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>253,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Courte</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>293,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Moyenne</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>340,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Longue</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>weaponframe</to>
					<position>insidetopleft</position>
					<offset>390,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Munitions</static>
			</stringcontrol>
			
			<windowlist name="weaponlist">
				<anchored>
					<to>weaponframe</to>
					<position>over</position>
					<offset>-12,-9</offset>
					<top>
						<parent>weaponframe</parent>
						<offset>35</offset>
					</top>
				</anchored>
				<datasource>.weaponlist</datasource>
				<class>charsheet_weaponlistitem</class>
				<allowcreate />
				<allowdelete />
				<script>
					function onSortCompare(w1, w2)
						if w1.name.getValue() == "" then
							return true;
						elseif w2.name.getValue() == "" then
							return false;
						end
					
						return w1.name.getValue() &gt; w2.name.getValue();
					end
					
					function onInit()
					end
				</script>
			</windowlist>
			<scrollercontrol>
				<anchored>
					<to>weaponlist</to>
					<position>insidebottomright</position>
					<size>
						<width>45</width>
						<height>27</height>
					</size>
				</anchored>
				<target>weaponlist</target>
				<button>
					<normal>button_scroller</normal>
					<pressed>button_scroller_down</pressed>
				</button>
			</scrollercontrol>
            
            <!-- ARMOUR -->
			<genericcontrol name="armourframe">
				<bounds>15,425,485,165</bounds>
				<frame>
					<name>sheetgroup</name>
				</frame>
			</genericcontrol>
            
			<stringcontrol>
				<anchored>
					<to>armourframe</to>
					<position>insidetop</position>
					<offset>0,11</offset>
				</anchored>
				<center />
				<font>sheetlabel</font>
				<static>Protections</static>
			</stringcontrol>
			
			<stringcontrol>
				<anchored>
					<to>armourframe</to>
					<position>insidetopleft</position>
					<offset>13,25</offset>
				</anchored>
				<center />
				<font>sheetlabelsmall</font>
				<static>Nom</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>armourframe</to>
					<position>insidetopleft</position>
					<offset>195,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Localisation</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>armourframe</to>
					<position>insidetopleft</position>
					<offset>335,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Protection</static>
			</stringcontrol>
			<stringcontrol>
				<anchored>
					<to>armourframe</to>
					<position>insidetopleft</position>
					<offset>405,25</offset>
				</anchored>
				<font>sheetlabelsmall</font>
				<static>Malus d'Agilité</static>
			</stringcontrol>
			
			<windowlist name="armourlist">
				<anchored>
					<to>armourframe</to>
					<position>over</position>
					<offset>-12,-9</offset>
					<top>
						<parent>armourframe</parent>
						<offset>35</offset>
					</top>
				</anchored>
				<datasource>.armourlist</datasource>
				<class>charsheet_armourlistitem</class>
				<allowcreate />
				<allowdelete />
				<script>
					function onSortCompare(w1, w2)
						if w1.name.getValue() == "" then
							return true;
						elseif w2.name.getValue() == "" then
							return false;
						end
					
						return w1.name.getValue() &gt; w2.name.getValue();
					end
					
					function onInit()
					end
				</script>
			</windowlist>
			<scrollercontrol>
				<anchored>
					<to>armourlist</to>
					<position>insidebottomright</position>
					<size>
						<width>45</width>
						<height>27</height>
					</size>
				</anchored>
				<target>armourlist</target>
				<button>
					<normal>button_scroller</normal>
					<pressed>button_scroller_down</pressed>
				</button>
			</scrollercontrol>
            
        </sheetdata>
	</windowclass>
</root>