tibia-client/modules/game_minimap/minimap.otui

63 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-06-22 07:26:22 +02:00
MiniWindow
id: minimapWindow
!text: tr('Minimap')
height: 150
icon: minimap.png
2012-06-24 14:41:39 +02:00
@onClose: Minimap.onMiniWindowClose()
&save: true
2012-06-22 07:26:22 +02:00
MiniWindowContents
padding: 3
UIMap
id: minimap
2012-06-26 07:54:55 +02:00
anchors.left: parent.left
anchors.top: parent.top
size: 110 110
UIButton
id: compass
image-source: /game_minimap/compass.png
anchors.left: minimap.right
anchors.top: minimap.top
size: 60 60
margin-left: 5
@onClick: function(...) Minimap.compassClick(...) end
Button
id: zoomOut
text: -
size: 20 20
anchors.left: minimap.right
anchors.top: compass.bottom
margin-top: 5
margin-left: 15
@onClick: Minimap.onButtonClick(self:getId())
Button
id: zoomIn
text: +
size: 20 20
anchors.left: zoomOut.left
anchors.top: zoomOut.bottom
margin-top: 2
@onClick: Minimap.onButtonClick(self:getId())
Button
id: levelUp
text: /\
size: 20 20
anchors.left: zoomOut.right
anchors.top: zoomOut.top
margin-left: 2
@onClick: Minimap.onButtonClick(self:getId())
Button
id: levelDown
text: \/
size: 20 20
anchors.left: zoomIn.right
anchors.top: zoomIn.top
margin-left: 2
@onClick: Minimap.onButtonClick(self:getId())