Files
playlet-piped/playlet-lib/src/components/Screens/ProfileScreen/ProfileView/ProfileView.xml
T

123 lines
4.5 KiB
XML

<component name="ProfileView" extends="Group" includes="AutoBind,Focus,Disposable">
<interface>
<field id="content" type="node" onChange="OnContentSet" />
<field id="letter" type="string" alias="LetterLabel.text" />
<field id="username" type="string" alias="UsernameLabel.text" />
<field id="serverUrl" type="string" alias="ServerLabel.text" />
<field id="circlePosterInnerUri" type="uri" alias="circlePosterInner.uri" />
<field id="backendTypePosterUri" type="uri" alias="backendTypePoster.uri" />
<field id="circlePosterInnerBlendColor" type="uri" alias="circlePosterInner.blendColor" />
<field id="crownVisible" type="boolean" alias="CrownPoster.visible" />
<field id="appController" type="node" bind="/AppController" />
<field id="profilesService" type="node" bind="/ProfilesService" />
</interface>
<children>
<Rectangle
width="1280"
height="720"
color="#000000"
opacity="0.5">
</Rectangle>
<Rectangle
width="720"
height="440"
translation="[280,140]"
color="#242424">
<Group translation="[100,100]">
<Poster
id="circlePoster"
width="160"
height="160"
translation="[20,20]"
blendColor="#DDDDDDFF"
uri="pkg:/images/white-circle.png">
<CirclePoster
id="circlePosterInner"
width="152"
height="152"
blendColor="#9696C8"
uri="pkg:/images/white-circle.png"
translation="[4,4]">
<Label
id="LetterLabel"
width="152"
height="152"
vertAlign="center"
horizAlign="center">
<Font role="font" uri="font:SystemFontFile" size="120" />
</Label>
<Poster
id="backendTypePoster"
width="60"
height="60"
translation="[110,110]" />
</CirclePoster>
<Poster
id="CrownPoster"
width="60"
height="60"
translation="[50,-60]"
uri="pkg:/images/icons/crown.png"
visible="false">
</Poster>
</Poster>
<Label
id="UsernameLabel"
width="400"
horizAlign="center"
translation="[-100,210]">
<Font role="font" uri="font:MediumSystemFontFile" size="26" />
</Label>
<Label
id="ServerLabel"
width="400"
horizAlign="center"
translation="[-100,250]">
<Font role="font" uri="font:SystemFontFile" size="18" />
</Label>
</Group>
<ButtonEx
id="loginButton"
iconVisible="false"
anchor="[0.5,0.5]"
minWidth="200"
translation="[520,64]"
visible="false" />
<ButtonEx
id="activateButton"
iconVisible="false"
anchor="[0.5,0.5]"
text="Activate"
minWidth="200"
translation="[520,142]" />
<ButtonEx
id="logoutButton"
iconVisible="false"
anchor="[0.5,0.5]"
text="Logout"
minWidth="200"
translation="[520,220]" />
<ButtonEx
id="closeButton"
iconVisible="false"
anchor="[0.5,0.5]"
text="Close"
minWidth="200"
translation="[520,298]" />
<Label id="ReauthLabel"
width="640"
horizAlign="center"
wrap="true"
maxLines="2"
translation="[40,382]"
visible="false">
<Font role="font" uri="font:SystemFontFile" size="16" />
</Label>
</Rectangle>
</children>
</component>