2019-02-11 04:40:07 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<component name="ServerSelection" extends="Scene">
|
|
|
|
<children>
|
|
|
|
<label text="Connect to Server" translation="[150, 150]" />
|
2019-02-18 22:44:17 +00:00
|
|
|
<LayoutGroup layoutDirection="vert" itemSpacings="20" translation="[150, 200]">
|
|
|
|
|
|
|
|
<LayoutGroup layoutDirection="horiz" itemSpacings="20">
|
|
|
|
<Label text="Host:" />
|
|
|
|
<TextEditBox
|
|
|
|
id="host"
|
|
|
|
hintText="127.0.0.1 or https://example.com"
|
|
|
|
hintTextColor="#555555"
|
|
|
|
textColor="#777777"
|
|
|
|
width="500"
|
|
|
|
/>
|
|
|
|
</LayoutGroup>
|
|
|
|
|
|
|
|
<LayoutGroup layoutDirection="horiz" itemSpacings="20">
|
|
|
|
<Label text="Port:" />
|
|
|
|
<TextEditBox
|
|
|
|
id="port"
|
|
|
|
hintText="8096 or blank"
|
|
|
|
hintTextColor="#555555"
|
|
|
|
textColor="#777777"
|
|
|
|
width="500"
|
|
|
|
/>
|
|
|
|
</LayoutGroup>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
id="submit_btn"
|
|
|
|
text="Submit"
|
|
|
|
/>
|
|
|
|
</LayoutGroup>
|
|
|
|
|
2019-02-11 04:40:07 +00:00
|
|
|
</children>
|
|
|
|
|
|
|
|
<interface>
|
2019-02-18 22:44:17 +00:00
|
|
|
<field id="hostname" type="string" alias="host.text" />
|
|
|
|
<field id="port" type="string" alias="port.text" />
|
2019-02-11 04:40:07 +00:00
|
|
|
</interface>
|
|
|
|
|
2019-02-18 22:44:17 +00:00
|
|
|
<script type="text/brightscript" uri="pkg:/components/ServerScene.brs"/>
|
2019-02-11 04:40:07 +00:00
|
|
|
</component>
|