aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/firmament/gui/config/macros/wheel.xml
blob: 80826c96fac6852357891af7708b69c974c111f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" ?>
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:firm="http://firmament.nea.moe/moulconfig"
>
	<Panel background="TRANSPARENT" insets="10">
		<Column>
			<ScrollPanel width="380" height="300">
				<Align horizontal="CENTER">
					<Array data="@wheels">
						<Panel background="TRANSPARENT" insets="3">
							<Panel background="VANILLA" insets="6">
								<Column>
									<Row>
										<Text text="@keyCombo" width="250"/>
										<Align horizontal="RIGHT">
											<Row>
												<firm:Button onClick="@edit">
													<Text text="Edit"/>
												</firm:Button>
												<Spacer width="12"/>
												<firm:Button onClick="@delete">
													<Text text="Delete"/>
												</firm:Button>
											</Row>
										</Align>
									</Row>
									<Array data="@commands">
										<Text text="@textR" width="280"/>
									</Array>
								</Column>
							</Panel>

						</Panel>
					</Array>
				</Align>
			</ScrollPanel>
			<Align horizontal="RIGHT">
				<Row>
					<firm:Button onClick="@discard">
						<Text text="Discard Changes"/>
					</firm:Button>
					<firm:Button onClick="@saveAndClose">
						<Text text="Save &amp; Close"/>
					</firm:Button>
					<firm:Button onClick="@save">
						<Text text="Save"/>
					</firm:Button>
					<firm:Button onClick="@addWheel">
						<Text text="Add Wheel"/>
					</firm:Button>
				</Row>
			</Align>
		</Column>
	</Panel>
</Root>