tibia-client/modules/game_skills/skills.otui

171 lines
3.2 KiB
Plaintext
Raw Normal View History

2011-09-13 23:54:23 +02:00
SkillFirstWidget < UIWidget
2011-11-01 03:35:50 +01:00
2011-11-14 09:46:27 +01:00
SkillButton < UIButton
2011-12-22 05:06:00 +01:00
height: 21
margin-top: 3
2011-11-17 22:41:02 +01:00
margin-left: 10
margin-right: 10
2011-12-22 05:06:00 +01:00
@onClick: |
function(self)
local percentBar = self:getChildById('percent')
if percentBar then
percentBar:setVisible(not percentBar:isVisible())
if percentBar:isVisible() then
self:setHeight(21)
else
self:setHeight(21 - 6)
end
self:updateParentLayout()
end
end
2011-11-14 09:46:27 +01:00
SkillNameLabel < Label
font: verdana-11px-monochrome
2011-09-13 23:54:23 +02:00
anchors.left: parent.left
2011-11-14 09:46:27 +01:00
anchors.top: parent.top
anchors.bottom: parent.bottom
2011-11-01 03:35:50 +01:00
2011-12-22 05:06:00 +01:00
SkillValueLabel < Label
id: value
2011-11-01 03:35:50 +01:00
font: verdana-11px-monochrome
2011-12-22 05:06:00 +01:00
text-align: topright
width: 64
2011-09-13 23:54:23 +02:00
anchors.right: parent.right
2011-11-14 09:46:27 +01:00
anchors.top: parent.top
anchors.bottom: parent.bottom
2011-11-01 03:35:50 +01:00
2011-11-14 03:40:18 +01:00
SkillPercentPanel < UIProgressBar
2011-12-22 05:06:00 +01:00
id: percent
2011-11-14 03:40:18 +01:00
color: black
background-color: green
height: 5
2011-12-22 05:06:00 +01:00
margin-top: 15
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
tooltip: 0
2011-09-13 23:54:23 +02:00
MiniWindow
2011-09-13 23:54:23 +02:00
id: skillWindow
title: Skills
2011-11-14 03:40:18 +01:00
size: 200 220
2011-12-22 05:06:00 +01:00
2011-09-13 23:54:23 +02:00
Panel
id: skillPanel
anchors.fill: parent
2011-11-17 22:41:02 +01:00
margin-top: 26
margin-bottom: 3
margin-left: 3
margin-right: 3
2011-11-14 09:46:27 +01:00
layout: verticalBox
2011-12-22 05:06:00 +01:00
SkillButton
id: experience
height: 15
SkillNameLabel
text: Experience
SkillValueLabel
SkillButton
id: level
SkillNameLabel
text: Level
SkillValueLabel
SkillPercentPanel
background-color: red
SkillButton
id: health
height: 15
SkillNameLabel
text: Hit Points
SkillValueLabel
SkillButton
id: mana
height: 15
SkillNameLabel
text: Mana
SkillValueLabel
SkillButton
id: soul
height: 15
SkillNameLabel
text: Soul Points
SkillValueLabel
SkillButton
id: capacity
height: 15
SkillNameLabel
text: Capacity
SkillValueLabel
SkillButton
id: stamina
SkillNameLabel
text: Stamina
SkillValueLabel
SkillPercentPanel
SkillButton
id: magiclevel
SkillNameLabel
text: Magic Level
SkillValueLabel
SkillPercentPanel
background-color: red
SkillButton
id: skillId0
SkillNameLabel
text: Fist Fighting
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId1
SkillNameLabel
text: Club Fighting
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId2
SkillNameLabel
text: Sword Fighting
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId3
SkillNameLabel
text: Axe Fighting
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId4
SkillNameLabel
text: Distance Fighting
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId5
SkillNameLabel
text: Shielding
SkillValueLabel
SkillPercentPanel
SkillButton
id: skillId6
SkillNameLabel
text: Fishing
SkillValueLabel
SkillPercentPanel