LibChatWindow
I wrote this just to use for debugging & other random things. It just creates a simple chat window that mimics the look of the regular chat window (minus the extra buttons) and slaps an easy access AddText(..) function and ChangeFade(..) function on it. The fade is only for the text, the background does not fade, but still useful if you want to hide the background & set the text fade.

Function...yeah there is only one
Lua Code:
  1. -- Requires a unique control name for your chat window
  2. -- FadeDelay & FadeTime are optional, if left nil text will not fade
  3. libcw:CreateChatWindow(UniqueName, FadeDelay, FadeTime)
  4. -- Returns a TopLevelControl (your chat window)

Instructions
Install the LibChatWin-1.0 folder in your libs folder (or wherever) & add a reference to it in your addon.txt file:
Lua Code:
  1. -- <Your Addon> --> <libs> --> <LibChatWin-1.0>
  2. -- Add a reference to the LibChatWin-1.0.lua file
  3. libs\LibChatWin-1.0\LibChatWin-1.0.lua

Add this line to the top of any code file you want to use it in:
Lua Code:
  1. local LIBCW = LibStub:GetLibrary("LibChatWin-1.0")
Then create your chat window

The control contains two functions that allow you to easily add messages to the chat buffer & change the fade delay/duration.

Lua Code:
  1. -- To prevent the text from fading Use 0, 0 for the fade delay & duration
  2. local myChatWindow = libcw:CreateChatWindow("UberAddonChatWindow", 25, 4)
  3.  
  4. -- Or just leave them nil
  5. local myChatWindow = libcw:CreateChatWindow("UberAddonChatWindow")
  6.  
  7. -- Then call the AddText function or ChangeFade function on your control
  8. myChatWindow:AddText("Heres a chat message")
  9. myChatWindow:ChangeFade(0, 0)