Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-01-17, 09:43 AM   #1
Gwythian
A Kobold Labourer
Join Date: Jun 2012
Posts: 1
Chat Addon Help

Hi everyone,

I'm currently working on trying to develop an addon that I can resize based off of lines.

For example /addonslash1 [1-10] would resize the addon to an amount of lines that the user designated.

I've tried to look through the API and code exported from WoW, but I have some questions that I haven't been able to find through extensive searching on Wow Programming, here, Google, etc.

How does one interact with ChatFrame1 exactly?

I found in the ChatFrame.lua file it declares a global variable of DEFAULT_CHAT_FRAME = ChatFrame1.

Where is ChatFrame1 created in the code? Where should I be looking to find the commands that interact with it? If I make changes to ChatFrame1, does it affect all other ChatFrames? Only ChatFrames docked to it?

I apologize for all the questions, but I've honestly done my due diligence and after a couple days of looking and being unable to find an answer, I was hoping someone could help me get a plain answer.

I'm also trying to learn and be a better programmer, so while I'm open to looking at addons that currently exist to learn how to do this, I'd love to learn how to fish rather than just being fed one.

Thanks for your time! (I probably have follow up questions, but I'm really just trying to get my feet planted here.)
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Chat Addon Help


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