Chapter 15 - Using Templates Programmatically
Errata
Downloads
TargetTextBuffs
Table of Contents
Using Templates Programmatically - 217
- Using CreateFrame - 217
- Adding Buffs to TargetText - 218
- Creating the Basic Templates - 219
- Defining Fundamental Behaviors - 221
- Event Handlers - 221
- Arranging the Buffs and Debuffs - 222
- Creating the Buff Icons - 223
- Building the “Grid” - 223
- Setting Anchors - 223
- Creating Specialized Wrappers - 224
- Updating the Buffs - 225
- Looping Through the Buffs - 225
- Showing or Creating the Buff - 226
- Setting Visual Attributes - 226
- Wrapping the Update - 228
- Summary - 229