Thread Tools Display Modes
05-13-09, 04:14 PM   #21
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Yes, they are the x and y offset from that point. You could try setting them to values to see how they look. x if I remember right go positive left to right and y negative top to bottom. The left comments are the tooltips point and the worldframes point to anchor. For example changing them to CENTER and CENTER will put the tooltip in the dead center of the screen

Before changing any files though you might want to try Scotts other suggestion and see if other option settings doesn't get kept.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
05-13-09, 04:42 PM   #22
neuralassassin
A Scalebane Royal Guard
 
neuralassassin's Avatar
Join Date: Sep 2008
Posts: 423
From what I can tell only two things could be happening 1. Its the vista permission thing but that seems out of place since your not saved to C:/public 2. Something is being left over somewhere, have you ever used an auto updater from curse or any of the other sites? If so sometimes they save files in strange places, to me that seems like the issue, it's as if you have a saved variable files that you are not seeing you may want to make sure you have all files visible in your files options for vista it"s just the only thing that makes sense to me.
__________________

 
05-13-09, 05:05 PM   #23
nerdonfire
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 16
Taking a further look into the code, I see this:

Code:
if GameTooltip.fCache and nUI_Options.tooltips == "fixed" or not owner or owner == UIParent then

		tooltip:Hide();
		
		local overlay = GameTooltip.fCache.overlay;
		
		nUI_SavedTooltip_SetOwner( tooltip, owner or UIParent, "ANCHOR_NONE" );
		
		tooltip:ClearAllPoints();

		tooltip:SetPoint( "BOTTOMRIGHT", UIParent, "BOTTOMLEFT", overlay:GetRight(), overlay:GetBottom() );

	elseif nUI_Options.tooltips == "mouse" then
		
		tooltip:ClearAllPoints();
		
		if tooltip == GameTooltip then
			nUI_SavedTooltip_SetOwner( tooltip, UIParent, "ANCHOR_CURSOR" );
		else
			tooltip:SetParent( UIParent, "ANCHOR_CURSOR" );
		end
And that referenced lines of code seem to be mixed up. How can the SetPoint be both the BOTTOMLEFT and BOTTOMRIGHT.

Or am I using logic where logic shouldnt be used?
 
05-13-09, 05:14 PM   #24
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It's not in both places... it is setting the bottom right corner of the tooltip to a point that is relative to the bottom left corner of the user interface (UIParent) setting it overlay:GetRight() (a distance in screen units) from the left edge and overlay:GetBottom() (also a distance in screen units) from the bottom edge of the user interface

Think of it like this...

xOffset = overlay:GetRight()
yOffset = overlay:GetBottom()
anchorPointOnTooltip = "BOTTOMRIGHT"
anchorPointOnUserInterface = "BOTTOMLEFT"
userInterface = UIParent

tooltip:SetPoint( anchorPointOnTooltip, userInterface, anchorPointOnUserInterface, xOffset, yOffset )
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
05-13-09, 09:22 PM   #25
Baltharus
A Chromatic Dragonspawn
 
Baltharus's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 190
Originally Posted by spiel2001 View Post
It's not in both places... it is setting the bottom right corner of the tooltip to a point that is relative to the bottom left corner of the user interface (UIParent) setting it overlay:GetRight() (a distance in screen units) from the left edge and overlay:GetBottom() (also a distance in screen units) from the bottom edge of the user interface

Think of it like this...

xOffset = overlay:GetRight()
yOffset = overlay:GetBottom()
anchorPointOnTooltip = "BOTTOMRIGHT"
anchorPointOnUserInterface = "BOTTOMLEFT"
userInterface = UIParent

tooltip:SetPoint( anchorPointOnTooltip, userInterface, anchorPointOnUserInterface, xOffset, yOffset )
my brain just exploded
 
05-13-09, 09:37 PM   #26
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Baltharus View Post
my brain just exploded
I hope you know how well behaved I'm being now in not jumping all over a straight line like that

~evil grin~
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
05-13-09, 09:40 PM   #27
Baltharus
A Chromatic Dragonspawn
 
Baltharus's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 190
Originally Posted by spiel2001 View Post
I hope you know how well behaved I'm being now in not jumping all over a straight line like that

~evil grin~
haha... so i am looking into learning Lua... its.. intersting... i though "ill just browes nUI since i like it so much see how it works"


i have to say.. its waaaaayyy more complicated then i though.. i dont know how you keep up with it all

extra kudos to you scott
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » moving boxes

Thread Tools
Display Modes

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