12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contentsxxi<strong>Creating</strong> a Close Button Using Templates 213<strong>Creating</strong> Clickable Filter Buttons 214<strong>Creating</strong> the Filter Buttons Dynamically 216Adding Custom Tooltips 217Making the Filter Buttons Clickable 217Updating the Results 218Navigating Multiple Pages 219Adding XML Definitions <strong>for</strong> Buttons <strong>and</strong> Status Text 220Writing OnClick H<strong>and</strong>lers <strong>for</strong> Navigation Buttons 221Altering the Update Function <strong>for</strong> Pages 221Enabling <strong>and</strong> Disabling Navigation Buttons 222<strong>Creating</strong> <strong>and</strong> Updating Status Text 223Final Changes to Support Navigation 224Adding a Name Filter to BagBuddy 224<strong>Creating</strong> an EditBox 225Filtering by Name 226Exploring Widget Types 227Button 227CheckButton 228ColorSelect 228EditBox 229GameTooltip 229MessageFrame 229Minimap 229Model 230ScrollingMessageFrame 231ScrollFrame 231SimpleHTML 231Slider 232StatusBar 232Summary 233The Code 233Chapter 13 Responding to Game Events 243Underst<strong>and</strong>ing Events 243Registering <strong>for</strong> Events 244Responding to Events with OnEvent 244Query Events 246Tracking Changes to Inventory <strong>for</strong> BagBuddy 246Examining the BAG_UPDATE Event 246Tracking New Inventory Items 246Writing a New Sorting Function 248Altering BagBuddy_Update 248

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!