작성자 | SCIILiberty.555 | ||
---|---|---|---|
작성일 | 2010-09-17 21:40:56 KST | 조회 | 322 |
제목 |
ChatBar 파일
|
ChatBar.SC2Layout
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Desc>
<Frame type="RecipientTooltip" name="RecipientTooltip">
<Insets top="15" left="15" bottom="15" right="15"/>
<Frame type="Image" name="BackgroundImage" template="StandardTemplates/StandardBorderTooltipGame">
<Anchor relative="$parent"/>
</Frame>
<Frame type="Label" name="Label">
<Style val="InternationalTooltip"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-15"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="15"/>
<Options val="NoWrapping"/>
</Frame>
</Frame>
<Frame type="ChatBar" name="ChatBarTemplate">
<Frame type="Image" name="BackgroundImage">
<Anchor relative="$parent"/>
<Texture val="@@UI/ChatBarBorder" layer="0"/>
<TextureType val="Border" layer="0"/>
<Tiled val="true" layer="0"/>
</Frame>
<Frame type="Image" name="RecipientImage">
<Texture val="@@UI/ResourceIconMinerals" layer="0"/>
<TextureType val="Normal" layer="0"/>
<Anchor side="Top" relative="$parent" pos="Min" offset="21"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="24"/>
<Width val="32"/>
<Height val="32"/>
</Frame>
<Frame type="Label" name="RecipientLabel">
<Style val="ChatBarRecipient"/>
<Anchor side="Top" relative="$parent" pos="Min" offset="10"/>
<Anchor side="Left" relative="$parent/RecipientImage" pos="Max" offset="5"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-20"/>
</Frame>
<Frame type="EditBox" name="ChatEditBox">
<Style val="ChatBar"/>
<Anchor side="Top" relative="$parent" pos="Min" offset="18"/>
<Anchor side="Left" relative="$parent/RecipientLabel" pos="Max" offset="5"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-28"/>
<Anchor side="Right" relative="$parent" pos="Max" offset="-24"/>
</Frame>
</Frame>
</Desc>
이것을 템플릿에 넣을때는 말했던것처럼 ChatBar/ChatBarTemplate 이런식으로 넣으면 됩니다.
© PlayXP Inc. All Rights Reserved.