ButtonholeAd_OnLoad();
ButtonholeAd_OnEvent();
ButtonholeAd_Method = 0;
ButtonholeAd_UpdateMethodUI();
ButtonholeAd_Method = 1;
ButtonholeAd_UpdateMethodUI();
ButtonholeAd_Method = 2;
ButtonholeAd_UpdateMethodUI();
ButtonholeAd_Method = 3;
ButtonholeAd_UpdateMethodUI();
getglobal(this:GetName().."Text"):SetText("Button Position");
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
this:SetMinMaxValues(0, 360);
this:SetValueStep(1);
this.tooltipText = "Where to put the Buttonhole on the Minimap";
ButtonholeAd_UpdatePosUI();
ButtonholeAd_Pos = this:GetValue();
getglobal(this:GetName().."Text"):SetText("Button Position" .. " - "..this:GetValue().."\194\176");
ButtonholeAd_UpdatePosUI();
BHA_Debug("Setting button position to " .. ButtonholeAd_Pos);