/TargetBlock
if not TBDB then TBDB = TargetBlockDefaults end |
local block = CreateFrame("Button", nil, UIParent, "SecureActionButtonTemplate") |
local block = CreateFrame("Button", "TargetBlockFrame", UIParent, "SecureActionButtonTemplate") |
block:SetHeight(24) |
block:EnableMouse(true) |
block:RegisterForClicks("AnyUp") |
## Interface: 20300 |
## Title: TargetBlock v1.5 |
## Interface: 30000 |
## Title: TargetBlock v1.6 |
## Notes: Small block on screen for easy targeting |
## Author: Mikma |
## SavedVariables: TBDB |