WoWInterface SVN LevelSnap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

LevelSnap/PortfolioRegistration.lua
13,26 → 13,26
id = "LevelSnap";
options = {
{
id = "LS_Active";
text = LS_ENABLED;
tooltipText = LS_HELP_ONOFF;
type = CONTROLTYPE_CHECKBOX;
defaultValue = "1";
id = "LS_Active",
text = LS_ENABLED,
tooltipText = LS_HELP_ONOFF,
type = CONTROLTYPE_CHECKBOX,
defaultValue = "1",
callback = function(value)
LS_Options.Active = value;
end;
};
{
id = "LS_MinLevel";
text = LS_MINIMUM;
tooltipText = LS_HELP_MIN;
type = CONTROLTYPE_SLIDER;
id = "LS_MinLevel",
text = LS_MINIMUM,
tooltipText = LS_HELP_MIN,
type = CONTROLTYPE_SLIDER,
minText = "Min",
maxText = "Max",
defaultValue = LS_Options.MinLevel;
minValue = "1";
maxValue = "80";
valueStep = "1";
defaultValue = LS_Options.MinLevel,
minValue = "1",
maxValue = "80",
valueStep = "1",
callback = function(value)
if (value >= LS_Options.MaxLevel) then
LS_Options.MaxLevel = value;
41,16 → 41,16
end;
};
{
id = "LS_MaxLevel";
text = LS_MAXIMUM;
tooltipText = LS_HELP_MAX;
type = CONTROLTYPE_SLIDER;
id = "LS_MaxLevel",
text = LS_MAXIMUM,
tooltipText = LS_HELP_MAX,
type = CONTROLTYPE_SLIDER,
minText = "Min",
maxText = "Max",
defaultValue = LS_Options.MaxLevel;
minValue = "1";
maxValue = "80";
valueStep = "1";
defaultValue = LS_Options.MaxLevel,
minValue = "1",
maxValue = "80",
valueStep = "1",
callback = function(value)
if (value <= LS_Options.MinLevel) then
LS_Options.MinLevel = value;
59,17 → 59,17
end;
};
{
id = "LS_CloseWindows";
text = LS_CLOSEWIN;
tooltipText = LS_HELP_CLOSEWIN;
type = CONTROLTYPE_CHECKBOX;
defaultValue = "1";
id = "LS_CloseWindows",
text = LS_CLOSEWIN,
tooltipText = LS_HELP_CLOSEWIN,
type = CONTROLTYPE_CHECKBOX,
defaultValue = "1",
callback = function(value)
LS_Options.CloseWindows = value;
end;
};
};
savedVarTable = "LS_Options";
savedVarTable = "LS_Options",
}
 
Portfolio.RegisterOptionSet(optionTable)