-
Notifications
You must be signed in to change notification settings - Fork 0
/
ShowWeaponbarId.xml
24 lines (21 loc) · 1.11 KB
/
ShowWeaponbarId.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<GuiXml>
<!-- default font -->
<Font name="ShowWeaponIdH1" font="$(BOLD_FONT)|60|soft-shadow-thick" />
<Controls>
<!-- make it moveable: mouseEnabled="true" movable="true" clampedToScreen="true" -->
<TopLevelControl name="ShowWeaponbarIdIndicator" mouseEnabled="true" movable="true" clampedToScreen="true">
<Dimensions x="40" y="60" />
<Anchor point="BOTTOM" relativeTo="GuiRoot" relativePoint="CENTER" offsetY="-20" />
<!-- OnMoveStop event (when user stopped moving indicator) => call "OnIndicatorMoveStop"-EventHandler -->
<OnMoveStop>
ShowWeaponbarId.OnIndicatorMoveStop()
</OnMoveStop>
<Controls>
<Label name="$(parent)Label" width="40" height="60" font="ShowWeaponIdH1" inheritAlpha="true" color="FFFFFF"
wrapMode="TRUNCATE" verticalAlignment="TOP" horizontalAlignment="CENTER" text="ShowWeaponbarId">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" />
</Label>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>