feat: Add macro wheels

This commit is contained in:
Linnea Gräf
2025-06-17 20:59:45 +02:00
parent 775933d516
commit 4b9e966ca7
24 changed files with 753 additions and 147 deletions

View File

@@ -0,0 +1,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="@text" 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>