mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-30 15:40:51 +00:00
pfUIScrollingEditBoxTemplate (api/ui-widgets.xml) is ScrollingEditBoxTemplate with pfUIScrollBarTemplate beside the text. Its mixin's SetFont gives the box a font object of its own, since the edit box sets its font by object on every SetText and pfUI fonts are paths. ui-widgets.lua now loads before the XML, which needs the mixin. The share box no longer recomputes its scroll child on every text change. Chat copy reads each chat frame's messages with ClassicAPI's GetMessageInfo when it opens, so the AddMessage hook, its 100-line copy of the history and the skip of combat frames are gone. It shows every line the frame keeps, lines from before login included. It puts the caret at the end to scroll to the newest line instead of three OnUpdate passes, and Escape now leaves copy mode on every chat frame.
8 lines
250 B
XML
8 lines
250 B
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
|
<Include file="..\api\api.lua"/>
|
|
<Include file="..\api\config.lua"/>
|
|
<Include file="..\api\ui-widgets.lua"/>
|
|
<Include file="..\api\ui-widgets.xml"/>
|
|
<Include file="..\api\unitframes.lua"/>
|
|
</Ui>
|