Releases: enderneko/AbstractFramework
Releases · enderneko/AbstractFramework
r18
- Add AF.AdjustPointsOffset
- Add AF.ColorThreshold
- Add AF.SetFontShadow/RemoveFontShadow
- Add and document AF_Locale keys for localization
- Add AsyncLoaders
- Add atlas and template support for AF_IconButton
- Add nil checks to AF.Show/Hide
- Enhance AF.CreateCooldown color parameter handling
- Enhance callback handler functions
- Refactor AF_SimpleStatusBar
- Refactor AF.ColorGradient
- Refactor and modularize locale files
- Refactor duration formatting functions
- Refactor: use select(2, ...) for AF declaration
- Update AF.GetItemQualityColor
- Update icons and textures
r17
- Add AF_ButtonMixin:StartCooldown/StopCooldown
- Add AF_ScrollEditBoxMixin:EnableCodeIndentation
- Add AF.CompileWithEnv, AF.CompileWithGlobalEnv
- Add AF.GetLast
- Add AF.IsAtlas
- Add AF.IsSameFaction
- Add AF.Libs.FAIAP
- Add AF.MergeMissingKeys, AF.MergeRaw
- Add AF.RemoveWhitespaces
- Add AF.SendChatMessage
- Add AF.SetBackdropHighlight
- Add callbackDelay to AF.ResizeToFitText
- Add double-click image viewer
- Add gradient support to AF.CreateSeparator
- Add highlight lock function to AF_Button
- Add secret number formatting functions
- Allow font parameter overrides in AF.SetFont
- Change AF.GetPixelUpdaterCustomGroup to AF.GetPixelUpdater_CustomGroupComponents
- Enhance DragSorter with vertical orientation support
- Fix a color issue for AF_Texture
- Fix string handling in Popup when icon is numeric
- Implement AF_ImagePane
- Implement AF.ImageViewer_LoadFlipBook
- Implement AF.ImageViewer_LoadImage
- Implement AF.ImageViewer_LoadImageSequence
- Improve AF_ImageViewer
- Improve scroll behavior for AF_ScrollEditBox
- Improve scroll frame resize handling
- Improve scroll thumb update logic
- Introduce AF.CreateTimeFormatBox
- Minor / trivial updates (several entries merged)
- Prevent duplicate mouse down effect on button
- Refactor gradient texture and separator creation
- Refactor range check to async spell name loading
- Update icons and textures
r16
- Add MoP support
- Add AF_ScrollEditBoxMixin:SetSpacing
- Add AF_ScrollFrameMixin:DisableScrollFrameReanchor
- Add AF_Switch.SetLabel
- Add AF_TextureMixin:SetTextureOrAtlas
- Add auto slot height support for AF_ScrollList
- Add DisableSlotFrameReanchor for AF_ScrollList/Grid
- Add callback to AF.ResizeToFitText
- Add GetScrollStep/SetScroll/GetScroll for AF_ScrollFrameMixin
- Add scrollTo param to AF_ScrollList.SetWidgets/SetData
- Add skipScrollReset arg to AF_ScrollFrame:SetContentHeight
- Fix scroll thumb positioning and height logic
- Refactor AF_EditBox script handlers into local functions
- Refactor AF_ScrollEditBox script handling
- Refactor AF_ScrollFrame script handling
- Refactor label sizing in AF_SwitchMixin
- Remove labels parameter from AF.CreateSwitch
- Update enable/disable states for AF_IconButton
- Update icons
- Update list slot height handling
- Update spell rank related functions
r15
- Add "Cal Sans" font
- Add AF_SwitchMixin.GetSelectedButton
- Add AF.GetComplementColor and AF.GetComplementColorHex
- Add AF.RequireVersion
- Add class accent color support
- Add widget._tooltipWordWrapMinWidth for AF.ShowTooltip
- Improve popups availability
- Rename font files and update font registration
- Update AF.GetFontProps and AF.CreateFontString
- Update icons
r14
- Update toc
r13
New
- AF.player.battleTagMD5
- Basic hook system
- Color scaling and adjustment utilities
- Custom group support for PixelUpdater
- Events: AF_GROUP_PERMISSION_CHANGED, AF_MARKER_PERMISSION_CHANGED, AF_GROUP_UPDATE, AF_GROUP_TYPE_CHANGED, AF_PLAYER_LOGIN_DELAYED, AF_PLAYER_SPEC_UPDATE, AF_POPUPS_READY
- Frame flash animation functions
- Some icons
- Widget pool and button group for scroll list
New functions
- AF_BorderedFrame.SetBorderColor, AF_BorderedFrame.SetBackgroundColor
- AF_Button.GetOnClick
- AF_CheckButton.SetOnCheck, AF_CheckButton.SetTextColor
- AF_IconButton.SetHoverBorder
- AF_ScrollFrame.SetContentHeights
- AF_ScrollList.ScrollTo, AF_ScrollList.GetWidgets
- AF_Slider.SetPercentage, AF_Slider.SetStep
- AF.AttachToCursor, AF.DetachFromCursor, AF.GetMouseFocus
- AF.CreateFlipBookFrame, AF.CreateGlow, AF.CreateIcon
- AF.GetAutoVerticalAnchor, AF.GetClassIcon, AF.IterateSortedClasses
- AF.GetDateTable, AF.GetMedia, AF.GetNextDaySeconds, AF.GetNPCSubtitle, AF.GetNPCFaction, AF.GetSpecRole, AF.GetUnitColor, AF.GetLevelColor, AF.GetUnitColorName
- AF.IndexOf, AF.LastIndexOf, AF.InsertAll, AF.InsertIfNotExists
- AF.InvertColor, AF.InvertColorHex
- AF.InvokeOnEnter, AF.InvokeOnLeave
- AF.LowerFirst
- AF.LSM_GetBarTextureDropdownItems, AF.LSM_GetFontDropdownItems, AF.LSM_GetFontOutlineDropdownItems
- AF.MergeExistingKeys
- AF.MoveElementToEnd, AF.MoveElementToIndex
- AF.ReAnchorRegion
- AF.RemoveCombatProtectionFromFrame
- AF.SetChecked, AF.SetProtectedFrameShown
- AF.TruncateFontStringByWidth, AF.TruncateFontStringByLength, AF.TruncateStringByLength
- AF.UnitClassBase, AF.UnregisterAddonLoaded
- AF.UpdateBaseFont, AF.UpdateFont
Changed/Improved
- Added _scrollParent check for Tooltips
- Adjusted frame levels for dialogs and masks
- Adjusted scale multiplier for 1440p in GetBestScale
- AF_SimpleStatusBar.SetGradientColor
- AF.CreateButtonGroup
- AF.CreateGradientTexture, AF_Button.SetTexture
- AF.GetAnchorPoints_Simple
- AF.GetBestScale
- AF.SetDraggable
- AF.SetSizeToFitText rewritten as AF.ResizeToFitText
- AF.UnitFullName now supports non-players
- Alternate label support for EditBox
- Auto-resizing for AF_Switch
- Dropdown: SetOnClick renamed to SetOnSelect, removed dropdownType
- EditBox: pass self to onTextChanged
- File extension check for sound and font paths
- Font management improvements
- fontSizeOffset renamed to fontSizeDelta
- Moved PixelUtil into Utils
- OnUpdateExecutor: batching and totalTasks for onFinish
- Optional mask overlay for global dialog
- pcall for DecompressDeflate error handling
- Protected frame show/hide functions
- Removed AF.RegisterForCloseDropdown
- Renamed dropdown item and orientation functions for clarity
- Renamed group iterator and tooltip functions
- Various annotation updates
r12
- Fix instance state events
- Fix AceComm
- Fix aura tooltip anchor
r11
- Add "borderSize" for AF.ApplyDefaultBackdropWithColors
- Add AF_HeaderedFrameMixin.SetTitleBackgroundColor
- Add AF_PIXEL_UPDATE_START/END events
- Add AF.SetBackdropBorderSize
- Add AF.SetOutsets
- Fix AFAlignmentGrid scale
- Fix HelpTip timer
- Remove "date" from AF.CreateCalendarButton
- Update accent color system
- Update AF_* events
- Update AF.PrintStack
- Update AF.ShowNormalGlow
- Update color
- Update mover system
r10
- Add "alpha" arg for AF.GetAuraTypeColor
- Add lib AF_QRCODE
- Add MIN_SCROLL_THUMB_HEIGHT
- Add some icons
- AF.GetDebuffType no longer returns "None"
- Fix glow for HelpTips
- Fix tooltip frame strata
- Make class info in AF.player always available
- Update AF.SetFrameLevel
- Update AF.ShowCalloutGlow
- Update cleuDispatcher
r9
- Add AF.SwapKeyValue
- Add AF_FontStringMixin.AppendText
- Add AF_PLAYER_ENTERING_WORLD, AF_PLAYER_LOGIN
- Update Locales
- Update unit functions
- Update player data
- Update range check
- Change callback debug prefix to "EVENT"