Thread Tools Display Modes
08-05-09, 03:52 PM   #1
Deathmastuda
A Fallenroot Satyr
AddOn Compiler - Click to view compilations
Join Date: Jun 2009
Posts: 24
Placement coordiantes? For anything.

ok, I'm an addon junkie, and i like alot of them and switch about with different ones for diff toons. Alot of the adds i like don't have gui's, Just a config lua.
Ok, for instance, Ouf's Caellian layout, i like it alot but not the placement, I make alot of different UI's and i wanna be able to imput certain coords for it to place the frames but i hate haveing to change it lil by lil till i get it right,

Question. Is there something like a grid or.........that can show me the exact coords of the mouse on screen in the UIParent so i can quickly know what coords to put into the LUA?
__________________
  Reply With Quote
08-05-09, 04:35 PM   #2
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Look for SetPoint(), this sets the position of frames.

http://www.wowwiki.com/API_Region_SetPoint
  Reply With Quote
08-06-09, 06:05 AM   #3
Deathmastuda
A Fallenroot Satyr
AddOn Compiler - Click to view compilations
Join Date: Jun 2009
Posts: 24
ty

Thx for the reply and info link but i think you may need to read the question again.
__________________
  Reply With Quote
08-06-09, 06:15 AM   #4
noble8
A Warpwood Thunder Caller
 
noble8's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 95
Try this command new to 3.2: /framestack
__________________
If science and religion are destroyed, science would re-emerge exactly the same;
but not religion.
  Reply With Quote
08-06-09, 06:18 AM   #5
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by Deathmastuda View Post
Thx for the reply and info link but i think you may need to read the question again.
Sorry, read over the second part of the question...

Check out GetCursorPosition(). You could simply make a macro to get the position on UIParent.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Placement coordiantes? For anything.


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