This repository will hopefully contain several reusable UI "widgets" that can be used by ESO addon developers. Right now it contains one.
The idea is to make something more useful than the ZO controls, which are too "low level" to work with without cluttering your code and mixing UI code with your logic. IMHO!
Example
Code:
lw = Unicorn.ListView:new(SomeControl, {
width = 350,
left = 970,
top = 40,
})
for i = 1, 4 do
lw:add_message("|cff0000Hello World")
lw:add_message("|c00ff00This is line " .. i)
lw:add_message("|c0000ffLorem ipsum sit amet etc. etc.")
lw:add_message("")
end
Please check out https://github.com/helgefmi/Unicorn for API documentation or if you're interested in contributring.