Thread: Chat Addon Help
View Single Post
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