diff options
Diffstat (limited to 'src/main/resources/assets/firmament/gui')
-rw-r--r-- | src/main/resources/assets/firmament/gui/config/category.xml | 42 | ||||
-rw-r--r-- | src/main/resources/assets/firmament/gui/config/main.xml | 6 |
2 files changed, 45 insertions, 3 deletions
diff --git a/src/main/resources/assets/firmament/gui/config/category.xml b/src/main/resources/assets/firmament/gui/config/category.xml new file mode 100644 index 0000000..e34b018 --- /dev/null +++ b/src/main/resources/assets/firmament/gui/config/category.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<Root xmlns="http://notenoughupdates.org/moulconfig" + xmlns:firm="http://firmament.nea.moe/moulconfig"> + <Center> + <Panel background="VANILLA" insets="10"> + <Column> + <Row> + <Align vertical="CENTER"> + <firm:Button onClick="@close"> + <Text text="Back"/> + </firm:Button> + </Align> + <Align vertical="CENTER"> + <Row> + <Text text=" "/> + <Text text="@name"/> + </Row> + </Align> + </Row> + <Spacer height="5"/> + <ScrollPanel width="400" height="300"> + <Array data="@configs"> + <firm:Fixed width="380" height="30"> + <Panel background="VANILLA"> + <Center> + <Row> + <Center> + <Text text="@name"/> + </Center> + <firm:Button onClick="@openEditor"> + <Text text="Edit"/> + </firm:Button> + </Row> + </Center> + </Panel> + </firm:Fixed> + </Array> + </ScrollPanel> + </Column> + </Panel> + </Center> +</Root> diff --git a/src/main/resources/assets/firmament/gui/config/main.xml b/src/main/resources/assets/firmament/gui/config/main.xml index 84b0115..8953ada 100644 --- a/src/main/resources/assets/firmament/gui/config/main.xml +++ b/src/main/resources/assets/firmament/gui/config/main.xml @@ -6,7 +6,7 @@ <Column> <Text text="Firmament Config"/> <ScrollPanel width="400" height="300"> - <Array data="@configs"> + <Array data="@categories"> <firm:Fixed width="380" height="30"> <Panel background="VANILLA"> <Center> @@ -14,8 +14,8 @@ <Center> <Text text="@name"/> </Center> - <firm:Button onClick="@openEditor"> - <Text text="Edit"/> + <firm:Button onClick="@open"> + <Text text="Open"/> </firm:Button> </Row> </Center> |