Forum: oUF (Otravi Unit Frames)
10-17-12, 09:35 AM
|
Replies: 3
Views: 5,553
What I don't really understand is oUF's event...
What I don't really understand is oUF's event dispatcher already does what RegisterUnitEvent is supposed to. Yet you see a lot of 'if unit ~= self.unit' everywhere in layouts and even in oUF's own...
|
Forum: Lua/XML Help
09-24-12, 06:58 AM
|
Replies: 2
Views: 2,689
Events aren't specific like that. You just...
Events aren't specific like that. You just register for a generic UNIT_INVENTORY_CHANGED and then do a refined check to see if it was what you were looking for. Usually additional arguments sent by...
|
Forum: oUF (Otravi Unit Frames)
09-23-12, 03:19 PM
|
Replies: 0
Views: 2,818
handling multiple raid layouts
I am wondering if there is a general consensus on what's the best practice for handling multiple raid layouts? I am swapping between layout 25 and layout 40 depending on the presence of raid26, which...
|
Forum: oUF (Otravi Unit Frames)
09-22-12, 02:48 PM
|
Replies: 7
Views: 5,693
|
Forum: UI Screenshots, Feedback and Design Discussion
09-16-12, 12:41 PM
|
Replies: 17
Views: 15,415
|
Forum: Lua/XML Help
09-16-12, 03:36 AM
|
Replies: 15
Views: 7,015
Parent / child relationship does not control...
Parent / child relationship does not control placement, anchoring does. If you anchor frame 1 to frame 2, then moving frame 2 will move frame 1 too. Moving frame 1 does nothing to frame 2. You can't...
|
Forum: AddOn Help/Support
09-16-12, 01:40 AM
|
Replies: 0
Views: 2,739
oBindings state evaluation problem
I have modified oBindings (https://github.com/haste/oBindings) to accomodate extra keys on my keyboard and I am noticing some odd behaviour with macro condition evaluation. For example both...
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 11:44 PM
|
Replies: 15
Views: 8,191
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 06:17 PM
|
Replies: 15
Views: 8,191
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 03:48 PM
|
Replies: 15
Views: 8,191
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 03:38 AM
|
Replies: 15
Views: 8,191
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 02:19 AM
|
Replies: 15
Views: 8,191
|
Forum: oUF (Otravi Unit Frames)
09-12-12, 12:22 AM
|
Replies: 15
Views: 8,191
playerClass shouldn't start with a capital p....
playerClass shouldn't start with a capital p. That condition always evaluates to false, the original code has that error too. Just stick it in the main function, not inside that condition. Also seems...
|
Forum: oUF (Otravi Unit Frames)
09-11-12, 11:59 PM
|
Replies: 15
Views: 8,191
This is the relevant part from...
This is the relevant part from ouf/health.lua
elseif(health.colorClass and UnitIsPlayer(unit)) or
(health.colorClassNPC and not UnitIsPlayer(unit)) or
(health.colorClassPet and...
|
Forum: Lua/XML Help
09-05-12, 09:44 PM
|
Replies: 3
Views: 5,117
|
Forum: Lua/XML Help
09-05-12, 04:10 PM
|
Replies: 3
Views: 5,117
Scroll child draw order
Whenever I parent frames to a scroll child, it seems the rendering order of those frames are not governed by frame stratas / frame levels / draw layers but by the order in which they are added to the...
|
Forum: AddOn Help/Support
08-26-12, 03:45 AM
|
Replies: 7
Views: 5,081
I looked into the code, it's not UI scale. For...
I looked into the code, it's not UI scale. For whatever reason there is a 1 pixel wide black texture created on the right side of every health bar. In lib.lua under lib.gen_hpbar:
s.reminder =...
|
Forum: Lua/XML Help
08-18-12, 04:13 PM
|
Replies: 13
Views: 13,729
|
Forum: Lua/XML Help
08-17-12, 09:53 PM
|
Replies: 13
Views: 13,729
|
Forum: Lua/XML Help
08-17-12, 08:19 PM
|
Replies: 11
Views: 5,844
|
Forum: oUF (Otravi Unit Frames)
03-29-10, 05:22 PM
|
Replies: 2
Views: 3,562
|
Forum: oUF (Otravi Unit Frames)
03-29-10, 02:07 PM
|
Replies: 2
Views: 3,562
element update order
I can't decide if I can rely on Health always updating before Power when traversing __elements. In oUF.lua elements is a hash table, both update functions are injected using a simple tinsert without...
|
Forum: oUF (Otravi Unit Frames)
03-29-10, 01:45 PM
|
Replies: 12
Views: 12,909
It's a matter of how one prefers to organize...
It's a matter of how one prefers to organize really. I like setting up each element by going generic / unit specific, generic / unit specific. The former method focuses on unit, the latter on...
|
Forum: oUF (Otravi Unit Frames)
02-08-10, 08:14 AM
|
Replies: 5
Views: 4,751
|
Forum: oUF (Otravi Unit Frames)
09-12-09, 07:42 AM
|
Replies: 2
Views: 4,789
If the texture file you use has the border...
If the texture file you use has the border sections aligned and clustered correctly, it is actually pretty easy, something like the below code should do it.
local backdrop = {
bgFile =...
|