this:SetFrameLevel(this:GetFrameLevel() + 4);
this:RegisterEvent("VARIABLES_LOADED");
this:SetChecked(YatlasOptions.ShowButton);
if (this:GetChecked()) then
YatlasOptions.ShowButton = true;
else
YatlasOptions.ShowButton = false;
end
YatlasButton_Update(YatlasFrame)
this:SetFrameLevel(this:GetFrameLevel() + 4);
getglobal(this:GetName().."Text"):SetText(YATLAS_OPTIONS_BUTTONPOS);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
YatlasButtonSlider:SetMinMaxValues(0,360);
YatlasButtonSlider:SetValueStep(1);
YatlasButton_SetPosition(YatlasButtonSlider:GetValue())
if(this:IsVisible()) then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(format(YATLAS_OPTIONS_BUTTONPOS_TIP,
YatlasButtonSlider:GetValue()));
end
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(format(YATLAS_OPTIONS_BUTTONPOS_TIP,
YatlasButtonSlider:GetValue()));
GameTooltip:Hide();
this:SetFrameLevel(this:GetFrameLevel() + 4);
getglobal(this:GetName().."Text"):SetText(YATLAS_OPTIONS_ALPHA);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
YatlasAlphaSlider:SetMinMaxValues(.1,1);
YatlasAlphaSlider:SetValueStep(.05);
YatlasFrame:SetAlpha(YatlasAlphaSlider:GetValue());
YatlasOptions.Alpha = YatlasAlphaSlider:GetValue();
this:SetFrameLevel(this:GetFrameLevel() + 4);
getglobal(this:GetName().."Text"):SetText(YATLAS_OPTIONS_ICONSIZE);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
YatlasIconSizeSlider:SetMinMaxValues(8,36);
YatlasIconSizeSlider:SetValueStep(1);
YatlasOptions.Frames.YatlasFrame.IconSize = YatlasIconSizeSlider:GetValue();
YAOverlay_Update(YatlasFrame);
this:SetFrameLevel(this:GetFrameLevel() + 4);
this:RegisterEvent("VARIABLES_LOADED");
this:SetChecked(YatlasOptions.ShowCursorCoords);
if (this:GetChecked()) then
YatlasOptions.ShowCursorCoords = true;
else
YatlasOptions.ShowCursorCoords = false;
YatlasPopoutDataCoordText:SetText("");
end
-- FIXME...this isn't right
this:SetPoint("TOPLEFT","YatlasPopoutFrameHolder","TOPLEFT",0,-4);
this:SetFrameStrata("DIALOG");
this:SetParent(YatlasPopoutFrameHolder);