Thread Tools Display Modes
07-24-14, 08:40 AM   #1
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
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).
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
07-25-14, 04:56 AM   #3
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
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


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