View Single Post
06-11-05, 09:16 AM   #29
Beladona
A Molten Giant
 
Beladona's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 539
the problem is that the slider doesn't know what to pass to the texture update, sorry I missed that part..

try this:

Code:
<OnShow>
	this:SetValue(DiivSkinSettings["hbar1"]);
</OnShow>
<OnValueChanged>
	if DiivSkinSettings then
		DiivSkinSettings["hbar1"] = this:GetValue();
		DS_TextureUpdate("hbar1");
	end
</OnValueChanged>
You will have different sliders for each bar I assume, so for each slider you simply need to change the hbar1 to hbar2, hbar3, etc...
  Reply With Quote