WIP: Terrible MoulConfig rewrite
This commit is contained in:
@@ -6,8 +6,7 @@ SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd">
|
||||
<Root xmlns="http://notenoughupdates.org/moulconfig">
|
||||
<Panel background="VANILLA" insets="10">
|
||||
<Column>
|
||||
<Row>
|
||||
|
||||
36
src/main/resources/assets/firmament/gui/config/main.xml
Normal file
36
src/main/resources/assets/firmament/gui/config/main.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<Root xmlns="http://notenoughupdates.org/moulconfig"
|
||||
xmlns:firm="http://firmament.nea.moe/moulconfig">
|
||||
<Center>
|
||||
<Panel background="VANILLA" insets="10">
|
||||
<Column>
|
||||
<Text text="Firmament Config"/>
|
||||
<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>
|
||||
@@ -6,9 +6,7 @@ SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:firm="http://firmament.nea.moe/moulconfig"
|
||||
xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd">
|
||||
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:firm="http://firmament.nea.moe/moulconfig">
|
||||
<Column>
|
||||
<Row>
|
||||
<firm:Bar progress="@moneyCurrent" total="@moneyMax" fillColor="#bbbb00" emptyColor="#909000"/>
|
||||
|
||||
Reference in New Issue
Block a user