aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/firmament/gui/npc_waypoints.xml
blob: 25027e3c927363cc0658234e22ca9cefc2da8892 (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
<?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="5">
            <Column>
                <Center>
                    <TextField value="@search" width="200"/>
                </Center>
                <firm:Tick tick="@tick"/>
                <Spacer height="5"/>
                <Panel background="TRANSPARENT" insets="4">
                    <ScrollPanel width="200" height="300">
                        <Array data="@results">
                            <Row>
                                <Text text="@name" width="180"/>
                                <firm:Hover
                                    lines="Click to set this waypoint as your destination;Shift-Click to warp to the nearest warp point and set this as your destination">
                                    <firm:Button onClick="@click" noBackground="true">
                                        <When condition="@isSelected">
                                            <firm:Image resource="firmament:textures/gui/waypoint_selected.png"
                                                        width="16"
                                                        height="16"/>
                                            <firm:Image resource="firmament:textures/gui/waypoint_unselected.png"
                                                        width="16"
                                                        height="16"/>
                                        </When>
                                    </firm:Button>
                                </firm:Hover>
                            </Row>
                        </Array>
                    </ScrollPanel>
                </Panel>
            </Column>
        </Panel>
    </Center>
</Root>