custom font added

This commit is contained in:
Chr1Z93 2022-12-07 13:02:09 +01:00
parent d4a41b7b02
commit 229277d1d7
3 changed files with 78 additions and 52 deletions

View File

@ -48,5 +48,15 @@
"Name": "option-gear",
"Type": 0,
"URL": "http://cloud-3.steamusercontent.com/ugc/2026086584372569912/5CB461AEAE2E59D3064D90A776EB86C46081EC78/"
},
{
"Name": "font_birmingham",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2027213118466443497/3CF9BB9AF968D245961494CC9A151774EB9BA638/"
},
{
"Name": "font_teutonic",
"Type": 1,
"URL": "http://cloud-3.steamusercontent.com/ugc/2027213118466409230/EA26C778B3A2C7D7F3FB2765BD6EB6FDACAB863E/"
}
]

View File

@ -3,7 +3,6 @@
<!-- general Stuff -->
<Text color="white" fontSize="16"/>
<Button tooltipPosition="Left" color="black"/>
<Toggle textColor="#AAAAAA" fontSize="17" isOn="False"/>
<!-- Window title and buttons -->
<HorizontalLayout class="headerLayout" height="75" padding="5"/>
@ -12,9 +11,6 @@
<!-- Window layouting -->
<VerticalLayout color="black" visibility="Admin" outlineSize="1 1" outline="#303030"/>
<VerticalLayout class="window" active="false" width="800" height="780"/>
<Row class="tblRow" preferredHeight="75"/>
</Defaults>
<!-- Buttons in the bottom right of the screen -->
@ -29,7 +25,7 @@
</VerticalLayout>
<!-- Basic UI that will be replaced based on title -->
<VerticalLayout id="load_ui" class="window">
<VerticalLayout id="load_ui" active="false" width="800" height="780">
<HorizontalLayout class="headerLayout">
<Button class="headerButton" icon="refresh" tooltip="Refresh List" tooltipPosition="Right" onClick="onClick_refreshList"/>
<Text id="title" class="headerText">Loadable Items</Text>
@ -51,50 +47,4 @@
</Panel>
</VerticalLayout>
<!-- Option Panel -->
<VerticalLayout id="optionPanel" class="window">
<HorizontalLayout class="headerLayout">
<Button class="headerButton" icon="refresh" tooltip="Default Settings" tooltipPosition="Right" onClick="onClick_defaultSettings"/>
<Text class="headerText">Option Panel</Text>
<Button class="headerButton" icon="close" tooltip="Close" onClick="onClick_toggleUi(Hidden)"/>
</HorizontalLayout>
<VerticalScrollView color="transparent" minHeight="100" flexibleHeight="100">
<TableLayout padding="20" cellPadding="10" cellSpacing="10">
<Row class="tblRow">
<Cell>
<Toggle id="toggle1" onValueChanged="onClick_toggleOption(1)">Playermats: Snap tags for 'Assets'</Toggle>
</Cell>
<Cell>
<Toggle id="toggle2" onValueChanged="onClick_toggleOption(2)">Toggle Text 2</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle3" onValueChanged="onClick_toggleOption(3)">Toggle Text 3</Toggle>
</Cell>
<Cell>
<Toggle id="toggle4" onValueChanged="onClick_toggleOption(4)">Toggle Text 4</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle5" onValueChanged="onClick_toggleOption(5)">Toggle Text 5</Toggle>
</Cell>
<Cell>
<Toggle id="toggle6" onValueChanged="onClick_toggleOption(6)">Toggle Text 6</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle7" onValueChanged="onClick_toggleOption(7)">Toggle Text 7</Toggle>
</Cell>
<Cell>
<Toggle id="toggle8" onValueChanged="onClick_toggleOption(8)">Toggle Text 8</Toggle>
</Cell>
</Row>
</TableLayout>
</VerticalScrollView>
<Panel color="rgb(0,0,0)" minHeight="50" preferredHeight="50" flexibleHeight="0">
<Button onClick="onClick_applySettings" color="#888888" fontSize="25">Apply Settings</Button>
</Panel>
</VerticalLayout>
<Include src="OptionPanel.xml"/>

66
xml/OptionPanel.xml Normal file
View File

@ -0,0 +1,66 @@
<!-- Default formatting -->
<Defaults>
<!-- general Stuff -->
<Text font="font_birmingham" color="white" fontSize="16"/>
<Button font="font_birmingham" tooltipPosition="Left" color="black"/>
<Toggle font="font_birmingham" textColor="#AAAAAA" fontSize="17" isOn="False"/>
<!-- Window title and buttons -->
<HorizontalLayout class="headerLayout" height="75" padding="5"/>
<Button class="headerButton" minWidth="50" preferredWidth="50" flexibleWidth="0" color="clear"/>
<Text class="headerText" minWidth="200" flexibleWidth="100" fontSize="32"/>
<!-- Window layouting -->
<VerticalLayout color="black" visibility="Admin" outlineSize="1 1" outline="#303030"/>
<VerticalLayout class="window" active="false" width="800" height="780"/>
<Row class="tblRow" preferredHeight="75"/>
</Defaults>
<!-- Option Panel -->
<VerticalLayout id="optionPanel" class="window">
<HorizontalLayout class="headerLayout">
<Button class="headerButton" icon="refresh" tooltip="Default Settings" tooltipPosition="Right" onClick="onClick_defaultSettings"/>
<Text class="headerText">Option Panel</Text>
<Button class="headerButton" icon="close" tooltip="Close" onClick="onClick_toggleUi(Hidden)"/>
</HorizontalLayout>
<VerticalScrollView color="transparent" minHeight="100" flexibleHeight="100">
<TableLayout padding="20" cellPadding="10" cellSpacing="10">
<Row class="tblRow">
<Cell>
<Toggle id="toggle1" onValueChanged="onClick_toggleOption(1)">Playermats: Snap tags for 'Assets'</Toggle>
</Cell>
<Cell>
<Toggle id="toggle2" onValueChanged="onClick_toggleOption(2)">Toggle Text 2</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle3" onValueChanged="onClick_toggleOption(3)">Toggle Text 3</Toggle>
</Cell>
<Cell>
<Toggle id="toggle4" onValueChanged="onClick_toggleOption(4)">Toggle Text 4</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle5" onValueChanged="onClick_toggleOption(5)">Toggle Text 5</Toggle>
</Cell>
<Cell>
<Toggle id="toggle6" onValueChanged="onClick_toggleOption(6)">Toggle Text 6</Toggle>
</Cell>
</Row>
<Row class="tblRow">
<Cell>
<Toggle id="toggle7" onValueChanged="onClick_toggleOption(7)">Toggle Text 7</Toggle>
</Cell>
<Cell>
<Toggle id="toggle8" onValueChanged="onClick_toggleOption(8)">Toggle Text 8</Toggle>
</Cell>
</Row>
</TableLayout>
</VerticalScrollView>
<Panel color="rgb(0,0,0)" minHeight="50" preferredHeight="50" flexibleHeight="0">
<Button onClick="onClick_applySettings" color="#888888" fontSize="25">Apply Settings</Button>
</Panel>
</VerticalLayout>