gitlab Tsoukie/classicapi 1.16

4 hours ago
  • Rewritten C_Texture to support C_Texture.RegisterAtlas and C_Texture.RegisterAtlasTable. Allowing external addons to register and manage their own custom textures within the atlas system.

  • Improved C_Timer memory management. These gains are most noticeable in situations where a high volume of concurrent timers are active.

  • Significantly overhauled the EventHandler system, providing a more robust system for managing different types of events.

  • Optimized Nineslice, Backdrop, C_UIDropDownMenu logic to reduce resources and memory churn.

  • Refined UNIT_HEAL_PREDICTION processing.

  • PropagateTooltipMouseClick now yields mouse events to Clique to ensure input compatibility (disables tooltips).

  • General clean-up and optimization across various functions, reducing overall addon footprint and resource usage.

  • Transition from SharedExtendedMethods.lua to WidgetAPI.lua. Moving from a manual method-injection approach, to a robust inheritance-based system that follows the UI hierarchy.

    • Added methods:

      • Object

        • ClearParentKey
        • SetParentKey
        • GetDebugName
        • GetParentKey
      • ScriptRegion

        • AdjustPointsOffset
        • ClearPointsOffset
        • SetPointsOffset
        • GetPointByName
        • GetScaledRect
        • IsRectValid
        • SetShown
      • Region

        • GetEffectiveScale
      • TextureBase

        • GetRotation
        • SetColorTexture
        • SetDesaturation
        • GetDesaturation
        • GetTextureFilePath
      • FontString

        • ClearText
        • GetFontHeight
        • GetLineHeight
        • GetMaxLines
        • GetNumLines
        • GetUnboundedStringWidth
        • IsTruncated
        • SetFontHeight
        • SetTextScale
        • SetTextToFit
      • Frame

        • SetClipsChildren
        • DesaturateHierarchy
        • DoesClipChildren
        • GetResizeBounds
        • IsUsingParentLevel
        • SetResizeBounds
        • SetUsingParentLevel
        • RegisterEventCallback
        • RegisterUnitEventCallback
        • UnregisterEventCallback
        • UnregisterUnitEventCallback
        • CreateLine
          • SetThickness
          • GetThickness
          • SetStartPoint
          • GetStartPoint
          • SetEndPoint
          • GetEndPoint
      • EditBox

        • Disable
        • Enable
        • IsEnabled
        • SetEnabled
      • SimpleHTML

        • GetContentHeight
        • GetText
      • StatusBar

        • GetStatusBarAtlas
        • SetStatusBarAtlas
      • GameTooltip

        • GetLeftLine
        • GetRightLine
        • SetItemByID
      • Cooldown

        • Pause
        • Resume
        • SetSwipeTexture
        • SetSwipeColor
        • SetUseCircularEdge
        • GetCooldownDuration
        • GetCooldownTimes
        • GetDrawSwipe
        • GetEdgeScale
        • GetRotation
        • IsPaused
        • SetCooldownDuration
        • SetCooldownFromDurationObject
        • SetDrawSwipe
        • SetHideCountdownNumbers
        • SetPaused
        • SetRotation
      • Animation

        • Restart
        • SetPlaying
        • GetFromAlpha
        • GetToAlpha
        • GetFromScale
        • GetToScale
      • Model / PlayerModel

        • SetTransform
        • ClearTransform
        • SetPortraitZoom

Don't miss a new classicapi release

NewReleases is sending notifications on new releases.