SCED/xml/Global.xml

100 lines
4.8 KiB
XML
Raw Normal View History

<!-- Default formatting -->
2022-11-24 11:06:02 -05:00
<Defaults>
<!-- 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"/>
<Button class="headerButton" minWidth="50" preferredWidth="50" flexibleWidth="0" color="clear"/>
<Text class="headerText" minWidth="200" flexibleWidth="100" fontSize="32"/>
<!-- Window layouting -->
2022-12-06 14:57:33 -05:00
<VerticalLayout color="black" visibility="Admin" outlineSize="1 1" outline="#303030"/>
<VerticalLayout class="window" active="false" width="800" height="780"/>
<Row class="tblRow" preferredHeight="75"/>
2022-11-24 11:06:02 -05:00
</Defaults>
<!-- Buttons in the bottom right of the screen -->
2022-12-06 14:57:33 -05:00
<VerticalLayout rectAlignment="LowerRight" width="40" height="240" offsetXY="-1 70">
<Button color="#000000" icon="cthulhu" tooltip="Campaigns" onClick="onClick_toggleUi(Campaigns)"/>
<Button color="#000000" icon="dark-cult" tooltip="Standalone Scenarios" onClick="onClick_toggleUi(Standalone Scenarios)"/>
<Button color="#000000" icon="yog-sothoth" tooltip="Extras" onClick="onClick_toggleUi(Extras)"/>
<Button color="#000000" icon="elder-sign" tooltip="Investigators" onClick="onClick_toggleUi(Investigators)"/>
<Button color="#000000" icon="devourer" tooltip="Community Content" onClick="onClick_toggleUi(Community Content)"/>
<Button color="#000000" icon="option-gear" tooltip="Option Panel" onClick="onClick_toggleUi(Option Panel)"/>
<!--<Button icon="download" tooltip="ArkhamDB Deck Importer" onClick="onClick_toggleUi(Deck Importer)"/> -->
2022-11-24 11:06:02 -05:00
</VerticalLayout>
<!-- Basic UI that will be replaced based on title -->
<VerticalLayout id="load_ui" class="window">
2022-12-06 14:57:33 -05:00
<HorizontalLayout class="headerLayout">
<Button class="headerButton" icon="refresh" tooltip="Refresh List" tooltipPosition="Right" onClick="onClick_refreshList"/>
<Text id="title" class="headerText">Loadable Items</Text>
<Button class="headerButton" icon="close" tooltip="Close" onClick="onClick_toggleUi(Hidden)"/>
</HorizontalLayout>
<VerticalScrollView color="transparent" minHeight="100" flexibleHeight="100">
<Panel id="ui_update_height" height="24">
<VerticalLayout id="ui_update_point" padding="10">
<Text>Please refresh to see available items.</Text>
</VerticalLayout>
2022-11-24 11:06:02 -05:00
</Panel>
2022-12-06 14:57:33 -05:00
</VerticalScrollView>
<Panel color="rgb(0,0,0)" minHeight="50" preferredHeight="50" flexibleHeight="0">
<Button id="load_button" active="false" onClick="onClick_load">Load:</Button>
<HorizontalLayout id="progress_display">
<ProgressBar id="download_progress" percentage="0" color="#000000" fillImageColor="#333333"/>
<Button onClick="onClick_cancel" active="false">Cancel</Button>
</HorizontalLayout>
</Panel>
2022-11-24 11:06:02 -05:00
</VerticalLayout>
<!-- Option Panel -->
<VerticalLayout id="optionPanel" class="window">
2022-12-06 14:57:33 -05:00
<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>
2022-12-06 15:26:08 -05:00
<Toggle id="toggle1" onValueChanged="onClick_toggleOption(1)">Playermats: Snap tags for 'Assets'</Toggle>
2022-12-06 14:57:33 -05:00
</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>