tibia-client/modules/game_inventory/inventory.otui

140 lines
3.0 KiB
Plaintext
Raw Normal View History

HeadSlot < Item
id: slot1
image-source: /game_inventory/slots/head.png
BodySlot < Item
id: slot4
image-source: /game_inventory/slots/body.png
LegSlot < Item
id: slot7
image-source: /game_inventory/slots/legs.png
FeetSlot < Item
id: slot8
image-source: /game_inventory/slots/feet.png
NeckSlot < Item
id: slot2
image-source: /game_inventory/slots/neck.png
LeftSlot < Item
id: slot6
image-source: /game_inventory/slots/left-hand.png
FingerSlot < Item
id: slot9
image-source: /game_inventory/slots/finger.png
BackSlot < Item
id: slot3
image-source: /game_inventory/slots/back.png
RightSlot < Item
id: slot5
image-source: /game_inventory/slots/right-hand.png
AmmoSlot < Item
id: slot10
image-source: /game_inventory/slots/ammo.png
MiniWindow
2012-06-21 21:31:22 +02:00
id: inventoryWindow
!text: tr('Inventory')
icon: inventory.png
height: 180
2012-06-21 21:31:22 +02:00
@onClose: Inventory.onMiniWindowClose()
2012-06-24 14:41:39 +02:00
&save: true
2011-11-13 06:11:47 +01:00
MiniWindowContents
HeadSlot
// head
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
2012-04-30 18:40:12 +02:00
margin-top: 4
&position: {x=65535, y=1, z=0}
2011-11-13 06:11:47 +01:00
BodySlot
// body
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=4, z=0}
2011-11-13 06:11:47 +01:00
LegSlot
// legs
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=7, z=0}
2011-11-13 06:11:47 +01:00
FeetSlot
// feet
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=8, z=0}
2011-11-13 06:11:47 +01:00
NeckSlot
// neck
anchors.top: parent.top
anchors.right: slot1.left
margin-top: 10
margin-right: 5
&position: {x=65535, y=2, z=0}
2011-11-13 06:11:47 +01:00
LeftSlot
// left hand
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=6, z=0}
2011-11-13 06:11:47 +01:00
FingerSlot
// finger
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=9, z=0}
2011-11-13 06:11:47 +01:00
BackSlot
// back
anchors.top: parent.top
anchors.left: slot1.right
margin-top: 10
margin-left: 5
&position: {x=65535, y=3, z=0}
2011-11-13 06:11:47 +01:00
RightSlot
// right hand
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=5, z=0}
2011-11-17 22:41:02 +01:00
AmmoSlot
// ammo
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
&position: {x=65535, y=10, z=0}
2011-11-17 22:41:02 +01:00
GameLabel
id: capacity
2012-05-01 04:00:07 +02:00
height: 30
anchors.top: slot10.bottom
anchors.left: slot10.left
margin-top: 5
text-align: center
text-auto-resize: true
GameLabel
id: soul
height: 30
anchors.top: slot9.bottom
anchors.left: slot9.left
margin-top: 5
text-align: center
text-auto-resize: true
2011-11-10 06:29:25 +01:00