Thread Tools Display Modes
07-30-10, 06:56 AM   #1
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 103
Scrolling in a damagemeter

Hello

At the moment, my TinyDPS addon scrolls as follows:

let's say we have 12 bars, but the frame is only 10 bars height. You scroll down with the mousewheel two times, then I will set a variable to 3, meaning when I loop the bars in the update process, the first two bars will not get displayed...

It works pretty well like this now, but I wonder if there is not a more elegant solution that I'm not aware off.

Thanks
  Reply With Quote
07-30-10, 01:25 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
ScrollFrame perhaps? Or maybe a FauxScrollFrame for this purpose.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Scrolling in a damagemeter


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off