{"id":15767668,"url":"https://github.com/stanzilla/libbackdrop-1.0","last_synced_at":"2025-10-18T10:01:29.780Z","repository":{"id":71426922,"uuid":"122689316","full_name":"Stanzilla/LibBackdrop-1.0","owner":"Stanzilla","description":"LibBackdrop provides a 100% compatible replacement for SetBackDrop","archived":false,"fork":false,"pushed_at":"2020-10-14T18:03:18.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T13:41:16.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.wowace.com/projects/libbackdrop-1-0","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stanzilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-24T01:07:38.000Z","updated_at":"2020-10-14T18:03:20.000Z","dependencies_parsed_at":"2023-04-03T19:32:36.312Z","dependency_job_id":null,"html_url":"https://github.com/Stanzilla/LibBackdrop-1.0","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanzilla%2FLibBackdrop-1.0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanzilla%2FLibBackdrop-1.0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanzilla%2FLibBackdrop-1.0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanzilla%2FLibBackdrop-1.0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stanzilla","download_url":"https://codeload.github.com/Stanzilla/LibBackdrop-1.0/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458004,"owners_count":20780677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T13:40:43.198Z","updated_at":"2025-10-18T10:01:29.657Z","avatar_url":"https://github.com/Stanzilla.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibBackdrop-1.0\n\n## DEPRECATED - DO NOT USE - PERSONAL FORK of https://www.curseforge.com/wow/addons/libbackdrop-1-0\n\nLibBackdrop provides a 100% compatible replacement for SetBackDrop.\n\nIt also mixes in the following methods to the frame\n\nMixin methods\n\n```lua\nSetBackdropGradient(orient,minR,minG,minB,maxR,maxG,maxB)\n```\n\nsetup a gradient on the bg texture.\n\n```lua\nSetBackdropGradientAlpha(orient,minR,minG,minB,minA,maxR,maxG,maxB,maxA)\n```\n\nsetup a gradient with alpha on the bg texture\n\n```lua\nSetBackdropBorderGradient(orient,minR,minG,minB,maxR,maxG,maxB)\n```\n\nsetup a gradient on the border texture\n\n```lua\nSetBackdropBorderGradientAlpha(orient,minR,minG,minB,minA,maxR,maxG,maxB,maxA)\n```\n\nsetup a gradient with alpha on the border texture\n\n```lua\nGetBackdropBorderSection(section)\n```\n\nget a reference to a section of the border\n\n[Valid values are: TOPLEFTCORNER,TOP,TOPRIGHTCORNER,LEFT,RIGHT,BOTLEFTCORNER,BOT,BOTRIGHTCORNER]\n\n```lua\nGetBackdropBackground\n```\n\nget a reference to the backdrop background texture itself\n\n```lua\nBorderTextureFunction(function name, params)\n```\n\nthis method allows you to call a function on each border texture, passing whatever params you want. This is a convience method, instead of having to fetch each subtexture to call some method. Example usage frame:BorderTextureFunction(\"SetDrawLayer\",\"ARTWORK\") to raise the border draw layer\n\nLibrary High Level Function\n\n```lua\nIsEnhanced(frame)\n```\n\ntest if a frame has already been enhanced\n\n```lua\nEnhanceBackdrop (frame)\n```\n\nembed the mixins into a given frame\n\nTo Use:\n\n```lua\nlocal BD = LibStub(\"LibBackdrop-1.0\") -- Create a frame as normal local testFrame = CreateFrame(\"Frame\",\"Test Frame\",UIParent) -- Embed the new backdrop functions BD:EnhanceBackdrop(testFrame) -- Use as you would normally testFrame:SetBackdrop({ bgFile = \"Interface/Tooltips/UI-Tooltip-Background\", edgeFile = \"Interface/Tooltips/UI-Tooltip-Border\", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }}) --Now for some coloring fun -- Set the border to gradient upward from red to green testFrame:SetBackdropBorderGradient(\"vertical\",1,0,0,0.5,1,0) -- Set the background image to color from blue to green testFrame:SetBackdropGradient(\"VERTICAL\",0,0,1,0,1,0)\n```\n\nHere is the result of the above code http://dl.dropbox.com/u/10956/LibBackDrop-Example.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanzilla%2Flibbackdrop-1.0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstanzilla%2Flibbackdrop-1.0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanzilla%2Flibbackdrop-1.0/lists"}