Repository navigation
MoLib v6.00.00 More Widgets and features. Used by DynamicBoxer v2.00
6.00.00 July 17th 2019
- Move in code from DynamicBoxer :ChangeScale f:addTexture
- added comments/doc
- new :PreloadTextures (pending using coroutine/continuations or delaying layout
on update event for textures that aren't loaded yet) - overridePadding argument in (set)Scale() and better calculation of scale.
- new :addAnimatedTexture
- new :PlaceLeft() meant to place a single item to the left of last right
- RgbToHex takes optional 4th argument for alpha
5.3.2 July 15th 2019
- Fixed slider to show formatted decimal numbers
- Add optional call back (.callBack) to sliders
5.3.1 July 11th 2019 - fixed RgbToHex, was missing leading 0s on small hex numbers. also use uppercase.
- widget addText can take either a font name string or a font object as 2nd param.
- Adding a :Scale() that use the current frame anchor and scale the inside to fit
(kind of reverse of Snap() which changes the size of container to fit content) - Made Place() take optional Points so one can do centered layout (see DynamicBoxer TAB feature)
5.3.0 July 11th 2019 - pixel perfect snap to pixel boundary with :SnapFrame() on any frame
- proper bottom right margin calculation and setting in f:Snap()
- new :ErrorAndThrow(...) to both log a formatted error and throw the same message
- working (for players as target) :GetUnitRealmUsingGuid() and :GetRealRealm()
(first uses just the guid's realmid, second uses the playerinfobyguid)
5.2.1 July 9th+ 2019 - new: :WatchedTable() a table where you get a callback when values are changed.
- MoLibUI: added :setSizeToChildren which calculates the bounding box union of all placed children and
sets that as the width and height of the containing frame. - new :RgbToHex
5.2.0 July 7th 2019 - (start of) Localization support: ML:GetLocalization creates an L table compatible with
https://authors.curseforge.com/knowledge-base/world-of-warcraft/531-localization-substitutions - default DoEnable/DoDisable on all widgets
5.1.1 July 6th 2019 - Fixing taint by delaying creation of widget (see DynamicBoxer#38 and use/fix)
5.1.0 July 4th 2019 - Adding Realms.lua realm by id table obtained from Blizzard APIs with
https://github.com/mooreatv/WowApiClient
More code from, and used by https://github.com/mooreatv/DynamicBoxer/blob/master/DynamicBoxer/DBoxUI.lua (see there for sample of use)