mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-30 15:40:51 +00:00
The list built one row per addon in a ScrollFrame, hid the rows out of view by hand and drove pfUI's own slider. A WowScrollBoxList keeps rows only for the addons in view and recycles them while scrolling. pfUIScrollBarTemplate (api/ui-widgets.xml) is a ScrollBarMixin bar with the old slider's look: a thin track and a flat teal thumb that hides when nothing scrolls. Its steppers exist for the mixin but stay hidden. Rows read the addon's enabled state, so profiles enable and disable addons directly instead of clicking every row's checkbox. A checkbox now shows whether an addon is enabled; it showed whether it was loaded.
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.xml"/>
|
|
<Include file="..\api\ui-widgets.lua"/>
|
|
<Include file="..\api\unitframes.lua"/>
|
|
</Ui>
|