Quantcast
so here is and idea - WoWInterface
Thread Tools Display Modes
07-24-14, 08:40 AM   #1
Uitat
A Flamescale Wyrmkin
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 141
so here is and idea

i was thinking of allowing Broker plugins to attach to my top frame in my UI, anyone familiar with doing little things like this, how hard would it be to say..... use broker_AllXP addon and make it naturally want to attach to (insert any name) frame

such as


create frame with name of myframe (very generic)
--> give atributes


make broker addon compatible to attach to above frame
--> set frame justification
-----> setpoint----> right 9, 20

and so on

just a thought, maybe someone has tried this before i go crazy with it?
__________________
  Reply With Quote
07-24-14, 11:23 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Plugins by themselves do not create any frames or display anything -- they just provide information such as an icon file path, a string value, and an OnClick script handler function that display addons can use. I'd suggest taking a look at Broker display addons like StatBlocks that create an individual frame for each plugin, and then combining that idea with the "sticky frames" concept used in addons like Bartender4 and Dominos (and probably others).
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
07-25-14, 04:56 AM   #3
Uitat
A Flamescale Wyrmkin
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 141
Originally Posted by Phanx View Post
Plugins by themselves do not create any frames or display anything -- they just provide information such as an icon file path, a string value, and an OnClick script handler function that display addons can use. I'd suggest taking a look at Broker display addons like StatBlocks that create an individual frame for each plugin, and then combining that idea with the "sticky frames" concept used in addons like Bartender4 and Dominos (and probably others).
ill chk into those Phanx thanks for the info!!
__________________
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » so here is and idea

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