nevarim
05-01-2017 20:13:25
hi all i have 2 questions:
i made with skineditor a file with 2 buttons with 4 action, but how can i add them into leyout editor? which is the file i must edit ?
iused the file attache, buttons are not regular, how can i make by code for to use only "visible" surface?
thanks for help
Neva
i made with skineditor a file with 2 buttons with 4 action, but how can i add them into leyout editor? which is the file i must edit ?
iused the file attache, buttons are not regular, how can i make by code for to use only "visible" surface?
thanks for help
Neva
<?xml version="1.0" encoding="UTF-8"?>
-<MyGUI version="1.1" type="Resource">
-<Resource type="ResourceSkin" texture="buttons.png" size="115 56" name="btn1">
-<BasisSkin type="SubSkin" align="Stretch" offset="0 0 115 56">
<State name="disabled" offset="268 705 115 56"/>
<State name="normal" offset="21 705 115 56"/>
<State name="highlighted" offset="394 705 115 56"/>
<State name="pushed" offset="143 705 115 56"/>
</BasisSkin>
</Resource>
-<Resource type="ResourceSkin" texture="buttons.png" size="116 56" name="btn2">
-<BasisSkin type="SubSkin" align="Stretch" offset="0 0 116 56">
<State name="disabled" offset="266 643 116 56"/>
<State name="normal" offset="19 643 116 56"/>
<State name="highlighted" offset="392 643 116 56"/>
<State name="pushed" offset="141 643 116 56"/>
</BasisSkin>
</Resource>
-<Resource type="ResourceSkin" texture="buttons.png" size="116 56" name="btn3">
-<BasisSkin type="SubSkin" align="Stretch" offset="0 0 116 56">
<State name="disabled" offset="265 581 116 56"/>
<State name="normal" offset="18 581 116 56"/>
<State name="highlighted" offset="391 581 116 56"/>
<State name="pushed" offset="140 581 116 56"/>
</BasisSkin>
</Resource>
-<Resource type="ResourceSkin" texture="buttons.png" size="117 56" name="btn4">
-<BasisSkin type="SubSkin" align="Stretch" offset="0 0 117 56">
<State name="disabled" offset="266 517 117 56"/>
<State name="normal" offset="19 517 117 56"/>
<State name="highlighted" offset="392 517 117 56"/>
<State name="pushed" offset="141 517 117 56"/>
</BasisSkin>
</Resource>
-<Resource type="ResourceSkin" texture="buttons.png" size="116 56" name="btn5">
-<BasisSkin type="SubSkin" align="Stretch" offset="0 0 116 56">
<State name="disabled" offset="266 456 116 56"/>
<State name="normal" offset="19 456 116 56"/>
<State name="highlighted" offset="392 456 116 56"/>
<State name="pushed" offset="141 456 116 56"/>
</BasisSkin>
</Resource>
</MyGUI>