Originally Posted by haste
As of 4.3, you only need to do StatusBar:SetReverseFill(true) to reverse the direction of the statusbar.
|
That's a little bit different thing,
StatusBar:SetReverseFill(true) will just essentially
mirror your status bar, and what I meant with "Reverse status bars" is that it also changes the way it behaves, i.e. at 100% HP status bar would stay at 0% mark, at 70% HP it would be 30% filled etc. (picture above actually represents it quite well).
The method posted above still works flawlessly @ live realms and should be quite easy to implement in any layout.
Actually I think it can be done a little bit differently using SetReverseFill, but it would require pretty much the same texture manipulations in PostUpdate or Override callbacks. MAYBE it would be a little bit more efficient performance-wise though.