| Updated: | 06-30-11 01:19 PM |
| Created: | 06-02-09 02:13 PM |
| Downloads: | 21,100 |
| Favorites: | 190 |
| MD5: |


File Name |
Version |
Size |
Author |
Date |
40100.1 |
13kB |
Katae |
06-12-11 02:13 PM |
|
40000.1 |
13kB |
Katae |
10-13-10 08:30 PM |
|
30300.2 |
13kB |
Katae |
03-25-10 05:12 PM |
|
1.5.1 |
13kB |
Katae |
11-11-09 07:39 AM |
|
1.5a |
13kB |
Katae |
10-12-09 02:06 AM |
|
1.5 |
13kB |
Katae |
10-07-09 07:31 PM |
|
1.4.1 |
10kB |
Katae |
08-18-09 03:57 AM |
|
1.4 |
10kB |
Katae |
08-10-09 07:58 AM |
|
1.3.2 |
9kB |
Katae |
08-04-09 04:47 PM |
|
1.3.1 |
9kB |
Katae |
08-03-09 02:50 AM |
|
1.3 |
9kB |
Katae |
08-01-09 07:00 AM |
|
1.2 |
8kB |
Katae |
07-08-09 10:39 AM |
|
1.1a |
6kB |
Katae |
06-30-09 09:41 PM |
|
1.1 |
6kB |
Katae |
06-30-09 06:36 PM |
|
1.0a |
2kB |
Katae |
06-02-09 11:16 PM |
|
1.0 |
3kB |
Katae |
06-02-09 02:39 PM |
![]() |
Comment Options |
|
|
|
|
OnEvent text display
I'm having a bit of an issue getting text to display in an OnEvent or OnUpdate function. This code should render a faded black box out of combat (good so far) with the text showing "testing" at the defaults (not showing). Combat recognition works (the panel goes opaque), but at no time is any text displayed.
Any idea what I'm missing here? Code:
lpanels:CreateLayout("Death Knight", {
{ -- extra Runic Power display
name = "RunicPower", parent = "UIParent", anchor_to = "CENTER", anchor_from = "CENTER", y_off = 100, width = 200, height = 100, level = 0,
OnLoad = function(self)
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("PLAYER_REGEN_ENABLED")
self:RegisterEvent("PLAYER_REGEN_DISABLED")
self:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
end,
OnEvent = function(self)
if UnitAffectingCombat("player") then
self:SetAlpha(1.0)
text = {
font = "Interface\\AddOns\\ArkInventory\\Fonts\\zekton__.ttf", size = 24, color = "0, 0.5, 0.5",
string = function(self)
curPower = UnitPower("player")
return curPower
end,
}
else
self:SetAlpha(0.5)
text = {
string = "testing"
}
end
end,
},
})
__________________
Some days it's just not worth chewing through the restraints... |
|
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Hello How do i install it i cant find any where in my wow folder Layout ?
.i just try to copy to addon ( layout_example.lua) and it is not working .I hope you can help me.. ![]() |
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
|
|
|
|
|
|
||
lpanels:ApplyLayout("n:katae", "Simple Viewport", "Chat Background") |
||
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
|
|
|
|
|
|
|
|
A Deviate Faerie Dragon
Forum posts: 16
File comments: 184
Uploads: 0
|
Was relly excited to use this. I copied teh example and changed name to layout.lua, loaded game and nothing there. I thought there would be some panels for me to tweak or play with my text editor, but nothing shows up. I check to see if addon was loaded and it showing up on addon list.
Is there something extra I am suppose to do to the example to make it work? besides changing the name to layout.lua? |
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 0
File comments: 80
Uploads: 0
|
![]() |
|
|
|
|
|
||
|
||
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 80
Uploads: 0
|
Hello
since the update my chat is so dark, ( I wonder what lies on the ![]()
Last edited by Bandes : 07-17-10 at 01:13 PM.
|
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 14
Uploads: 0
|
why i cant see anything? I change the name "layout_example.lua" to "layout.lua".
|
|
|
|
|
||
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!" |
||
|
|
|
|
||
|
A Defias Bandit
Forum posts: 3
File comments: 25
Uploads: 0
|
![]() The latest versions of Event Horizon, Taroven has added an option to fix the frame size, so now we can make a panel then resize and anchor EH to it ![]() |
|
|
|
|
|
||
![]() Btw Katae, the more I play with LitePanels and LiteStats, the more I love these addons. Thanks again man.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!" |
||
|
|
![]() |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.