Are there any xml controls you can inherit from to create something similar to a chat window that handles scrolling, resizing, maxHistoryLines, & link mouse clicks ect... without having to write that stuff yourself?
I don't need it to receive or send chat messages I was just wanting something I could easily make with little code to add debug messages to, with a scrollable window, & clickable links.
If it helps I was hoping to do something simple like this:
xml Code:
<GuiXml>
<Controls>
<TopLevelControl name="MyDebugWindow" inherits="ZO_ChatContainerTemplate" resizeHandleSize="8" clampedToScreen="true" mouseEnabled="true" movable="true" hidden="false" layer="OVERLAY" tier="HIGH" allowBringToTop="false" alpha="1" >
<Dimensions x="200" y="400" />
<Anchor point="TOPELFT" relativeTo="GuiRoot" relativePoint="TOPELFT" offsetX="750" offsetY="150"/>
<Controls>
<TextBuffer name="$(parent)TextBuffer" font="ZoFontChat" layer="OVERLAY" tier="LOW" level="0" maxHistoryLines="200" mouseEnabled="true" movable="true" >
<AnchorFill/>
<LineFade fadeBegin="0" fadeDuration="0" />
</TextBuffer>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>
and then just add messages to the textBuffer:
Lua Code:
MyDebugWindowTextBuffer:AddMessage("Some debug message")