Thread Tools Display Modes
05-16-11, 07:00 PM   #1
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
oUF_MovableFrames and header spawned frames

The first screen is with oUF_MF version 1.11, the second one with 1.13



The frames in question are spawned through headers. They look so when no changes through MF are done. The frames are not movable as the green area does not appear. I can scale them though, after that the green area is there until I move them. After I stop dragging, the scale resets to the original one and the green area disappears making the frames not movable again.

The names are also a bit strange. Partypets and partytargets are just called "party". For MTtargets it just takes the name of the frame I set in my layout. This is not something introduced in 1.13 though.
  Reply With Quote
05-17-11, 02:54 AM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
What layout is this with?
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-17-11, 03:38 AM   #3
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
I just remembered that you have a GitHub account, with a layout on it.

I'll push some fixed out on GitHub soonish.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-17-11, 04:40 AM   #4
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Pushed 1.14 which should fix both issues.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-17-11, 06:32 AM   #5
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Works like magic. Thank you very much
  Reply With Quote
05-17-11, 11:01 AM   #6
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Tried the latest github release but getting this


Layout used: oUF_Lily
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
05-17-11, 11:06 AM   #7
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
I see why, I'll push a fix soonish.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-17-11, 11:16 AM   #8
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Another thing I noticed. I gave all my frames global names. But only the name of the "targettarget" frame is applied. The others ignore the name.



But you said that global names are not needed, so I'm going to remove them anyway. Just for notice.

Maybe that is because of a "typo" I saw "ttargettarget" somewhere.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 05-17-11 at 11:19 AM.
  Reply With Quote
05-17-11, 02:10 PM   #9
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
oMF converts frame names into their unit, or at least tries. It uses the frame name as a fallback when it isn't able to determine the unit, which is what you're seeing on the target's target frame.

I'll add ToT to the list.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-17-11, 04:48 PM   #10
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I love the latest release of oMF! Plus it works well with different raid style spawns depending on custom attributes.



Need to tweak some tags and it's good to go.

Ohh.. I know it is possible but currently don't know how. I want to change the mana color in the oUF color table. How do I access it. The mana is way to dark imo.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
05-17-11, 05:18 PM   #11
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
This is what I use:

lua Code:
  1. ns.colors = setmetatable({
  2.     power = setmetatable({
  3.         ["MANA"] = {0.31, 0.45, 0.63},
  4.         ["RAGE"] = {0.69, 0.31, 0.31},
  5.         ["FOCUS"] = {0.71, 0.43, 0.27},
  6.         ["ENERGY"] = {0.65, 0.63, 0.35},
  7.         ["HAPPINESS"] = {0.19, 0.58, 0.58},
  8.         ["RUNES"] = {0.55, 0.57, 0.61},
  9.         ["RUNIC_POWER"] = {0, 0.82, 1},
  10.         ["AMMOSLOT"] = {0.8, 0.6, 0},
  11.         ["FUEL"] = {0, 0.55, 0.5},
  12.         ["POWER_TYPE_STEAM"] = {0.55, 0.57, 0.61},
  13.         ["POWER_TYPE_PYRITE"] = {0.60, 0.09, 0.17},
  14.         ["HOLY_POWER"] = {0.95, 0.93, 0.65},   
  15.         ["SOUL_SHARDS"] = {0.5, 0.32, 0.55},
  16.         ["POWER_TYPE_SUN_POWER"] = {0.65, 0.63, 0.35},
  17.     }, {__index = oUF.colors.power}),
  18. }, {__index = oUF.colors})
  Reply With Quote
05-18-11, 11:17 AM   #12
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thanks. That did the job:
Code:
  oUF.colors.power["MANA"] = {0, 0.5, 1}
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
05-18-11, 11:18 AM   #13
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
The metatable madness is to not interfere with other oUF layouts :P
__________________
「貴方は1人じゃないよ」
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF_MovableFrames and header spawned frames


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off