fix label disabled colors

master
Eduardo Bart 13 years ago
parent 8ad16fec18
commit f750920a36

@ -7,6 +7,9 @@ Label < UILabel
LargerLabel < Label
GameLabel < UILabel
font: verdana-11px-antialised
color: #aaaaaa
FrameCounter < UIFrameCounter
size: 68 16

@ -14,7 +14,7 @@ ManaBar < UIProgressBar
anchors.left: parent.left
anchors.right: parent.right
HealthLabel < Label
HealthLabel < GameLabel
color: white
text-align: center
font: verdana-11px-rounded
@ -23,7 +23,7 @@ HealthLabel < Label
anchors.top: parent.top
margin-top: 2
ManaLabel < Label
ManaLabel < GameLabel
color: white
text-align: center
font: verdana-11px-rounded

@ -80,7 +80,7 @@ UIWindow
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 5
Label
GameLabel
id: soul
anchors.top: slot9.bottom
anchors.bottom: slot8.bottom
@ -94,7 +94,7 @@ UIWindow
source: /core_styles/images/panel_flat.png
border: 1
Label
GameLabel
id: capacity
anchors.top: slot10.bottom
anchors.bottom: slot8.bottom

@ -118,15 +118,6 @@ local function update()
end
-- public functions
function Outfit.test()
local button = createWidget('Button', rootWidget)
button:setText('Set Outfit')
button:moveTo({x = 0, y = 100})
button:setWidth('100')
button:setHeight('30')
button.onClick = function() Game.openOutfitWindow() end
end
function Outfit.create(creature, outfitList)
Outfit.destroy()
window = displayUI('outfit.otui', { parent = rootWidget })
@ -207,8 +198,5 @@ function Outfit.previousType()
end
-- hooked events
connect(Game, { onOpenOutfitWindow = Outfit.create,
onLogout = Outfit.destroy })
connect(Game, { onLogin = Outfit.test })

@ -20,13 +20,13 @@ SkillButton < UIButton
end
end
SkillNameLabel < Label
SkillNameLabel < GameLabel
font: verdana-11px-monochrome
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
SkillValueLabel < Label
SkillValueLabel < GameLabel
id: value
font: verdana-11px-monochrome
text-align: topright
@ -49,7 +49,7 @@ SkillPercentPanel < UIProgressBar
MiniWindow
id: skillWindow
title: Skills
size: 200 220
size: 200 400
Panel
id: skillPanel

@ -1,4 +1,4 @@
CenterLabel < Label
CenterLabel < GameLabel
font: verdana-11px-rounded
height: 64
text-align: center
@ -6,7 +6,7 @@ CenterLabel < Label
anchors.left: parent.left
anchors.right: parent.right
BottomLabel < Label
BottomLabel < GameLabel
font: verdana-11px-rounded
height: 16
text-align: center

@ -1,9 +1,7 @@
VipListLabel < Label
VipListLabel < GameLabel
font: verdana-11px-monochrome
margin-left: 5
$disabled: ~
MiniWindow
id: vipWindow
title: VIP List

Loading…
Cancel
Save